The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Restrict Style to Usergroup Details »» | |||||||||||||||||||||||||||||
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
Show Your Support
|
Comments |
#32
|
||||
|
||||
Strange, and normally can't happen.
Feel free to send me a PM with ACP details and i'll take a look. |
#33
|
||||
|
||||
I've got a problem with this. It's not working like I think it should be working. First of all, this style will not show up PERIOD unless I have allow user selection turned on. If I have it turned off, but I have usergroups allowed to see it, they cannot see it at all- not even with the link. If I turn user selection on, everyone can see it if they are given the link or choose it from the UserCP.
Does this not work for 3.5 Gold? |
#34
|
||||
|
||||
It does work with Gold, however Users must be allowed to change Styles and the Style must be User selectable.
Furthermore, you can't restrict the usage of the default Style, as this Style will be used as fallback. |
#35
|
||||
|
||||
What's the point of the hack then? You say that it has to be user selectable, but the point of the hack is to disallow certain usergroups of using it. I don't understand how this hack is suppose to work then.
I've got four styles. I've got a default, two variations of a style, and a new style. The new style and one of the two variations are meant to be private. The only way you can EVER view these styles is when the user selection is checked. Are you required to have the primary usergroup be the one that views this style? I've got it set as secondary because I don't want to change primary usergroups for select admins and super mods. I'm so confused. |
#36
|
||||
|
||||
Styles that are not user-selectable can't be selected by any User except Admins, so the Styles must be user-selectable.
It doesn't matter if the Usergroup is primary or secondary - the user just has to be member of the allowed groups. |
#37
|
||||
|
||||
I'm still not understanding.
For Style B, I have it checked with user sel and I have Administrators, UsergroupA and UsergroupB checked only. I made a test account as a Registered User. When I logged on, I was able to view the style by typing in the url. O_o Shouldn't it not work? |
#38
|
|||
|
|||
On vb 3.5 gold it appears to be not function at all. Only an admin account can change see the restricted style. I tried selecting just the usergroup they are in, selecting an usergroup they were not in and selecting all the usergroups. No change in behavior.
Would love to have this. Perhaps I have done something wrong. :ermm: |
#39
|
|||
|
|||
Quote:
|
#40
|
||||
|
||||
Well, at least I'm not seeing things. >_<;
|
#41
|
||||
|
||||
<a href="http://kirbydemos.ath.cx/forum" target="_blank">http://kirbydemos.ath.cx/forum</a>
3 Styles are installed: - Default (ID 1) - Group A Style (ID 2) - Group B Style (ID 3) Only Users who are member of Usergroup A can use Group A style, and only members of Group B can use group B style. (Those are public joinable groups so you can test yourself). |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|