View Full Version : how to add image next "edit, quote, mq, qr"
giotmuadong
02-09-2007, 05:38 AM
can i have the code to add. I want image to show at the bottom right hand corner. Next to "Edit, Quote, Multi Quote, Quick Reply" button
Bratz-Designs
02-09-2007, 11:41 AM
You will have to modify the 'postbit' & 'postbit_lecacy' templates ;)
giotmuadong
02-09-2007, 09:10 PM
but i don't know the code for it, i'm not good at code :D
This is the code for the buttons. Simple add your image where appropriate.
<!-- controls -->
<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<!-- / controls -->
The code is the same in both the postbit and postbit_legacy templates. Make sure to change the one(s) you use! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.