![]() |
Restrict Style to Usergroup
1 Attachment(s)
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 |
Good job! Apparently you found hooks that would work, huh? ;)
|
Not really ... there are no Hooks to display the Controls (Usergroups Selector).
But the really important Hooks (Data-Saving) are there, for the GUI Stuff I use a dirty Trick ;) |
Whatever works, right? ;)
|
Grand job :).
I get an error though when i edit the settings. PHP Code:
|
Screenshots please?
|
Screenshot is already in the post ;). It's just a link.
Screenshot URL is here => https://vborg.vbsupport.ru/attachmen...chmentid=26703 |
Quote:
Redownload the ZIP and import the new XML or [sql]ALTER TABLE style ADD allowedusergroups VARCHAR(250) NOT NULL DEFAULT ''[/sql] |
Whoops my bad. Thanks for the hack.
|
So if no usergroups are selected and the style is active; the style can be used by all usergroups. Correct?
|
All times are GMT. The time now is 08:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|