Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Restrict Style to Usergroup Details »»
Restrict Style to Usergroup
Version: 1.0.4, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.0 Rating:
Released: 09-08-2005 Last Update: 05-28-2012 Installs: 274
DB Changes Uses Plugins
 
No support by the author.

Restrict Style to Usergroup(s)

Description
This Hack allows you to restrict styles to certain usergroups.

Details
1 Product XML (4 Plugins, 1 Phrase).

Screenshot (from the 3.0 Version; very similar): https://vborg.vbsupport.ru/attachmen...chmentid=26703

History
1.0.0
Initial Version

1.0.1
Slight Bugfix regarding secondary Usergroups not working properly

1.0.2
Converted to a Product; no more file edits necessary

1.0.3
Fixed a Bug that caused this Hack to not work at all

1.0.4
Compatibility Update for vBulletin 4.1.11+

Compatibility
This Add-on is compatible with vBulletin 3.5.X, 3.6.X, 3.7.X, 3.8.X, 4.0.X, 4.1.X and 4.2.0

Attention: This Hack does not work with Show Users using Style in Style Chooser

Download Now

File Type: zip restrictstyles.zip (1.5 KB, 1723 views)
File Type: xml product-restrictstyles.xml (3.2 KB, 311 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
dartho, ka81, lange

Comments
  #102  
Old 02-01-2009, 10:08 AM
jazde86's Avatar
jazde86 jazde86 is offline
 
Join Date: Mar 2006
Location: Deutschland
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, not working with vB 3.8 - any chance to get it working with the Show Users using Style in Style Chooser Add-on?
Reply With Quote
  #103  
Old 02-01-2009, 11:14 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Show Users using Style in Style Chooser is crap and should not be used at all.
Reply With Quote
  #104  
Old 03-14-2009, 03:15 PM
Rene Kriest Rene Kriest is offline
 
Join Date: Jun 2008
Location: Germany ./. Reality
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas View Post
Show Users using Style in Style Chooser is crap and should not be used at all.
ROFL!

Any insights why you call your own product a pile of sh1at?
Reply With Quote
  #105  
Old 03-16-2009, 04:40 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because it is
Reply With Quote
  #106  
Old 05-26-2009, 04:57 AM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you great mods!
Reply With Quote
  #107  
Old 09-14-2009, 05:00 PM
Keesa Keesa is offline
 
Join Date: Oct 2007
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not understand how this is supposed to work. I have restricted one style so only certain usergroups can use it, but it still shows to unregistered users.

Hmmmmmmm.
Reply With Quote
  #108  
Old 11-28-2009, 07:16 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works with vBulletin v4.0.0 Beta 3 and 4

It is bloody amazing, this hack has been working faithfully for me since v3.5.x (over 4 years ago), which is why this my favourite hack
Reply With Quote
  #109  
Old 12-26-2009, 07:43 PM
Big Kahuna's Avatar
Big Kahuna Big Kahuna is offline
 
Join Date: Feb 2002
Location: SE Texas
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just what I was looking for. over the last 8 years I've developed about ten styles -- and every time I'd delete one I thought wasn't being used -- everyone screamed. I use this hack so that the non-paying members get the default style -- while the premium members get their choice of a dozen or so.
Reply With Quote
  #110  
Old 04-07-2010, 10:13 AM
nefarious nefarious is offline
 
Join Date: Jan 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed and running so that premium members can use the mobile skin... and it appears to work on most devices, but some Blackberry users can't even see the quick chooser and when given the direct URL to change the skin they are still reverted back to the default skin.

Anyone encountered this or can think of a way for this to work with Blackberry - or is it an inherent Blackberry problem that can't be resolved?

We are currently using 3.7.4
Reply With Quote
  #111  
Old 04-07-2010, 10:30 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Easy test: Disable this Add-on, if they still can't use the style afterwards it's not a problem with this Add-on
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09402 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete