Quote:
Originally Posted by DiziMedia
can you add the groans hack to this as well?
|
Add to "Additional CSS Definitions":
PHP Code:
.groan {
border: solid 1px #ffffff;
color: #444444;
background: #def9e5;
font: 10px arial, tahoma, sans-serif;
}
Replace "post_groan_postbit_legacy"/ "post_groan_postbit" contents with:
PHP Code:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
<table width="100%" align="center">
<tr>
<td class="groan" style="padding:0px">
<if condition="$post['post_groan_amount'] == 1">
<strong><phrase 1="$post[username]">$vbphrase[post_groan_user_says]</phrase></strong>
<else />
<strong><phrase 1="$post[post_groan_amount_formatted]" 2="$post[username]">$vbphrase[post_groan_users_say]</phrase></strong>
</if>
$post[post_groan_bit]
<if condition="$bbuserinfo['usergroupid'] == 6">
<td class="groan" align="center">
<a href="post_groan.php?do=post_groan_remove_all&p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_groan_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_groan_remove_all]</a>
</td>
</if>
<if condition="$post['show_groan_remove_option']">
<td class="groan" align="center">
<a href="post_groan.php?do=post_groan_remove_user&p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_groan_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_groan_remove_user]</a>
</td>
</if>
</td>
</tr>
</table>
</div>
Hope that helps someone.
***EDIT***
D'OH! I just realized that searching & replacing "thanks" with "groan" in my HTML editor would have yielded the same results. Ahh well.