The Arcive of vBulletin Modifications Site. |
|
Smilies on Quick Reply/Quick Edit Details »»
|
|||||||||||||||||||||||||||
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>
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>
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>
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>
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
You ROCK!!! 5 Stars!!
|
|
#3
|
|||
|
|||
|
Nice one , thank you !
|
|
#4
|
|||
|
|||
|
tagged and thanks
|
|
#5
|
|||
|
|||
|
This works great in vB 4.0.5
|
|
#6
|
|||
|
|||
|
You're welcome! Glad you like
|
|
#7
|
||||
|
||||
|
4.05 excellent!
|
|
#8
|
|||
|
|||
|
Thanks!
This was very easy to do! It was also my 1st attempt to rewrite any of the code. My forum has been up for about 5 days and I have a LOT to learn. Steve |
|
#9
|
|||
|
|||
|
Thanks for this, working on 4.05 here.
|
|
#10
|
|||
|
|||
|
Installed ...
![]() Thank you very much... worked great ... :up: Regards, Badger |
![]() |
|
|