The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a few 3rd party plugins that have seperate menus in the AdminCP. One of the plugins is Inferno RPG Hack. I made one of my moderators an admin and gave him access to the AdminCP but only to the "Can Administer RPG Inferno". When he logs in he can see other sections also (Rules, vbBux/vbPlaza, Announcements, Announcement Manager, Add New Announcement, and Moderation). My question is how to I alter the area's in the AdminCP? I'm guessing the reason why he's able to view them all is because they all have something in common (#, title, or something). Where would I go to edit/organize my AdminCP? Which .php file would I have to alter to do this (if any)? I just want him to have access only to the Inferno RPG Hack. So how do I find out what is included in the "Can Administer RPG Inferno" and how do I alter it? Is it in the DB or a PHP file? And where?
|
#2
|
||||
|
||||
![]()
When a mod needs to add new menu items to the acp, it's done via an xml file you upload to the includes/xml folder - the file being called cpnav_nnnn.xml (nnnn = unique name).
In that xml file each menu group is defined and (optionally) you can set what permissions are needed to view it. e.g. Code:
<navgroup phrase="vbulletin_options" permissions="canadminsettings" hr="true" displayorder="10"> |
#3
|
|||
|
|||
![]()
Ok, new question. How exactly do I add permission? I tried adding
Code:
<navgroup phrase="vbulletin_options" permissions="canadminsettings" hr="true" displayorder="10"> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|