![]() |
Force Style to Certain Usergroup(s) and/or User(s)
Hack Support
This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. Please click Mark as Installed if you are using this hack. vBulletin Version Compatibility This hack has be tested with v3.5.8. This has not been tested with earlier versions, but should work. What Does This Hack Do? This hack allows you to force a style to certain usergroup(s), secondary usergroup(s), and/or certain user(s). Background This is inspired by the hack - Restrict Style to Usergroup(s) by Andreas. I asked about a mod to restrict styles to certain usergroups and ended up using Andreas's hack, but did not do the job exactly as I need it, see scenario below to see why did not. Scenario The setup on my forums is that I use the default style as the parent to all my other styles which makes modifying the templates easy for me, I wanted to use a child style as the standard style for visitors and members, but not have them have a choice of the default template at all, but as soon as you logged out you were presented with the default template that you did not want guests to see. Solution I created this hack to rectify that and it works in harmony with Andreas's hack. Installation Instructions Instructions and upgrade instructions are in the attachment. Note: No screenshots are needed, so are not provided. Version History v1.02 - Tuesday 28th February 2006 -- Final release -- Fixed: Plugin typo v1.01 - Thursday 23rd February 2006 -- Added: Secondary Usergroups permissions v1.00 - Thursday 23rd February 2006 -- Initial Release Show Your Appreciation Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate. |
Exactly what i need. Thankyou for making this hack :D. Well done :).
|
Just to clarify, you said that this works just fine in conjunction with Andreas' Restrict Style to Usergroup(s) hack without any conflict?
Also: Does this work with secondary usergroups as well? |
Quote:
Not in it's current state, but I will put that in, in a bit for you :) |
Now Zip file has now been updated to deal with Secondary Usergroups.
|
Hi!
There's an error in your code: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> Regards, Christian |
Quote:
|
.......
|
I have secondary usergroups that i can't get it to work with.
for instance: Works with Usergroup 12 and 2, not with 17, 24, and 29. Is there a cap on usergroup id#s? Thanks |
I cannot get it to work with a usergroupid higher than 12. (my usergroups jump from 12 to 17 btw)
Works on 12. down. Doesnt work on 17, up. (I'm trying secondary usergroups btw) |
All times are GMT. The time now is 11:37 AM. |
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:
|