![]() |
Restrict Style Changes To Specific Usergroups
Author: NTLDR
Version: 1.0.0 Requested By: restless (here) vB Compatibility: vB3 Gamma, RC1, RC2 Description: This hack will allow you to restrict users ability to change the board style based on there usergroup, usefull for premium members etc. Note, this will mean members not in these groups will only have access to ONE style, the default board one (or a forum specific one). File Edits: In global.php find: PHP Code:
PHP Code:
|
excellent stuff.
|
Yep, I've already got this working. But what would be cool is the ability to enable/disable a specified style on a usergroup basis.
|
Does this work on vb2 as well? I just tried it on a 2.3.0 but a test user not in a usergroup in the array could change styles. I would love to have this on vb2. If its a slight difference with the above, please let me know. thanks!
would this work? in member.php: PHP Code:
|
there is spetial hack for 2.3.0 same to this one just search in Code Modification vB2 -> Full Releases
NTLDR, is any chanse to make it work throgh AdminCP? I now it need to make database queries but... Thanks |
When Kura has released the HTL hack I'll create another version that has an ACP setting, untill then you manually need to enter the code.
|
Is there a way to modify it to allow only certain usergroups to have access to certain styles?
For example, a selection of premuim styles for members that donate money, and a selection for normal members? |
hmm...i was going to add this, the i thought, what happens when their premium membership runs out. they won't be able to access it anymore and it will be left at the last one they selected cause of the cookie it sets.
This is a good idea, but I think needs better integration and defineable by usergroup on which styles they are allowed to choose. |
wouldn't it be the same as if the style was disabled? Then it would revert to the default forum style?
|
i don't think so, from what i have seen as soon as u change it, even with a link and not by the dropdown, it sets a cookie.
i don't think this will stop them from just appending &styleid=5 in the url ether tho. |
All times are GMT. The time now is 08:25 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:
|