miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

Using bb_special's $userRanks

Page  Page 2 of 2:  « Previous  1  2  
Author Team
#16 | Posted: 6 Jun 2005 22:05 
Set manually any text rank, image rank, any HTML rank in this property.

Author Barely_breaking_Even
#17 | Posted: 11 Jun 2006 05:05 
11 Jun 2006 11:49 - Attached on mergeing:
admin probs

I read a the previous post on how an admin can change ranking. I pasted to code and uploaded the file, but when i search for all my members and go to anyone of them, it still doesn't give me the option of chaninging ranks. So far this is what i did:
Edit bb_specials.php, directly after <? type:


And change $userRanks to:

$userRanks=array(1=>$Ranks[0],2=>$Ranks[1],3=>$Ranks[2], 4=>$Ranks[2],5 =>$Ranks[1],6=>$Ranks[3],7=>$Ranks[4],8=>$Ranks[3],9=>$Ranks[5],10=>$R anks[5]);

Author realitybytes
#18 | Posted: 11 Jun 2006 09:43 | Edited by: realitybytes 
check the manual

What you have posted above is an exampe that will result in user id 1 displaying Rank1 which is Admin by default.

user id 2 displaying Rank2 which is Member by default then so on through your array

Author Barely_breaking_Even
#19 | Posted: 11 Jun 2006 10:12 
i've done that as well, however, what i'm looking for is how to make someone an admin as well as lower ranking.

Author realitybytes
#20 | Posted: 11 Jun 2006 11:06 
There is only one admin account in minibb and that is user id 1 the first user created.

outside of that you have moderators

Author michael1234
#21 | Posted: 2 Jan 2007 17:23 
$userRanks=array(1=>'<img src="./img/smilies/cool.gif" width=15 height=15 border=0 alt="8-)">');

How do you change this for more than one person?

Author Paul
Lead Developer
#22 | Posted: 3 Jan 2007 04:35 
Basically you need to specify user ID. In the example above, 1 is ID for the admin. For example, if I would specify custom rank for myself on these forums, it would look like:

1=>'<img src="./img/smilies/cool.gif" width=15 height=15 border=0 alt="8-)">',
9=>'miniBB Developer'

Author Anonymous
#23 | Posted: 28 Sep 2007 09:29 
Is there a way to assign a gif image to those userranks without having to write several array statements?

1=>'<img src="" width=20 height=20>',
2=>'<img src="" width=20 height=20>',

I have about 300 members I need to do this for. Is this the only way or is there a way to write it as a list of users for example:


then define the icon of choice?


Author Paul
Lead Developer
#24 | Posted: 1 Oct 2007 04:13 
$userRankingGroup=array(1,2,3,4,5...); // <-- list user IDs here which needs to be assigned to the rank

foreach($userRankingGroup as $ug) $userRanks[$ug]='<img src="" width=20 height=20>';

Author 666
#25 | Posted: 23 Oct 2007 16:05 
I have used $userRanks... I created $userRanks2 and it works :D
thx alot paul

Author Prince
#26 | Posted: 17 Aug 2011 02:47 
Is there any limitation for "User Rank" in bb_special.php?

Like how many users can be ranked on it?

Author Paul
Lead Developer
#27 | Posted: 17 Aug 2011 12:02 
There is no limitation - it's up to you, whatever big list you can handle.

Though I'm not sure why this list should be or could be big, if this is only for "selected" users, for special users. Special users are minority ;)

Author Prince
#28 | Posted: 17 Aug 2011 14:55 
for special users. Special users are minority ;)

Because I've moderator for Forums, so I rank them with forums name like: (Mod of "forum name"). and also some users.

Author Paul
Lead Developer
#29 | Posted: 17 Aug 2011 17:05 | Edited by: Paul 
This is not the large list. Sure, $userRanks array can handle it.

Page  Page 2 of 2:  « Previous  1  2 
How To miniBB Support Forums / How To / Using bb_special's $userRanks Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB