MyBB Community Forums

Full Version: Simple Spoiler 1.6 -> 1.8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here's the Simple Spoiler created for 1.6: http://community.mybb.com/thread-79493.h...le+spoiler

One key feature of Simple Spoiler is it doesn't ask for descriptions or titles. That makes is simpler for users.

Here's the code used to add the button: 

	{type: 'button', name: 'spoiler', insert: 'spoiler', image: 'spoiler.gif', title: 'Spoiler'}


Adding this as MyCode to 1.8 is easy. But it also needs a button. How can I get this working. I need one this simple (meaning no description) that can understand the codes that are already in the messages.. It doesn't have to be wysiwyg. 
(09-20-2014, 04:38 PM)Andrew B. Wrote: [ -> ]Here's the Simple Spoiler created for 1.6: http://community.mybb.com/thread-79493.h...le+spoiler

One key feature of Simple Spoiler is it doesn't ask for descriptions or titles. That makes is simpler for users.

Here's the code used to add the button: 

	{type: 'button', name: 'spoiler', insert: 'spoiler', image: 'spoiler.gif', title: 'Spoiler'}


Adding this as MyCode to 1.8 is easy. But it also needs a button. How can I get this working. I need one this simple (meaning no description) that can understand the codes that are already in the messages.. It doesn't have to be wysiwyg. 

http://community.mybb.com/thread-155702-...pid1085258
Thanks. I tested your mod and I can confirm that it works with Simple Spoiler.