Back to vBulletin 3.0 Add-Ons

Restrict Style Changes To Specific Usergroups
Mod Version: 1.00, by NTLDR

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 15
Released: 18 Jan 2004 Last Update: Never Downloads: 0
Not Supported  

Author: NTLDR
Version: 1.0.0
Requested By: restless (here)
vB Compatibility: vB3 Gamma, RC1, RC2

Description:

This hack will allow you to restrict users ability to change the board style based on there usergroup, usefull for premium members etc. Note, this will mean members not in these groups will only have access to ONE style, the default board one (or a forum specific one).

File Edits:

In global.php find:

PHP Code:
// is style in the forum/thread set?
if ($codestyleid)

Add before (replace X, Y, Z with the a comma seperated list of the usergroupid's that should have access to the styles):

PHP Code:
if (!in_array($bbuserinfo['usergroupid'], array(XYZ))) {
    
$vboptions['allowchangestyles'] = 0;

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024