The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Post Thanks Deletion Images Details »» | |||||||||||||||||||||||||
This is a mod of two templates for Abe1's [AJAX] Post Thank You Hack Version 6.0, 6.1, and 6.2
Very simple. Instead of the default text links for removal of Thanks given, it adds buttons. I made 2 generic buttons, but feel free to make your own to fit your board's style. Makes the template a lot cleaner looking. Instructions for postbit and legacy are given. Click install if ya use Upload both images to your images/buttons folder. Then--- For Legacy, replace entire template with: Code:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td class="alt2" width="175"> <if condition="$post['post_thanks_amount'] == 1"> <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong> <else /> <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong> </if> <br /> <if condition="$bbuserinfo['usergroupid'] == 6"> <a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/del_thanks_all.gif" alt="$vbphrase[post_thanks_remove]" border="0" /></a> </if> <if condition="$post['show_thanks_remove_option']"> <a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/del_thanks.gif" alt="$vbphrase[post_thanks_remove_user]" border="0" /></a> </if> </td> <td class="alt1"><div>$post[post_thanks_bit]</div></td> </tr> </table> </div> Code:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt2" style="padding:0px"> <if condition="$post['post_thanks_amount'] == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong> <else /><strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if> </td> <if condition="$bbuserinfo['usergroupid'] == 6"><td class="alt2" style="padding:0px" align="center" nowrap="nowrap"> <a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/del_thanks_all.gif" alt="$vbphrase[post_thanks_remove]" border="0" /></a> </td></if> <if condition="$post['show_thanks_remove_option']"><td class="alt2" style="padding:0px" align="center" nowrap="nowrap"> <a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/del_thanks.gif" alt="$vbphrase[post_thanks_remove_user]" border="0" /></a> </td> </td></if> </tr> <tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr> </table> </div> Show Your Support
|
Comments |
#2
|
||||
|
||||
Here is what my postbit looks like in my style with custom buttons
|
#3
|
||||
|
||||
Nice
|
#4
|
||||
|
||||
Thank you.
Enjoy. |
#5
|
||||
|
||||
Have a small issues. I get one button the ALL click that and it just resets the screen nothing changes
|
#6
|
||||
|
||||
It does not remove anything?
|
#7
|
||||
|
||||
After redoing the template again. I can get the ALL to appear "your image" but clicking it just refresh's the screen and nothing happens. The remove MY THANKS is still in text and works fine but no button appears.
|
#8
|
||||
|
||||
which template?
|
#9
|
||||
|
||||
Legacy
|
#10
|
||||
|
||||
I reverted mine and completed the edits again--no probs. PM me yer template
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|