Add a BBcode button on your forums
First, go to your templates (ACP > Display > Templates > Post and Private messages > posting) and paste this code after the BBcodes of default
<!--- Subject: "BBCode buttons for Forumotion" - Copyright 2012 by www.fmcodes.com. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified code. Distribution is not allowed without written consent from FMCodes---!>
<button style="padding:3px;" type="button" onclick="bbfontstyle('[b]','[/b] ');"><img src="http://r27.imgfast.net/users/3216/11/80/04/smiles/364988687.gif" title="FMcodes" /></button>
Customize the tutorial
You can change [b*]','[/b*] with the tag you will paste, but rememer to keep the ',' This tag will place the cursors after the click.
Then you can edit the image
|The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.|
Thanks, the staff
|For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...|
The team of the Forum of Codes.
Last edited by Niko on Sat May 26, 2012 12:52 pm; edited 1 time in total