The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Code button on Quick Reply toolbar
I had a request from a user to put a Code button on the Quick Reply toolbar. Is that easy to do with a template edit/ I am on 3.8.
|
#2
|
||||
|
||||
In the template "showthread_quickreply" locate the code:
HTML Code:
<if condition="$show['quote_bbcode']"> <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td> <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> </if> HTML Code:
<if condition="$show['code_bbcode']"> <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td> <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td> </if> |
2 благодарности(ей) от: | ||
Jon12345, TheLastSuperman |
#3
|
|||
|
|||
Oh that's just brilliant MarkFL, thanks so much for that!
|
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|