Allow other usergrups to access forum when disabled...
This hack will allow you to choose extra usergroups to access the forums when they have been disabled.
This could be useful if, say you wanted to let Super Moderators access when disabled, or maybe when you first make the forum, a small group of testers... I don't know if this will be used, but it could come in useful THIS REQUIRES CODE CHANGES!! Due to the lack of a hook at the location I need, you will have to edit the code of the file: Code:
/includes/class_bootstrap.php Find the following line: Code:
// check that board is active - if not admin, then display error Delete all the code until you reach the lines that read: Code:
// ############################################################################# // password expiry system Replace it with this: Code:
// ############################################################ // ################## CODE MODIFICATIONS ###################### // ############################################################ require_once(dirname(__FILE__).'/gaccess.php'); } Now, download the zip file below, and upload the file 'gaccess.php' to the /includes directory. Once that is done, import the XML file as a product. You can then configure the usergroups you want to have access in: Settings --> Options --> Turn your vbulletin on and off --> The new option at the bottom LIKE I SAID, MAKE SURE YOU BACKUP THAT FILE BEFORE EDITING!! Any issues, PM me or reply to this thread Download
liamwli-aoutacwd.zip (1.9 KB, 30 downloads) |
Similar Mods
Miscellaneous Hacks Usergroups Access to Disabled Forum | vBulletin 4.x Add-ons |