CreateMyBB Support Forums
DOCUMENTATION: add a button in new reply (spoiler button) - Printable Version

+- CreateMyBB Support Forums (https://support.createmybb.com)
+-- Forum: CreateMyBB Support (https://support.createmybb.com/forumdisplay.php?fid=5)
+--- Forum: CreateMyBB Documentation (https://support.createmybb.com/forumdisplay.php?fid=8)
+--- Thread: DOCUMENTATION: add a button in new reply (spoiler button) (/showthread.php?tid=462)



DOCUMENTATION: add a button in new reply (spoiler button) - D-Man - 10-17-2006

Since i can't post in Documentation i will post here:

1. First run a spoiler plugin in plugins manager, and do what it is said.
2. Open your template set and hit expand.
3. Find template codebuttons
4. find:
Code:
<img src="./images/codebuttons/sep.gif">
<img name="img" src="./images/codebuttons/image.gif" onclick="insertCode('img')" class="toolbar_normal" onMouseOver="toolbarHover('img')" onMouseOut="toolbarUnHover('img')" onMouseDown="toolbarMouseDown('img')" alt="$lang->alt_image">
5. BELOW it put:
Code:
<img name="Spoiler" src="URL OF IMAGE" onclick="insertCode('spoiler')" class="toolbar_normal" onmouseover="toolbarHover('spoiler')" onmouseout="toolbarUnHover('spoiler')" onMouseDown="toolbarMouseDown('spoiler')" alt="Insert spoiler">
6. Replace URL OF IMAGE, with image of your spoiler button
7. Save template

Result: [Image: resultdy5.png]

NOTE: you may use this image:[Image: imageph6.gif] but i require full credit:

Credit to D-Man of Ultimate Spriters Forums

8. Thanks..... Big Grin

if you liked this, please take a look:

[Image: UltimateSpriters5-2.gif]


RE: DOCUMENTATION: add a button in new reply (spoiler button) - D-Man - 10-20-2006

bump.... can someone move this where it belongs


RE: DOCUMENTATION: add a button in new reply (spoiler button) - destroyer - 10-20-2006

I moved it into the docs forum..

Don't know for sure if the other staff members also want to have this being public.


RE: DOCUMENTATION: add a button in new reply (spoiler button) - eric - 04-13-2009