View Full Version : Restrict theme selection to certain usergroups?
Noctavia
06-07-2009, 10:42 PM
Is there a mode out there that would allow me to restrict the ability to choose themes to certain user groups? Say for example I had a paid membership option, can I restrict the ability to select themes just to those members?
HMBeaty
06-07-2009, 11:10 PM
In your footer, find:
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
And around that, add:
<if condition="is_member_of($vbulletin->userinfo, x)"></if>
And replace x with the usergroup(s) that you want to allow to change the styles
harlita
09-07-2009, 02:00 AM
Certainly there should be some way to set themes by Usergroup.
It would seem that you should be able to do that by now but as of 3.8.x
You can set themes by forum and usergroups to forum, seems logical you can technically do it based on usergroups... Anyone know if anyone has written the hack for it then?
@RedLineMotorSports - I appreciate your information however. It does answer what I think Noctavia was asking for, but I guess I'm looking for the obvious method which would be to set theme selction by usergroup.
In otherwords, if you want that Raiders theme, you are part of the Raiders Usergroup. If you want that adult natured theme, you are a part of the adult usergroup. If you want to be able to use that super-awesome super theme, you have to be a member of the super-aweaome zomg usergroup.
etc.
ideas? should I offer to pay for a hack in this case?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.