The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Ok, I set my board to debug=1. Why? The Global Template, of course. Now, I come to the problem of having it accessible in the admin CP, the fact that ANY admin can screw with it, and that it keeps on poping up at top, expanded, and when I "Show All" for any other template set, it also shows all. Now, I want to know how I make the Global Template only veiwable to me and my friend/co-owner, and to make it where it isn't always expanded and doesn't show all when I tell another template set to. Can anyone help me?
|
#2
|
||||
|
||||
![]()
In /admin/global.php, add this code:
Code:
if ($bbuserinfo['userid'] != 1 and $bbuserinfo['userid'] != 2) { unset($debug); } Code:
require("./sessions.php"); |
#3
|
||||
|
||||
![]()
Thanks again, FireFly
![]() Now comes my second issue, where the global template is expanded, and shows all of the templates when I tell another template set to. Basically, I want to treat the global template as any other template, except for the debug thing. |
#4
|
||||
|
||||
![]()
*BUMP*
|
#5
|
||||
|
||||
![]()
/me has to do another bump....
Can someone help me out here? |
#6
|
||||
|
||||
![]()
B-U-M-P
|
#7
|
||||
|
||||
![]()
one last big BuMp
|
#8
|
||||
|
||||
![]()
bUmP BuMpIdY bUmP BuMp
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|