truonglv
Well-known member
truonglv submitted a new resource:
[tl] Style Permissions - Control usable style.
Read more about this resource...
[tl] Style Permissions - Control usable style.
Read more about this resource...
What is your XenForo version?I set this up on my forum so that one of the styles is supposed to only be available for administrators, but a member has notified me that he can use it. I logged in with a test account and was able to do the same. It worked when I tested it after first installing it. I tried disabling add ons that I installed after this one, but nothing changed. I tried uninstalling and reinstalling Style Permissions and that didn't help either. Any ideas?
XenForo 2.0.3 has resolved this issues: https://xenforo.com/community/threads/still-selectable-disabled-style.143684/
- Compatible with XenForo 2.0.3
- Minor bug fixed.
Please upgrade to XenForo 2.0.3 and this version 1.0.1 of this add-on.2.0.2
Will update in next releases.Okay just upgraded everything. This works now, but it does show the hidden themes as options with an asterisk after it. When the user clicks on it, it doesn't load the new theme, but it's a little weird they can see things they don't have permission to use. Is it possible to hide the options from people who are not in the usergroups that have permission to use them?
View attachment 171201
- Remove unselectable style from list chooser.
truonglv updated [tl] Style Permissions with a new update entry:
Version 1.0.2 released!
Read the rest of this update entry...
To prevent another complaint this thing. I will add new option to turn on/off this feature.@truonglv this actually makes this add-on unusable for me. On our development board, our styles stay unchecked:
View attachment 188081
Since we ship them out like this, currently I have to enable them to view them on the front end. Can you make this an option or go back to how it was before? If anything... I feel like it should be stripped out completely and just make it all permission based, so a style will only show to a usergroup if it's active or not if they have permissions to view it.
To prevent another complaint this thing. I will add new option to turn on/off this feature.
Notable changes:
- Added new option to remove unusable styles from list.
Unfortunately, the update breaks the permissions. When "Remove unusable styles from list" is set to No and having a setup like this:
View attachment 188122
Any non-admin user can use the style.
Set option to Yes?Ok, I see that now but I'm sorry if a user doesn't have access to it they shouldn't view it on the style list at all. The same thing with any type of permission, if it's a private node users shouldn't be able to see it if they don't have access as an example.
Set option to Yes?
Only check style permission when it is enabled.
We use essential cookies to make this site work, and optional cookies to enhance your experience.