The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add other buttons to Quick Edit/ Quick Reply Toolbar Details »» | |||||||||||||||||||||||||||
Add other buttons to Quick Edit/ Quick Reply Toolbar
Developer Last Online: Aug 2011
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> 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> 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"> </div></td> <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td> </tr> </table> </div></td> </if> 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> 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> If you like this hack, Click Install to receive updates Show Your Support
|
Comments |
#12
|
|||
|
|||
sản ph?̉m của người Vi?̣t đ?y à? mod này hay lắm bạn cám ơn nha
|
#13
|
|||
|
|||
Thanks, nice. How do you add the code icon and smilies drop down box to this please?
|
#14
|
|||
|
|||
thanx for this ,,,
but how can i add the FONT ???????? i mean the menu of the fonts ?? plz help me with that ,, THX again |
#15
|
|||
|
|||
Quote:
|
#16
|
|||
|
|||
Quote:
Code:
<if condition="$show['font_bbcode']"> <td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px"> </div></td> <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td> </tr> </table> </div></td> </if> |
#17
|
|||
|
|||
Dear Mr. hoangminh
it is not working !!!! it just show me "FONT" and the menu is empty !!!!! |
#18
|
|||
|
|||
Dear Mr. hoangminh
it is not working !!!! it just show me "FONT" and the menu is empty !!!!! |
#19
|
|||
|
|||
Dear ((((( ALL )))))
it is not working !!!! it just show me "FONT" and the menu is empty !!!!! |
#20
|
|||
|
|||
Quote:
The correct code is Code:
<if condition="$show['font_bbcode']"> <td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px"> </div></td> <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td> </tr> </table> </div></td> </if> |
#21
|
|||
|
|||
yesssssssssssssssss
It is working now ,,, THANK U VERY MUCH MAN,,, by the way, can u help me with this? https://vborg.vbsupport.ru/showthread.php?t=105532 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|