You Not Logged In Click Here Script As Seen On Here

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   You Not Logged In Click Here Script As Seen On Here
ko0lio
CZ Newbie
ko0lio has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 20, 2005
0.00 posts per day
Posts: 4
Points: 167
   
hi am looking of the code that says "your not logged in" under the codezwiz header if your not logged in. duh. lol well yeah if you can post it hear id like that. Also i want it be the xp style like one used on here its yellow wit the "!" mark in the yellow sheild.So yea please post it i run phpnuke b.w



Back to top Reply with quote
#2   re: You Not Logged In Click Here Script As Seen On Here
ko0lio
CZ Newbie
ko0lio has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 20, 2005
0.00 posts per day
Posts: 4
Points: 167
   
can any one help? its just the yellow bar that appears on this site when your not logged in...its on the homepage i just wanted that code for my site



Back to top Reply with quote
#3   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
I actually found this over at [ Register or login to view links on this board. ] I was trying to refer you to the post but I cant find it.

Add this where you want the sitebar:


global $user, $name;
if (!is_user($user) AND $name != "Your_Account") {
   echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
   echo "<tr>\n";
   echo "<td>\n";
   echo "<div id=\"sitebar\"><a href=\"modules.php?name=Your_Account&amp;op=new_user\">You are not logged in. Please log in. If you have not registered, please click here.</a>\n";
   echo "<embed src=\"sounds/sitebar.wav\" autostart=\"true\" loop=\"0\" hidden=\"true\"></embed>\n";
   echo "</div>\n";
   echo "</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
   echo "<br />\n";
}


Then you have to add this into your stylesheet for each theme:


#sitebar {
   FONT: message-box;
   OVERFLOW: hidden;
}

#sitebar a, #sitebar a:link, #sitebar a:visited, #sitebar a:active {
      MARGIN: 0px 0px 0px 0px;
   DISPLAY: block;
   FLOAT: left;
   CLEAR: both;
   WIDTH: 100%;
   COLOR: InfoText;
   BACKGROUND: InfoBackground url(../../../images/warn1.gif) no-repeat fixed .3em .3em;
   PADDING: .45em .3em .45em 2em;
   BORDER-BOTTOM: .16em outset;
   TEXT-DECORATION: none;
   CURSOR: default;
}

#sitebar a:hover {
   COLOR: HighlightText;
   BACKGROUND: Highlight url(../../../images/warn2.gif) no-repeat fixed .3em .3em;
   CURSOR: hand;
}

#viewplot {
   WIDTH: 100%;
   HEIGHT: expression(this.parentNode.offsetHeight - this.offsetTop);
   OVERFLOW-X: hidden;
   OVERFLOW-Y: scroll;
   PADDING: 1em;   /* Please set this to the value as that of your <body> */
}


Upload these two images to your nuke_root/images and also make a folder called sounds in your nuke_root and upload the wav file to it.



warn2.gif
 Description:
N/A
 Filesize:  631 Bytes
 Viewed:  25418 Time(s)

warn2.gif



warn1.gif
 Description:
N/A
 Filesize:  630 Bytes
 Viewed:  25418 Time(s)

warn1.gif


Attached Files
sounds.zip (18.35 KB, Downloaded: 5234 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
So give us the link to the site so we can see it. icon_smile.gif




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
yanger
CZ Super Newbie
yanger has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Apr 27, 2006
0.00 posts per day
Posts: 33
Points: 918
   
Dear Telli please help... i tried adding it to my site too but can't do it.

I am using phpnuke 7.6 and i want to add it in the same place as in the site here.

I tried adding the codes in my theme header.html but it does not work.

i also tried adding the codes in my theme.php but still does not work...

Please help.



Back to top Reply with quote
#6   re: You Not Logged In Click Here Script As Seen On Here
ANTH
CZ Super Newbie
ANTH has been a member for over 19 year's 19 Year Member
uk.gif
Age: 45
Gender: Male
Fav. Sports Team: Liverpool
Website:
Status: Offline
Joined: Apr 17, 2005
0.01 posts per day
Posts: 54
Points: 3,103
  MSN Messenger 
Hmm works fine for me apart from in internet explorer I get a popup box saying "Click to run an ActiveX Control on this webpage" but on your site I dont get that.

Also within firefox it kocks my banner on the left side out of place when scrolling up and down.

Ive took it off for now if you can help me ive attached my header.



Attached Files
header.rar (1.15 KB, Downloaded: 5236 Time(s))


Back to top Reply with quote
#7   re: You Not Logged In Click Here Script As Seen On Here
xGSTQ
CZ Super Newbie
 Codezwiz Site Donator
xGSTQ has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Website:
Status: Offline
Joined: Sep 07, 2005
0.01 posts per day
Posts: 56
Points: 4,428
   
Awsome i seemed to get it working, i added it to my theme.php in the function themeheader() { as my header is html and not .php

other than that it was rather straight foward !! awsome little add on !!
[ Register or login to view links on this board. ] icon_mrgreen.gif



Back to top Reply with quote
#8   re: You Not Logged In Click Here Script As Seen On Here
ANTH
CZ Super Newbie
ANTH has been a member for over 19 year's 19 Year Member
uk.gif
Age: 45
Gender: Male
Fav. Sports Team: Liverpool
Website:
Status: Offline
Joined: Apr 17, 2005
0.01 posts per day
Posts: 54
Points: 3,103
  MSN Messenger 
Tried it in there but the same thing happens as in my previous post icon_cry.gif



Back to top Reply with quote
#9   re: You Not Logged In Click Here Script As Seen On Here
xGSTQ
CZ Super Newbie
 Codezwiz Site Donator
xGSTQ has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Website:
Status: Offline
Joined: Sep 07, 2005
0.01 posts per day
Posts: 56
Points: 4,428
   
well im no expert at coding blind !! but there is no harm in trying !!

see if this works



Attached Files
header1.rar (1.15 KB, Downloaded: 5235 Time(s))


Back to top Reply with quote
#10   re: You Not Logged In Click Here Script As Seen On Here
ANTH
CZ Super Newbie
ANTH has been a member for over 19 year's 19 Year Member
uk.gif
Age: 45
Gender: Male
Fav. Sports Team: Liverpool
Website:
Status: Offline
Joined: Apr 17, 2005
0.01 posts per day
Posts: 54
Points: 3,103
  MSN Messenger 
Thanks didnt work though, I can position it exactly where I want it but on ie6 the activex box pops up eveytime you are on my home and on firefox it seems to move part of my banner up when scrolling down then up strange.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum