Hi, I'd like to use the thanks button image for each forum. I'd try to modify code but can not. At the moment, I already add the column named: thanks_image in the forum table.
In the template below, I try to change the template but can it does nothing
PHP Code:
<template name="post_thanks_button" templatetype="template" date="1179183582" username="Abe" version="6.1"><![CDATA[<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&p=$post[postid]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>); return false;"</if> style="display:$display_thanks_image" rel="nofollow">
<if condition="$foruminfo['thanks_image']">
<img src="$stylevar[imgdir_button]/$foruminfo[thanks_image]" alt="$vbphrase[post_thanks_thanks]" border="0" />
<else />
<img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />
</if>
</a>]]></template>
Can you help me please?