![]() |
Works great. Thank you.
|
ive checked the box for the admins to view and it removed it from the drop down.
when i select a box for any usergroup to be able to use the style, i loose it in the drop down, but if i have it activated for all to see, the style shows in the drop down. |
Same problem here. Once I've selected the style, it completely vanishes from the drop-down menu..... even if I change to a different style.... it doesn't re-appear and I can't re-select it from the menu.
OK edit. This appears to only take into consideration secondary usergroups. I create a styles usergroup and anyone who is in this as secondary can see the additional styles in the dropdrown menus. |
Strange. Does work just fine for me and I cannot reproduce the problem.
@nighteyes Which Version do you use? If you don't mind, pease send me a PM with an ACP and FTP account for your site so I can take a look at what is going wrong. |
See above edit Kirby. Is this the way it's supposed to work? :)
|
No, but there was a bug in the instructions.
PHP Code:
PHP Code:
Does it also work with primary usergroups when you change this? |
Yep that fixes the problem. Thanks for posting a fix so quickly. :)
|
This may be a dumb question, but what does editing global.php do? When I edited it, it kept giving me parse errors so I reverted to a saved backup of the file. The hack still works.
|
Without the global.php edit Users can still use any Style (that has User Select = Yes).
If you get parse errors, you did not make the edit correctly - check again. |
I see. They cannot select a restricted style from the dropdown menu, but they can still type the direct url of the board with that style and see it. Like http://www.mysite.com/index.php?s=&styleid=10 if Style #10 was restricted.
This is the parse error I keep getting. The edits for global.php are not very hard and i've tried it 4 or 5 times and still keep getting the error. Quote:
|
All times are GMT. The time now is 01:45 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:
|