I got my custom button to work and everything is smoothe in the js module, my code is found here,
[table class=award][tr][td][color=CHANGEME][b]Awarded & Thread Locked![/b][/color]
Which works all fine and well, but its open to the public, i can't set permissions on who can see/use this button?
Now i know you can make a button from a widget and in the widget options you can choose to allow guests/members/mod/admin see it and thats what i want, but when i tried transfering the same code into a widget it broke it. This code can be found here,
buttons.add('Award', '<table class="award"><tr><td align="left" align="left">[font color="CHANGEME"][strong]Awarded&ThreadLocked![/strong][/font]</td></tr></table>');
I'm not sure what the issue is, when i do this and click save and set it for moderator+ to only be able to view it, i get this : http://puu.sh/2yef8
I'm just wondering how i can do this.
- Posts : 61
Reputation : 1
Language : English/Russian
Permissions in this forum:You cannot reply to topics in this forum