The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi all,
I wondered would it be possible to wrap certain files in the admincp with a userid lookup IE PHP Code:
Cheers Mick |
|
#2
|
||||
|
||||
|
Why not just use the Administrator Permissions to select what each admin has access to?
|
|
#3
|
|||
|
|||
|
Yes you can. It would start after the requires and would look something like this...
Code:
require_once('....');
--- other required files if appliacable --
if($vbulletin->userinfo['userid'] == 1)
{
VBCODE HERE
}else{
YOUR CODE HERE
}
Quote:
I'm not sure it would do the job, but it might be worth a shot. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|