Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
bprsk8r4272
Regular
Regular



Joined: Jan 23, 2007
Posts: 96
Location: Rochester, Ny

PostPosted: Tue Mar 23, 2010 9:36 am Reply with quote

im looking for a not logged in register bar for the top of my site like this one http://www.nukescripts.net/ anyone know where i can get something like that or what to edit.

thanks, bprsk8r4272
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Tue Mar 23, 2010 12:36 pm Reply with quote

create or edit /includes/custom_files/custom_head.php

Put something like:

<?
if (!is_user($_COOKIE[user])) {
echo "<div>Your html message here</div>";
}
?>

Use whatever html you want to for the bar effect.
 
View user's profile Send private message
sixonetonoffun







PostPosted: Tue Mar 23, 2010 1:01 pm Reply with quote

Actually this is better since the user isn't needing real authentification.
<?
if (!isset($_COOKIE[user])) {
echo "<div>Your html message here</div>";
}
?>
 
bprsk8r4272







PostPosted: Tue Mar 23, 2010 2:43 pm Reply with quote

alright thanks i'll try that out
 
bprsk8r4272







PostPosted: Tue Mar 23, 2010 3:18 pm Reply with quote

k i tryed it but it wont let me use the "a href" html code

btw im using phpnuke 7.6 patched 3.5
 
sixonetonoffun







PostPosted: Tue Mar 23, 2010 3:42 pm Reply with quote

You have to use single quotes or escape regular quotes like this
echo "<a href=/"wwwhere/">click</a>";
 
bprsk8r4272







PostPosted: Tue Mar 23, 2010 7:59 pm Reply with quote

ahh i knew i was forgetting something thanks
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©