Back to vBulletin 3.5 Add-ons

Add other buttons to Quick Edit/ Quick Reply Toolbar
Mod Version: 1.00, by hoangminh

This modification is in the archives.
vB Version: 3.5.0 Rating: (1 vote - 5.00 average) Installs: 40
Released: 05 Dec 2005 Last Update: 06 Dec 2005 Downloads: 76
Not Supported Template Edits  

The quickreply and quickedit is not enough button for formating Text. So I decide to add some other and share with you.

If you want to add to quick Reply, go to showthread_quickreply template to edit or showthread_quickedit template if you want to add more buttons to Quick Edit toolbar.

Now, let's begin:

If you want to add align button (left, center, justify or right) next to underline button,
find:
Code:
 <td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
add below:
Code:
 <if condition="$show['align_bbcode']">
	<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>
	<else />
	<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>
	</if>
	<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
</if>
if you want to add Font Size Popup Menu, Add below (the above code):

Code:
 <if condition="$show['size_bbcode']">
	<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
	 <table cellpadding="0" cellspacing="0" border="0">
	 <tr>
	 <td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
	 <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
	 </tr>
	 </table>
	</div></td>
</if>
If you want to add Extra BBCode Button (Custom BBCode that has Button Image):

Find:
Code:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
Add After:

Code:
 <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<if condition="$show['editor_toolbar']">
				<div>$vBeditTemplate[extrabuttons]</div>
		</if>
I will give some more code for other buttons in post #1.


If you like this hack, to receive updates

Download

This modification is archived and cannot be downloaded.

Addons

Screenshots

   

Similar Mods

Show Thread Enhancements Add other buttons to Quick Edit/ Quick Reply Toolbar vBulletin 3.6 Template Modifications
Administrative and Maintenance Tools Change the default height of the quick reply, quick edit, and normal editors vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024