View Full Version : Mods seeing closed boards?
etones
10-19-2002, 12:26 PM
Hi all, i'll be performing alot of changes to my forum soon and i'll be closing it to public viewing. However is there anyway to allow my mods to be able to see the board as i'lll need help testing...
Cheers,
Taz
etones
10-19-2002, 03:31 PM
anyone there at all?
2 X Viverridae
10-19-2002, 05:47 PM
Close your board in the admin panel - it can still be viewed by your mods/admins.
Chris M
10-19-2002, 06:03 PM
Nope...
It can only be viewed by your Admins...
I believe there is a way, but I dont know how...:(
Satan
Dean C
10-20-2002, 08:30 AM
its coded in global.php i think... dont quote me on it tho ..
cuz it may be in functions.php
- miSt
etones
10-20-2002, 08:43 AM
well, i promoted my mods to admins for the duration of the testing.
Cheers anyone all,
Taz
Chris M
10-20-2002, 10:11 AM
Erm...That isnt wise;)
Satan
etones
10-20-2002, 10:18 AM
it is when u trust your mods :)
Regards
Chris M
10-20-2002, 10:51 AM
Ok:)
But if you want to know how to allow mods, just ask as I found out;)
Satan
etones
10-20-2002, 11:11 AM
Satan.... please tell :)
Cheers,
Taz
Chris M
10-20-2002, 11:17 AM
Ok:)
Open up global.php (root folder)
Find :
// check that board is active - if not admin, then display error
if (!$bbactive) {
if (!$permissions['cancontrolpanel']) {
eval("standarderror(\"".str_replace("\'", "'", addslashes($bbclosedreason))."\");");
exit;
}
}
Replace with :
// check that board is active - if not admin, then display error
if (!$bbactive) {
if (!$permissions['cancontrolpanel'] or !$permissions['ismoderator'] or $bbuserinfo['usergroupid']!=7) {
eval("standarderror(\"".str_replace("\'", "'", addslashes($bbclosedreason))."\");");
exit;
}
}
:)
That should work...:) If not, change the "or" s in the :
if (!$permissions['cancontrolpanel'] or !$permissions['ismoderator'] or $bbuserinfo['usergroupid']!=7) {
to "and":)
Satan
Yeah.. I posted the same think like 8 months ago or so.. Funny
Chris M
10-20-2002, 12:31 PM
Really...Thats cool:)
Satan
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.