Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Restrict Style to Usergroup Details »
Restrict Style to Usergroup
Mod Version: 1.0.4, by Andreas (Coder) Andreas is offline
Developer Last Online: Mar 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (13 votes - 4.54 average) Installs: 273
Released: 09 Sep 2005 Last Update: 29 May 2012 Downloads: 1232
Not Supported DB Changes Uses Plugins  

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): http://www.vbulletin.org/forum/attac...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

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Restrict style to Usergroup Andreas vBulletin 3.0 Full Releases 68 06 Aug 2006 19:20

  #61  
Old 11 Oct 2005, 15:46
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I just noticed this in the first post. If we are using that hack, this won't work then?


Attention: This Hack does not work with Show Users using Style in Style Chooser
Reply With Quote
  #62  
Old 11 Oct 2005, 16:12
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Yep. It does not work due to a "design problem" of the vBulletin Plugin System
Reply With Quote
  #63  
Old 11 Oct 2005, 16:44
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
So, use one or the other but not both. Will you be updating this as the plug-in system gets updated then?
Reply With Quote
  #64  
Old 11 Oct 2005, 16:54
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
The design problem which causes these two Hacks to not work together will probably never be changed
Reply With Quote
  #65  
Old 17 Oct 2005, 01:58
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Real name: Call me X
I had the Show Users using Style in Style Chooser hack instaled AND this. Then I realized I had to uninstall the other. I didn't really care that much. However that was the only modification I did today and afterwards one member was having a DB Error. I had to log into his acount to reporduce the problem and I got this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I simply disabled and enabled the plug in system and it seem to solve the DB issue.
Reply With Quote
  #66  
Old 17 Oct 2005, 02:09
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
This error most likely is not caused by this Hack; furthermore, this query (issued by fetch_avatar_url() ?) is not a standard query used by index.php
Reply With Quote
  #67  
Old 09 Nov 2005, 23:13
lazyseller lazyseller is offline
 
Join Date: Oct 2003
great hack thanks

Last edited by lazyseller; 13 Nov 2005 at 05:51.
Reply With Quote
  #68  
Old 12 Nov 2005, 00:17
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Originally Posted by lazyseller
I have an idea for cobranding that im working on and trying to implement this hack.

i setup a special usergroup called COBRAND2 and as well a template called COBRAND2Template. I want users in cobrand2 to only see the cobrand2template but for some reason once a user logs out and back in he uses the default template
Is it just me, or has this hack stopped working on 3.5.1?

It was working fine when I first installed it, but since the upgrade all user groups can access all styles. I have re-checked and apart from 2 styles, all of my other styles should not be visable to other user groups.

Any thoughts?
Reply With Quote
  #69  
Old 12 Nov 2005, 00:19
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Admins can see all styles ...
Except that, I don't see any reason why it would not work - though you might have to rebuild the stylecache once (edit one style, click save without making any changes).
Reply With Quote
  #70  
Old 12 Nov 2005, 00:30
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Originally Posted by Andreas
Admins can see all styles ...
Except that, I don't see any reason why it would not work - though you might have to rebuild the stylecache once (edit one style, click save without making any changes).
Thanks for the reply.

I tested it using a "Registered User" account, so the permissions should be in effect. I have also rebuilt the style information but stil no go.

I will look into it further, as it could be a template (or code) issue at my end. I have just use my fail safe and viewed the forum via the Default (or unhacked) style. And in this style no style chooser is being displayed.

So I will have a play around and see if I can work it out.

Many thanks for your prompt responce.
Reply With Quote
  #71  
Old 13 Nov 2005, 09:50
Gray Matter Gray Matter is offline
 
Join Date: May 2005
This doesn't work on my 3.5.1 either.
Reply With Quote
  #72  
Old 13 Nov 2005, 12:39
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
I didn't test it but I see no reason why it should not work.
Reply With Quote
  #73  
Old 13 Nov 2005, 13:15
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Originally Posted by Andreas
I didn't test it but I see no reason why it should not work.
I have vB 3.5.1 and it working great
Reply With Quote
  #74  
Old 13 Nov 2005, 14:35
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Hm.. I'll remove it from my forum, redownload the zip file and upload that XML file and then re-import it. I'll get back to you.

Edited to Add: This was definitely a mistake on my part. I feel a little embarassed now. :disappointed:

The problem was that I originally had the style set to non-selectable and then added this product and edited the settings to choose which groups could access it, but I never made the style selectable globally. Maybe you could add something about that to the instructions? Just to say that you need to have the style globally available for this product to function correctly.

Last edited by Gray Matter; 13 Nov 2005 at 22:19.
Reply With Quote
  #75  
Old 09 Feb 2006, 14:16
kameraderie kameraderie is offline
 
Join Date: Oct 2005
this is what i have been waiting for...

can this be applied to vbulletin 3.5.3?

thanks!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:59.

Layout Options | Width: Wide Color: