PDA

View Full Version : Force Guests To Use One Style


ninjashoes
10-19-2006, 10:00 PM
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.

ChavMagnet
10-20-2006, 08:31 PM
v.nice thanks alot

4yBak
10-22-2006, 03:06 PM
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!

mattyk72
10-26-2006, 03:11 PM
nice, thanks for this!

AMG021
12-14-2006, 12:00 AM
thanks

The dman
12-14-2006, 10:54 AM
Good one, Installed:up:

Bison
12-22-2006, 11:53 PM
Very nice, thanks!

blind-eddie
12-23-2006, 12:54 AM
This can already be done within your admincp, without any modifications.

Bison
12-23-2006, 01:51 AM
This can already be done within your admincp, without any modifications.


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

blind-eddie
12-23-2006, 02:28 AM
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

Bison
12-23-2006, 01:24 PM
Please read the purpose of this hack again...willya?

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

RaceJunkie
12-27-2006, 10:51 PM
I never understood why this is not a standard option in vb..

Clicks Install

Exclusive Group
01-05-2007, 05:51 AM
That was nice, Thank you.....And I though I would have to delete the other styles!

stomph
01-26-2007, 03:27 AM
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.

madotds
10-20-2007, 03:10 PM
Top mod. thank you "installed"

yeku
10-20-2007, 06:28 PM
Perfect, It sought this modification, is very necessary for the administrators.

thanks friend

Installed