![]() |
|
Mod Options |
![]() |
|||||||||
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
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Restrict style to Usergroup | Andreas | vBulletin 3.0 Full Releases | 68 | 06 Aug 2006 19:20 |
Comments |
#2
|
||||
|
||||
Good job! Apparently you found hooks that would work, huh?
![]() No members have liked this post.
|
#3
|
||||
|
||||
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 ![]() No members have liked this post.
|
#4
|
||||
|
||||
Whatever works, right?
![]() No members have liked this post.
|
#5
|
||||
|
||||
Grand job
![]() I get an error though when i edit the settings.
No members have liked this post.
|
#6
|
||||
|
||||
Screenshots please?
No members have liked this post.
|
#7
|
|||
|
|||
Screenshot is already in the post
![]() Screenshot URL is here => http://www.vbulletin.org/forum/attac...chmentid=26703 No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by RoryF
Doh! I forgot the Install Code ^.^
Redownload the ZIP and import the new XML or
No members have liked this post.
|
#9
|
||||
|
||||
Whoops my bad. Thanks for the hack.
No members have liked this post.
|
#10
|
||||
|
||||
So if no usergroups are selected and the style is active; the style can be used by all usergroups. Correct?
No members have liked this post.
|
#11
|
||||
|
||||
Exactly.
No members have liked this post.
|
#12
|
|||
|
|||
Thanks for this Kirby, you know I've been looking out for it.
![]() No members have liked this post.
|
#13
|
||||
|
||||
don't know if it's just me, but THERE IS a hook in 'editstyle'...
>> admin_style_form so your plugin "Prepare Usergroup Selector" can be rebuilt a little, i think... i've recreated the process myself and it's working...
No members have liked this post.
|
#14
|
||||
|
||||
Interesting. My RC3 does not have Hook admin_style_form there - only in addstyle.
That's why I requested it to be in editstyle too. But maybe my RC3 is different from yours. What's the CVS Version of your template.php? Edit: OK. Revision 1.232 of template.php does have the Hook there, Revision 1.231 (which was the RC3 one I had) does not ![]() Gonna update the XML ![]() No members have liked this post.
Last edited by KirbyDE; 20 Sep 2005 at 18:59. |
#15
|
|||
|
|||
when they released the RC3 publically, 30 secondes before the release, they thought "Darm We Forgot KirbyDE"... lol
oh btw, suggestion, i know there is no hook in that function, but it would be great to filter the styles in the dropdowns too... "function construct_style_options" ... in functions.php! No members have liked this post.
Last edited by nexialys; 20 Sep 2005 at 19:04. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:47.