View Full Version : The Wonderful Global Template
Link14716
06-28-2002, 02:59 AM
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?
Admin
06-28-2002, 08:57 AM
In /admin/global.php, add this code:
if ($bbuserinfo['userid'] != 1 and $bbuserinfo['userid'] != 2) {
unset($debug);
}
Right after this:
require("./sessions.php");
Where 1 and 2 are your and your friend's user ID's.
Link14716
06-28-2002, 04:01 PM
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.
Link14716
06-30-2002, 08:04 PM
*BUMP*
Link14716
07-02-2002, 10:08 PM
/me has to do another bump....
Can someone help me out here?
Link14716
07-07-2002, 01:31 AM
B-U-M-P
Link14716
07-24-2002, 08:02 PM
one last big BuMp
Link14716
08-04-2002, 01:00 AM
bUmP BuMpIdY bUmP BuMp
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.