Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Allow other usergrups to access forum when disabled... Details »
Allow other usergrups to access forum when disabled...
Mod Version: 1.00, by liamwli (Coder) liamwli is offline
Developer Last Online: Dec 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (2 votes - 5.00 average) Installs: 10
Released: 02 Sep 2012 Last Update: Never Downloads: 20
Not Supported Code Changes Additional Files  

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BACKUP THAT FILE FIRST!!

Find the following line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then find the first { symbol.

Delete all the code until you reach the lines that read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Make sure you keep those lines and the first {!!

Replace it with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Once that is done, save the file....

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 Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Usergroups Access to Disabled Forum ForumsMods vBulletin 4.x Add-ons 3 05 Oct 2016 07:53

Comments
  #2  
Old 02 Sep 2012, 17:52
liamwli liamwli is offline
 
Join Date: May 2012
Reserverd
Reply With Quote
  #3  
Old 02 Sep 2012, 21:29
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
You can use the global_bootstrap_init_complete hook to do this with a mod.
__________________
My mods.
Reply With Quote
  #4  
Old 01 Dec 2012, 08:28
inshajeex inshajeex is offline
 
Join Date: Aug 2010
working nice!!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:28.

Layout Options | Width: Wide Color: