The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
http://www.vbulletin.com/forum/showt...=1#post1987765 Hoping someone can do it. |
#12
|
||||
|
||||
But there's no hook before or within the code snippet that could help you.
PHP Code:
|
#13
|
||||
|
||||
I don''t have time to make this into a plugin but make these edits manually at the class_bootstrap.php file.
Find this code: PHP Code:
And replace it with: PHP Code:
Find this other code: PHP Code:
And replace it with: PHP Code:
In my example I did it so the supermoderator group with the gid 5 can enter the board while being of line. You can replace the gid, 5, with whatever group you want to allow access to the off line board. If you want to allow multiple groups, then separate their id with commas (,). Hope it helps. I might make a mod out of this later on if I will have some free time. |
#14
|
|||
|
|||
the code from @borbole works even on vb 4.2.3, just tested, but the additional usergroup will see the closed board message even if the board is active.
To solve the issue, just edit the board_inactive_warning template from Code:
<div class="forum_disabled">{vb:rawphrase alert_board_off}</div> Code:
<vb:if condition="!$vboptions['bbactive']"> <div class="forum_disabled">{vb:rawphrase alert_board_off}</div> </vb:if> PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|