miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Specific
/
Menu changes based on User
Nikoli
Registered
#1
|
Posted: 11 Apr 2009 00:01
This is more of a "nice to have"...
Is it possible to add additional menu items on the top main menu for say the Admin or Moderators, such that they only show if logged in as Admin? Or maybe this would be simpler buy customizing the Admin Panel?
Thanks,
Nikoli
Paul
CEO
#2
|
Posted: 13 Apr 2009 03:52
|
Edited by: Paul
Answering your question: of course, that's possible.
In bb_plugins.php, you must define some variables by the condition if($user_id==1 or $isMod==1) {...} Then such vars may be pasted in the heading template, and will appear only when the condition works.
Nikoli
Registered
#3
|
Posted: 14 Apr 2009 00:14
Thanks Paul.
I will give it a try.
Nikoli
miniBB Support Forums
/
Specific
/ Menu changes based on User
↑
Top
Your Reply
Short link for this topic:
?
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.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Did you know that you may be allowed to hide miniBB credits
and
remove miniBB's copyright notice
?