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 |
#12
|
||||
|
||||
Yeah I reverted 4 times still same results. I just pm'ed the template.
|
#13
|
||||
|
||||
Works now thank you. Did i do something wrong with the edits? Is there a way to get the bottons to be next too eachother instead of stacked on one another?
|
#14
|
||||
|
||||
PM Sent.
There was a slight change in the templates since 3.6.4. Works now with 6.0 and 6.1 First post edited. |
#15
|
||||
|
||||
This works with 6.2 as well, first post edited
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|