vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Force Guests To Use One Style (https://vborg.vbsupport.ru/showthread.php?t=129507)

ninjashoes 10-19-2006 10:00 PM

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:
Code:

<if condition="$show['quickchooser']">
replace with:
Code:

<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

Quote:

Originally Posted by blind-eddie (Post 1143760)
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


All times are GMT. The time now is 10:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01072 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete