You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 63 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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
iceblox
Sergeant
Sergeant


Joined: Oct 07, 2004
Posts: 83


PostPosted: Sun Mar 27, 2005 7:35 am Reply with quoteBack to top

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
Find all posts by icebloxView user's profileSend private message
iceblox
Sergeant
Sergeant


Joined: Oct 07, 2004
Posts: 83


PostPosted: Mon Mar 28, 2005 7:51 am Reply with quoteBack to top

Anyone?

_________________
Iceblox
The Truth Empire
Find all posts by icebloxView user's profileSend private message
gettopreacherman
Lieutenant
Lieutenant


Joined: Jan 13, 2005
Posts: 262


PostPosted: Mon Mar 28, 2005 9:16 am Reply with quoteBack to top

I would find the Visitors block take the code that displays the number of people online and replace it in your header...Smile
Find all posts by gettopreachermanView user's profileSend private message
iceblox
Sergeant
Sergeant


Joined: Oct 07, 2004
Posts: 83


PostPosted: Mon Mar 28, 2005 9:34 am Reply with quoteBack to top

Yeah I have tried that and it just comes up with errors

_________________
Iceblox
The Truth Empire
Find all posts by icebloxView user's profileSend private message
gettopreacherman
Lieutenant
Lieutenant


Joined: Jan 13, 2005
Posts: 262


PostPosted: Mon Mar 28, 2005 10:37 am Reply with quoteBack to top

Which errors? What errors? it shouldn't.
Find all posts by gettopreachermanView user's profileSend private message
iceblox
Sergeant
Sergeant


Joined: Oct 07, 2004
Posts: 83


PostPosted: Mon Mar 28, 2005 10:48 am Reply with quoteBack to top

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


Twisted Evil

_________________
Iceblox
The Truth Empire
Find all posts by icebloxView user's profileSend private message
gettopreacherman
Lieutenant
Lieutenant


Joined: Jan 13, 2005
Posts: 262


PostPosted: Mon Mar 28, 2005 12:31 pm Reply with quoteBack to top

No problem dude, no problem.
Find all posts by gettopreachermanView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.193 Seconds - 210 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::