CZ user info block question

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZ user info block question
LordMaximus
CZ Super Newbie
 Codezwiz Site Donator
LordMaximus has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 18, 2004
0.01 posts per day
Posts: 60
Points: 5,643
   
How can I add more than 10 staff. If I add more then 10 I get an error.
I made some changes but they failed.


Oh yeah and How do you use the point system. Does it have to be turned on somewhere? I like the point thing.


TIA



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,430
   
You can add as many as you want to add.

//Filtering Administrator add more admin names if needed
   if (($session[uname] == XXXXX) or ($session[uname] == xxxxx))  {
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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";
                  }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }

//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }

//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
//Filtering Staff 1 add more admin names if needed
   elseif (($session[uname] == XXXXX) or ($session[uname] == xxxxx)){
                  $who_online_now .= "<br>$zi.<a href=\"modules.php?name=Private_Messages&mode=post&u=$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/staff.gif\">\n";         
            }
else {


Then the rest of the block follows theres 15 if you need more just duplicate the

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


Change the staff.gif to admin.gif or vice versa.

The points sytem in 7.0 is allready on you just have to configure it. admn>user groups scroll down you will see the points.



_________________
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   re: CZ user info block question
LordMaximus
CZ Super Newbie
 Codezwiz Site Donator
LordMaximus has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 18, 2004
0.01 posts per day
Posts: 60
Points: 5,643
   
Thats what I thought but when I add more then 10 I get an error...I will try it again this eve and let you know the outcome.

Thanks for your help...I'm still not up on the points....Is there any documentation on user groups and points?



Back to top Reply with quote
#4   re: CZ user info block question
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
not sure about the documentation on the user groups but I did see some about the "points" system in [ Register or login to view links on this board. ] or was it [ Register or login to view links on this board. ] ...hmmmm lol either of the 2 should get you what your looking for


taut



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