Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) How To Add More User Levels (Read 21219 times)
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: How To Add More User Levels
Reply #15 - Mar 20th, 2002 at 6:07am
Print Post  
yeah Smiley

i think anyway Wink

another spot is perl uses elsif instead of elseif Roll Eyes

  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
IP Logged
 
Darkened
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 57
Joined: Mar 20th, 2002
Re: How To Add More User Levels
Reply #16 - Mar 20th, 2002 at 6:16am
Print Post  
lol, nag nag nag!!!

anyways bro, it's early morning 6:20am here in UK so i'm gonna get lil shut eye before my mum wakes me up to decorate my friggin room... catchya later sometime, night..
  
Back to top
 
IP Logged
 
flipkid
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Apr 30th, 2002
Re: How To Add More User Levels
Reply #17 - Jun 18th, 2002 at 1:46am
Print Post  
Now that we've added more user levels, and we've made it so
that it shows up in the profile.

How do we make it so that it shows up in the memberlist??
  
Back to top
 
IP Logged
 
dragon
New Member
*
Offline



Posts: 23
Joined: Jun 20th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #18 - Jun 21st, 2002 at 4:31am
Print Post  
Does this mod add more stars (or other rank images) too or is God level and all above that 5 stars?
  

Dragon's Hobbies: www.dragonshobbies.com
Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #19 - Jun 21st, 2002 at 5:29am
Print Post  
you keep gaining stars after God level too
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #20 - Nov 17th, 2003 at 4:13pm
Print Post  
I've reached the point where I could really use the male / female code on my top user level that somebody proposed on page 1 of this thread ... I was wondering, could somebody who knows Perl check it, and if needed, correct it? (As the one who posted it admitted he didn't know Perl.)

My top member groups attend a boys school if they are male, and a girls school if they are female.

Could one of our experts verify this?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #21 - Nov 17th, 2003 at 8:08pm
Print Post  
Code
Select All
if($userprofile{$user}->[11] eq "Female" && $userprofile{$user}->[6] > 500 ) {  
            $memberinfo{$user} = "Hera";  
            $memberstar{$user} = qq~<img src="$imagesdir/star.gif" border="0" alt="*">~;  
      }
elsif($userprofile{$user}->[11] eq "Male" && $userprofile{$user}->[6] > 500 ) {  
            $memberinfo{$user} = "Zeus";  
            $memberstar{$user} = qq~<img src="$imagesdir/star.gif" border="0" alt="*">~;  
      }  



Not tested though.
« Last Edit: Nov 30th, 2003 at 7:31pm by Christer Alexander »  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #22 - Nov 17th, 2003 at 9:35pm
Print Post  
Just checking ... female is in quotes, male is not in quotes ... is this right, or should both or neither be in quotes?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #23 - Nov 30th, 2003 at 7:31pm
Print Post  
Both should
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: How To Add More User Levels
Reply #24 - Nov 30th, 2003 at 7:41pm
Print Post  
Thanks, Christer!

That'll be the next thing I do on my forum!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint