The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Force Style for Selected Users or Groups Details »» | |||||||||||||||||||||||||
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. But not to worry, you can now check out the new 3.8.x version of this hack, as it also works with v3.7.4 and v3.6.12 (and maybe even earlier versions). Please click Mark as Installed if you are using this hack. vBulletin Version Compatibility This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, 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) or any combination of the three. It is a update of my v3.6.x hack available here, with new functionality added. 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 just edit my default style and the child styles inherit the changes. 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 style at all, but as soon as you logged out you were presented with the default style that you did not want guests to see. This hack rectifies that. It also allows you to let others use the forum wide default style (selected via Style & Language Settings -> Default Style in the vBulletin Options of the AdminCP) while forcing the usergroup(s)/member(s) to the one style you selected, except in cases where you have specifically assigned a custom style to a forum in Forum Manager and override the users' style choice for that forum (it will use the custom style assigned to that forum, unless you select to override that too). Installation Instructions
Uninstall Instructions
What if you need custom style permissions as well? This question has been asked a few times: What if you need custom style permissions so that you can control which usergroups see/select what styles? The hack I use is Andreas's Restrict Style to Usergroup hack which he released for v3.5.x. It is because of that hack that this one exists, and I have tested it on v3.5.x, v3.6.x and v3.7.x, and it works for three versions and works fine with my hacks as well. For instance on my forum I need to use both hacks, as the style I force on my guests and normal members is not selectable nor do I allow them permission to use it, and is also not my default style (all my other styles are child styles of my default one), so without Andreas's hack I would not be able to do this. But just to let you know that Andreas's hack is unsupported and is not likely to ever be supported (unless it is a proven bug), so if you have problems with it, you are on your own. Version History v3.7.006 - Friday 29th August 2008 -- Final Release -- Fixed: Usergroup permission checkboxes not working with vBulletin v 3.6.x -- Changed: Removed dependency, now works with v3.6.10 v3.7.005 - Thursday 28th August 2008 -- Fixed: bug where guests forced to style because user id set to '0' -- Changed: Check boxes for usergroup selection now, instead of comma separated numbers -- Added: New plugin, for processing usergroup permissions v3.7.004 - Thursday 26th June 2008 -- Changed: Total code rewrite -- Added: AdminCP option to force style on all usergroups -- Added: AdminCP option to override custom style for individual forum v3.7.003 - Tuesday 13th May 2008 -- Changed: Product name -- Changed: Version numbering -- Added: AdminCP Options input validation v2.1.0 - Thursday 7th February 2008 -- Changed: Install code v2.0.0 - Wednesday 26th December 2007 -- Initial Release Thanks Thanks go out to Paul M who gave me permission to use some of his install code. 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. Show Your Support
|
Comments |
#32
|
||||
|
||||
Update: v3.7.005
-- Fixed: bug where guests forced to style because user id set to '0' -- Changed: Check boxes for usergroup selection now, instead of comma separated numbers -- Added: New plugin, for processing usergroup permissions |
#33
|
||||
|
||||
Update: v3.7.006
-- Fixed: Usergroup permission checkboxes not working with vBulletin v 3.6.x -- Changed: Removed dependency, now works with v3.6.10 |
#34
|
|||
|
|||
At the moment I have one main default style for my forums, but several child styles that I use for the various sub forums. On those forums, I have set them to over-ride users choice.
The problem I have, is that I also have a worksafe/mobile option for my users, but whenever they go into the sub forums they are forced back into the default mode because I have users choice on over ride. Will this hack help me fix this problem, and if not does anyone have any suggestions? Thanks. |
#35
|
||||
|
||||
Quote:
You may well need to experiment to see if it is for you or not. If it does what you want, then you can click Mark as Installed, if it does not, then you can un-install the hack. |
#36
|
||||
|
||||
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. But not to worry, you can now check out the new 3.8.x version of this hack, as it also works with v3.7.4 and v3.6.12 (and maybe even earlier versions).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|