miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | 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
 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.
↑ TOP