miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Special rankings assigned to the whole group?

 
Author ben
Partaker
#1 · Posted: 21 Jul 2006 17:01
hi all,

I understand the custom titles setup as follows:

$userRanks=array(1=>'Boss', 17=>'Team member', 9=>'Team member');

so ID=>'Title'

my question is, can this be done like the moderation ie:

'Title'=>array(ID1,ID2);

thanks for your time,

-Ben

Author ben
Partaker
#2 · Posted: 21 Jul 2006 17:02
just hit me as I was re-reading my post.

can one subscribe to a thread without posting?

Author tom322
Active Member
#3 · Posted: 21 Jul 2006 18:43
can one subscribe to a thread without posting?
yes -set $EMPTYSUBSCRIBE =TRUE in setup_options.php

Author ben
Partaker
#4 · Posted: 21 Jul 2006 20:35
ah thanks :)

Author Paul
Lead Lead Developer
#5 · Posted: 22 Jul 2006 12:23
Ok, try to insert the code below to bb_specials.php. If you paste before $userRanks, it will override any $userRanks you already have; else vice versa.

/* Group rankings */

$userRanksTitles=array();
$userRanksTitles[1]['title']='Votre titre';
$userRanksTitles[1]['ids']=array(1,9);

/* The same code goes for $userRanksTitles[2]['title'], $userRanksTitles[2]['ids']; $userRanksTitles[3]['title'], $userRanksTitles[3]['ids']; $userRanksTitles[4]['title'], $userRanksTitles[4]['ids'] etc.
*/

if(sizeof($userRanksTitles)>0){
foreach($userRanksTitles as $ut){
foreach($ut['ids'] as $us_id){
$userRanks[$us_id]=$ut['title'];
}
}
}

/* --Group rankings */

Author ben
Partaker
#6 · Posted: 25 Jul 2006 15:37
this worked well, thanks :)

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Special rankings assigned to the whole group?
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Did you know that you may be allowed to hide miniBB credits and remove miniBB's copyright notice?