miniBB Support Forums | 15 years on The Web
miniBB ®


 | 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
 Share Topic's Link

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

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.