Back to vBulletin 4.x Template Modifications

Smilies on Quick Reply/Quick Edit
Mod Version: 1.00, by Lairston

vB Version: 4.0.4 Rating: (13 votes - 4.85 average) Installs: 105
Released: 18 Jul 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

After some tinkering I was able to get the smilies on the Quick edit/reply on my dev site with just two template modifications.

If you would like smilies on the quick edit open the postbit_quickedit template

Find the following code
Code:
<vb:if condition="$show['quote_bbcode']">
<li>
<img src="{vb:stylevar imgdir_editor}/quote.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_quote" width="21" height="20" alt="{vb:rawphrase wrap_quote_tags}" />
</li>
</vb:if>
Paste after that code the following
Code:
<li>
            <a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="{vb:stylevar imgdir_editor}/smilie.png" alt="Smilies" border="0" /></a>
</li>
If you would like the smilies on the quick reply on threads page, open the showthread_quickreply template

Find the following code
Code:
<vb:if condition="$show['quote_bbcode']">
<li class="editor_control_group_item">
   <img src="{vb:stylevar imgdir_editor}/quote.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_quote" width="20" height="20" alt="{vb:rawphrase wrap_quote_tags}" />
</li>
</vb:if>
Paste the following after that code:
Code:
<li class="editor_control_group_item">
 <a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="{vb:stylevar imgdir_editor}/smilie.png" alt="Smilies" border="0" /></a>
</li>

Download

No files for download.

Screenshots

Click image for larger version
Name:	vbquickreplysmilies.jpg
Views:	3187
Size:	11.7 KB
ID:	119769  

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