Custom Widget Button
Page 1 of 1
Custom Widget Button
I got my custom button to work and everything is smoothe in the js module, my code is found here,
- Code:
[table class=award][tr][td][color=CHANGEME][b]Awarded & Thread Locked![/b][/color]
[/td][/tr][/table]');
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,
- Code:
<script type="text/javascript">
buttons.add('Award', '<table class="award"><tr><td align="left" align="left">[font color="CHANGEME"][strong]Awarded&ThreadLocked![/strong][/font]</td></tr></table>');
</script>
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.
Azi- Forumember
- Posts : 61
Reputation : 1
Language : English/Russian
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum