Helpful Information
 
 
Category: vBulletin 3.6 Template Modifications
Force Guests To Use One Style

Im using the default skin, This skin is very simple so bots should be able to spider your forum fast using it right? Also if all guests are stuck using the same simple skin there should be less server load right? Invision Power Board lets you choose what usergroups can see what skins. Vbulletin does not so lets fix this!

If you want all visitors/unregistered to be stuck with the same skin follow these steps.

1.Set the simplest skin you have as the default skin in Style and Language options in vbulletin options.

2.admincp>style manager>the skin you want to use>footer

find:

<if condition="$show['quickchooser']">

replace with:

<if condition="is_member_of($bbuserinfo,a,b,c)">

where a,b,c = the usergroup number of the usergroups you do want to see the style chooser.

This will remove the style chooser for unregistered guests and allow only who you want to see it. Best part is that you only have to do it to one skin.

v.nice thanks alot

ok... and how to do the same just for Archive? I want to do that all visitors/unregistered use Archive (http://yoursite/forum/archive/index.php).

I know, that Archive is not style, but I ask you... may be you know how to do this?

Thanks at any way!

nice, thanks for this!

thanks

Good one, Installed:up:

Very nice, thanks!

This can already be done within your admincp, without any modifications.

This can already be done within your admincp, without any modifications.


Enllighten us all on the procedure to do this, blind-eddie.

admincp/styles & templates -click on drop box of all your templates--click edit settings then select no on styles you wish your members not to use, where it says Allow User Selection

Please read the purpose of this hack again...willya?

This hack is not designed to stop everyone from using styles.

I never understood why this is not a standard option in vb..

Clicks Install

That was nice, Thank you.....And I though I would have to delete the other styles!

Thanks for this, very nice!

I used the following condition instead:
<if condition="$show['member']">
It says here (http://www.vbulletin-germany.com/forum/showthread.php?t=24195) (in german) that is_member_of adds a query.

Top mod. thank you "installed"

Perfect, It sought this modification, is very necessary for the administrators.

thanks friend

Installed










privacy (GDPR)