- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 51 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Help with my header in theme [ ]
Author
Message
iceblox
Sergeant
Joined: Oct 07, 2004
Posts: 83
Posted:
Sun Mar 27, 2005 7:35 am
Hi I am using the XP Theme Pack on my site, but the site i am doing wont require any membership, so i was wondering if anyone knew how or if it was possible for the top left to say how many visitors are online rather than "Login Or Register" ?
This is the part of the theme.php file i need to edit
Code:
echo "</select></td>\n"
."</tr></table>\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#F3F4F7\">\n"
."<tr>\n"
."<td bgcolor=\"#ffffff\" colspan=\"4\"><img src=\"themes/XPMidnight/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
."</tr>\n"
."<tr valign=\"middle\" bgcolor=\"#E0E2EB\">\n"
."<td align=\"left\" valign=\"top\" width=\"8\" height=\"22\"><img src=\"themes/XPMidnight/images/topnav-left.gif\"></td>\n"
."<td width=\"15%\" background=\"themes/XPMidnight/images/topnav-bg.gif\" nowrap><font class=\"content\" color=\"#363636\">\n";
if ($username == "Anonymous") {
echo "<a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> or <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
echo ""._BWEL." $username! | <a href=\"modules.php?name=Your_Account&op=logout\">"._LOGOUT."</a>";
}
echo "</td>\n"
Any help would be appreciated!. . . . .
_________________ Iceblox
The Truth Empire
iceblox
Sergeant
Joined: Oct 07, 2004
Posts: 83
Posted:
Mon Mar 28, 2005 7:51 am
Anyone?
_________________ Iceblox
The Truth Empire
gettopreacherman
Lieutenant
Joined: Jan 13, 2005
Posts: 262
Posted:
Mon Mar 28, 2005 9:16 am
I would find the Visitors block take the code that displays the number of people online and replace it in your header...
iceblox
Sergeant
Joined: Oct 07, 2004
Posts: 83
Posted:
Mon Mar 28, 2005 9:34 am
Yeah I have tried that and it just comes up with errors
_________________ Iceblox
The Truth Empire
gettopreacherman
Lieutenant
Joined: Jan 13, 2005
Posts: 262
Posted:
Mon Mar 28, 2005 10:37 am
Which errors? What errors? it shouldn't.
iceblox
Sergeant
Joined: Oct 07, 2004
Posts: 83
Posted:
Mon Mar 28, 2005 10:48 am
Yeah thats what I though so I went away and tried it and its worked!
So thanks for your inspiration!, i would have just given up otherwise
_________________ Iceblox
The Truth Empire
gettopreacherman
Lieutenant
Joined: Jan 13, 2005
Posts: 262
Posted:
Mon Mar 28, 2005 12:31 pm
No problem dude, no problem.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum