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

User Activity setting

Author Danny2000
#1 | Posted: 14 Apr 2006 17:05 | Edited by: Danny2000 
I don't want my moderators to be able to change user activity.
How can I remove the member option in user info page for my moderators?

Author Team
#2 | Posted: 14 Apr 2006 17:14 
Edit bb_func_usernfo.php and find the line

if(($user_id==1 or $isMod==1) and $user!=1 and isset($_GET['activity']) and ($_GET['activity']==1 or $_GET['activity']==0))

change it so it lists only one condition:

if($user_id==1 and $user!=1 and isset($_GET['activity']) and ($_GET['activity']==1 or ... etc.

Author Danny2000
#3 | Posted: 14 Apr 2006 19:37 
Thanks Team
you are the best ;-)

How To miniBB Support Forums / How To / User Activity setting 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
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB