CZ User Info Block

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
Silverfox
CZ Super Newbie
 Codezwiz Site Donator
canada.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Aug 27, 2003
0.00 posts per day
Posts: 31
Points: 9,271
   
Nope, I just get a parse error for that line once I take out the _ .

Cheers



Back to top Reply with quote
#2   
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,440
   
Change your filtering system from

if (($session[uname] == Sam Spade) or ($session[uname] == sam spade))


to

if (($user_id == 2))


Change the 2 to your user id #.

Telli



_________________
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
#3   
Silverfox
CZ Super Newbie
 Codezwiz Site Donator
canada.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Aug 27, 2003
0.00 posts per day
Posts: 31
Points: 9,271
   
That did the trick. See I told you that you could figure it out. icon_wink.gif

Well done

Cheers



Back to top Reply with quote
#4   
19delta
CZ Super Newbie
19delta has been a member for over 20 year's 20 Year Member
Occupation: Military Police Officer
Gender: Male
Website:
Status: Offline
Joined: Jan 04, 2004
0.01 posts per day
Posts: 74
Points: 18,002
 Yahoo Messenger MSN Messenger ICQ Number


Originally posted by Telli:

Open the CZUser_Info.php and look for this:

around line 54

/Filtering Administrator add more admin names if needed
   if (($session[uname] == XXXXX) or ($session[uname] == xxxxx))  {
                  $who_online_now .= "<br>$zi.<a href=\"messages-post-.html$user_id\"><img src=\"images/CZUser/pm.gif\" width=\"18\" height=\"10\" border=\"0\" ALT=\"Send a Private Message to $session[uname] \"></a> ;<A HREF=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$session[uname]\">$session[uname]</a> ;<img src=\"images/CZUser/admin.gif\">\n";
                  }


Change the first XXXXX to your name in CAPS the second xxxxx to your name in small letters.

Telli

I get this error

Parse error: parse error in /home/soldier/public_html/public/html/blocks/block-CZUser-Info.php on line 55

heres wher i put my name:

//Filtering Administrator add more admin names if needed
if (($session[uname] == 19DELTA) or ($session[uname] == 19delta)) {
$who_online_now .= "<br>$zi.<a


Back to top Reply with quote
#5   
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,440
   
Did you try using the remedy above?




_________________
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
#6   
19delta
CZ Super Newbie
19delta has been a member for over 20 year's 20 Year Member
Occupation: Military Police Officer
Gender: Male
Website:
Status: Offline
Joined: Jan 04, 2004
0.01 posts per day
Posts: 74
Points: 18,002
 Yahoo Messenger MSN Messenger ICQ Number
which remedy? I added my name in caps and lower case and i get that line 55 error, that is all i did so far.



Back to top Reply with quote
#7   
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,440
   
Try replacing the :

if (($session[uname] == XXXXX) or ($session[uname] ==xxxxx))


with:

if (($user_id == 2))


Where the #2 represents your user #. If #2 isnt your user # then change it to yours.



_________________
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
#8   
19delta
CZ Super Newbie
19delta has been a member for over 20 year's 20 Year Member
Occupation: Military Police Officer
Gender: Male
Website:
Status: Offline
Joined: Jan 04, 2004
0.01 posts per day
Posts: 74
Points: 18,002
 Yahoo Messenger MSN Messenger ICQ Number
that worked great, will i have to modify the code for moderators? and do i also have to change the color code or will it do it automatically? ! other thing what did you or do you use for your link to the administrator/moderator page you made. I take it that its part of your forums? I'm running phpBB 2.0.5 port by NukeCops for my forums. I wanted to create a similiar page to list my admins, etc.



Back to top Reply with quote
#9   
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,440
   
Its a mod in the downloads [ Register or login to view links on this board. ]

Then i just use the image as a hyperlink to it.




_________________
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
#10   
19delta
CZ Super Newbie
19delta has been a member for over 20 year's 20 Year Member
Occupation: Military Police Officer
Gender: Male
Website:
Status: Offline
Joined: Jan 04, 2004
0.01 posts per day
Posts: 74
Points: 18,002
 Yahoo Messenger MSN Messenger ICQ Number
can you give me the code to link the page through my userblock?



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