miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Add / Disable menu item and hide user in stattistic

 
Author Guest
~
#1 | Posted: 11 Apr 2012 18:53 
1. I wont hide menu item "FAQ"
2. How hide some user in stattistic

Author Paul
Lead Developer 
#2 | Posted: 11 Apr 2012 19:02 
1. templates/main_header.html - remove {$l_menu[4]}
2. No easy way, sorry! It's an open board. Needs a heavy re-programming under bb_func_stats.php (actually, I'm not sure why do you want to achieve that...)

Author Guest
~
#3 | Posted: 11 Apr 2012 19:09 
Fhs!!!
hide menu. I wont: If user_ID = 007 then hide menu else ....

MiniBB - the best. Anywhere around are only bells and whistles.

Author Paul
Lead Developer 
#4 | Posted: 12 Apr 2012 12:14 
You have it already. Add to bb_plugins.php

if($user_id==7) $menuItem='HTML hyperlink';
else $menuItem='';
then add {$menuItem} in any template, anywhere you want.

Specific miniBB Support Forums / Specific /
 Add / Disable menu item and hide user in stattistic
 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
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑