Quote:
Originally Posted by Emmy2
I'm not a coder but I think I did it! I've created code that will add an image button or a regular button to the quick reply and regular editors that when clicked by user automatically inserts the text for one pre-defined dice roll. It doesn't have a drop-down menu for multiple options, but hey it's a start! And maybe with the base code in place someone can look at it and see how to add a menu. All I did was research on google and played with some code I found and kept testing and this one finally worked.
I will post the code late tonight when I get home from work...I have been working on this all day.
:banana:
|
Emmy, that can be done via the adminCP bbcode manager and what i was playing with. I stuck a small gif of a blank die in the images/editor file and then in adminCP>BBcode did the 'add new bbcode' thing. I could get it to give me a return of
into a posting window, but even after sticking in '6' between the two tags when I submitted it wouldn't show the dice in the post... just the 'total points'.
Looking forward to seeing your fix around it.