View Full Version : Administrative and Maintenance Tools - View Offline Board Usergroup Permissions
Selven
01-19-2007, 10:00 PM
This mod allows administrators to decide which user group(s) can view the board while offline (disabled).
(Works with custom user groups as well.)
This is an updated version of Mephisteus's Mod (https://vborg.vbsupport.ru/showthread.php?t=114783).
Installation consists of:
1) Simple Code Modification (In Instructions.txt within the attached zip.)
2) Simple Product Installation (XML is within the attached zip.)
Distance
01-20-2007, 11:53 AM
Although i dont need to use this now, i have needed somethign like this in the past
Nice work
Surviver
01-20-2007, 03:36 PM
Why a Code Modification. I saw a hack which didnt need a code Modification.
Greetings Surviver
Snake
01-20-2007, 05:34 PM
Thanks for this. Might come in handy.
EnIgMa1234
01-20-2007, 08:37 PM
thanks. nice mod
fattony69
03-10-2009, 01:17 AM
Does this work for 3.8.1?
KevinGupta
05-15-2009, 03:30 PM
Does this work for 3.8.1?
I dont think it will work in 3.8.x ... because in global.php there is nothing ..
Selven asked for this code...
if (!$vbulletin->options['bbactive'] AND THIS_SCRIPT != 'login')
{
if (!($permissions['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
but the closest thing which I could find in 3.8.x global.php is
if (!$vbulletin->options['bbactive'] AND THIS_SCRIPT != 'login')
{
if (!($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
but not sure.. what to do now..? LOL
This mod in vB 3.8.x would be just wonderful!
Davidx3
07-06-2009, 02:08 PM
I want this on v3.8.x (or v.3.8.2), so the same as the guy above.
Project Boredom
07-06-2009, 08:09 PM
that's weird...i just installed it and it worked fine for me. i'm running on 3.8.2 i just found the codes and replaced them like he said :/
Mecho
07-16-2009, 06:30 AM
for Version 3.8.X :
in Global.php :
find :
if (!$vbulletin->options['bbactive'] AND THIS_SCRIPT != 'login')
{
if (!($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
Replace With:
if (!$vbulletin->options['bbactive'] AND THIS_SCRIPT != 'login')
{
$viewdisabledboard = explode(",", $vbulletin->options["viewdisabledboard"]);
if (!($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) AND !is_member_of($vbulletin->userinfo, $viewdisabledboard))
Works Fine .
Thanks
princeedward
08-28-2009, 06:40 PM
nice thing and to use during board sweeping the area or general cleaning...or total renovations...
thanks for this...
:p
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.