Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #112  
Old 04-07-2010, 10:58 AM
nefarious nefarious is offline
 
Join Date: Jan 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was my first thought... I've already asked a user having problems to let me know when they are online so we can test it.
Reply With Quote
  #113  
Old 08-28-2010, 10:54 PM
Snug Snug is offline
 
Join Date: Aug 2009
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when ever i add it to my skin it combines two of the skins... weird
Reply With Quote
  #114  
Old 03-03-2011, 08:35 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This addon seems to be causing the following error:

Quote:
Warning: Invalid argument supplied for foreach() in /forum/global.php(238) : eval()'d code on line 275

Fatal error: Cannot use string offset as an array in /forum/global.php(355) : eval()'d code on line 428
Its weird because I have been using this addon for years without problems. We recently updated to the latest version of php, xcache, apache, etc. So maybe that changed something.
Do you have any idea how to fix this?
Reply With Quote
  #115  
Old 05-16-2011, 01:54 AM
baileyjojoms baileyjojoms is offline
 
Join Date: Mar 2011
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and using on 4.1.3
Reply With Quote
  #116  
Old 08-03-2011, 02:43 PM
mrderanged mrderanged is offline
 
Join Date: Jul 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to test this on a closed board right now. Are admins exempt from style permissions? I ask because I set a skin to be accessible only to a paid group and as an admin I'm still able to access it.

Regards
Reply With Quote
  #117  
Old 10-21-2011, 10:41 PM
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
Location: Tampa, FL
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this on 4.1.5 PL1 and it seems to be working just fine.
Reply With Quote
  #118  
Old 11-01-2011, 10:15 AM
dspalton dspalton is offline
 
Join Date: Jun 2008
Location: UK
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any idea if this is supported in 4.1.7?
We have it working on most browsers other that good old IE 8 + 9

David
Reply With Quote
  #119  
Old 03-11-2012, 05:21 PM
fulviods fulviods is offline
 
Join Date: Jan 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
This addon seems to be causing the following error:


Its weird because I have been using this addon for years without problems. We recently updated to the latest version of php, xcache, apache, etc. So maybe that changed something.
Do you have any idea how to fix this?
I have the same problem, so i had to uninstall it
Reply With Quote
  #120  
Old 05-02-2012, 07:32 AM
THX_Ultra THX_Ultra is offline
 
Join Date: Jan 2010
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great an extremely useful add-on - but when I install it in 4.1.12 - i get an error message

Quote:
Warnung: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(999) : eval()'d code (Zeile 6)
Any chance to get that running with 4.1.12?

Or are there any alternatives - because it would be extremely useful for us. We have usergroups where we'd like to restrict the usage of certain styles.

best regards Michael
Reply With Quote
  #121  
Old 05-29-2012, 09:47 AM
THX_Ultra THX_Ultra is offline
 
Join Date: Jan 2010
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news on that? Especially 4.2.0 has been released.

Doesn't seem to be developed anymore, or am I wrong?

Any help would be greatly appreciated
Reply With Quote
Reply

Thread Tools

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 10:44 AM.


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.18380 seconds
  • Memory Usage 2,319KB
  • 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
  • (3)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
  • (1)pagenav_pagelinkrel
  • (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