Hi guys,
I'm having an issue where after a user thanks a certain post and refreshes the page, the Thank you button still persists on that same post even though the thanks has been recorded.
Which file would I have to track this down to?
Could it be because I'm using a CSS class to make the thank you button rather than just a direct img src tag?
Thank you!
Here is my post_thanks_button template:
HTML Code:
<a href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groans_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button" style="width: 0px; margin: 0px; padding: 0px;" ></a>
<span id="post_thanks_separator_{vb:raw post.postid}" <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> style="border: 0px; padding: 0px; margin: 0px;"></span>