Screenshots:
How to do:
Add New BB Code:
Admin CP -> Custom BB Codes -> Add New BB Code -> *and use the value below*
Search for:
Below Add:
And search for:
Below add:
Files to upload:
Upload this images to your forum/images/editor Folder.
How to do:
Add New BB Code:
Admin CP -> Custom BB Codes -> Add New BB Code -> *and use the value below*
Title: justify
Tag: justify
Replacement: <div align="justify">{param}</div>
Example: justify
Description: justify
Templates to edit: editor_toolbar_onSearch for:
HTML Code:
<if condition="$stylevar['textdirection'] == 'ltr'"> <td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td> <td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td> <td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
HTML Code:
<td><div class="imagebutton" id="vB_Editor_001_cmd_wrap0_Justify"><img src="images/editor/justify.gif" alt="Wrap [JUSTIFY] tags around selected text" width="21" height="20" border="0" /></div></td>
And search for:
HTML Code:
<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td> <td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td> <td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
HTML Code:
<td><div class="imagebutton" id="vB_Editor_001_cmd_wrap0_Justify"><img src="images/editor/justify.gif" alt="Wrap [JUSTIFY] tags around selected text" width="21" height="20" border="0" /></div></td>
Upload this images to your forum/images/editor Folder.