GetDotted Domains

Viewing Thread:
"Machie would like a php poll please"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 15/11/07 at 12:39
Regular
Posts: 19,415
I'm back! I hope you're all doing well. =)

It's time I finished my website! So if it's okay I'd like to post some questions in this thread and as always would greatly appreciate any help/input. ^^

To keep Hmmm happy and to not waste valuable knowledge, I'd like to repost any information that would be useful to other webmasters on Freeola.

I can't guarantee anything, but any help deemed extremely useful might win you a GAD. ;)

Completed Questions

none :(

New Questions

1) Using TITLE for links
We've all used ALT before for images but I've never used TITLE before for links. Should I be using them? I heard it helps search engines but you shouldn't really use it on every link. I notice Freeola doesn't use them.

2) Linking your own pages
I read on Digg the other day that search engines were going to get tough on duplicate content. It talked about how you do links on your sites and that search engines would see these URLs (see below) as different sites when obviously they are the same page.

http://www.freeola.com/chat/index.html
http://www.freeola.com/chat/
http://freeola.com/chat/


I noticed I've been doing this on my site. So how should I be doing my links? Also for my navigation I just use the even more simple URL.. "/chat/", "/forum/" etc, should I change them and use the full URL instead?

3) Switching to em
I decided to switch to em after all. Something about IE not letting pixel sizes resize which I suppose is a bit unfair to the user who'd like some control. I brought this up before but it seemed complicated.

At the moment I have font-size: 62.5%; for the body tag. Which is about 10px? So 1em is 10px and 1.2em is 12px. As 10px is too small I have to change the size in the other tags (h1, h2, p etc). So am I doing it right? Also I don't understand this bit about the heading tags wanting to be 12px. So 2em is 24px.

Another thing, the website said browser default text size is 12px (or was it 14? I forget) but for my FireFox it seems to be 16 (and normal size to me). So I'm a little worried using em and having less control might make my text look smaller on other peoples machines.

And finally if I use em, do I have to stop using px when I set margin and padding values? I notice some people use em to do this.

4) Keeping your CSS clean
I've been cleaning my CSS file lately and it looks less cluttered and easily manageable. My site is made up of several different areas and each one has many different css elements.

Obviously I don't want to put all of them into one CSS file so what would you suggest? I suppose I could have a different CSS file for each area of my site (content-area1.css, content-area2.css), or I could have a CSS file that imports the global setting CSS file and either of the area CSS files. How would I make one? Is it as simple as..

@import url('global-settings.css');
@import url('area1.css');


Actually, ignore the first option, it would involve me having to edit all CSS files just to change one global setting.
Wed 28/11/07 at 17:52
Moderator
"Are you sure?"
Posts: 5,000
So Machie,
Have 'we' managed to answer any of your queries yet?
You still have "Completed Questions: None"...



Search Freeola Chat
Wed 21/11/07 at 00:25
Regular
Posts: 19,415
Cheers cjh. =)

Oops that file looks really daunting, maybe I'll leave it as tables and just try and make it look nice. =S
Wed 21/11/07 at 00:18
Regular
"It goes so quickly"
Posts: 4,083
I'd say after the <!DOCTYPE ... >, and within the <body> element.
Wed 21/11/07 at 00:13
Regular
Posts: 19,415
cjh wrote:
> Looks like polls.php is the file you'll need to alter.

Ah thank you very much cjh ^^ I'll have a tinker at it now and see if it works.

Oh one more question, do I add <?php $_REQUEST['poll'] = [B]2[/B];
> include("polls.php"); ?>
right at the top before this...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/ xhtml1/DTD/xhtml1-strict.dtd">
Tue 20/11/07 at 23:58
Regular
"It goes so quickly"
Posts: 4,083
Looks like polls.php is the file you'll need to alter.
Tue 20/11/07 at 23:46
Regular
Posts: 19,415
Yep that's the one cjh. So far it looks very promising. It just needs a big makeover.
Tue 20/11/07 at 23:44
Regular
Posts: 19,415
Hurray it's working on my page =D but now I need to change the way it looks. If one of you has the script downloaded, could you possibly tell me which file I need to edit? I want to get change the default layout.

edit: I can change the images and the css, I just want to stop it from using tables.
Tue 20/11/07 at 23:38
Regular
"It goes so quickly"
Posts: 4,083
Looks like:

To include the newest poll:
<?php include("polls.php"); ?>

To include a specific poll:
<?php $_REQUEST['poll'] = [B]2[/B]; include("polls.php"); ?>
... where [B]2[/B] is the poll ID.
Tue 20/11/07 at 23:24
Regular
Posts: 19,415
Oops I missed that :D I just saw User Guide and went with that. Thanks cjh and Garin, I'll give it a try.
Tue 20/11/07 at 23:20
Regular
"Devil in disguise"
Posts: 3,151
Machie wrote:
> The
> only problem is I've no idea how I implement it to one of my
> pages.

Follow the instructions in the Readme.txt :P

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Great services and friendly support
I have been a subscriber to your service for more than 9 yrs. I have got at least 12 other people to sign up to Freeola. This is due to the great services offered and the responsive friendly support.
Everybody thinks I am an IT genius...
Nothing but admiration. I have been complimented on the church site that I manage through you and everybody thinks I am an IT genius. Your support is unquestionably outstanding.
Brian

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.