miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | 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 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