Double Post Thank Button

Discussion in 'PHP' started by nhatle84, Feb 13, 2009.

  1. #1
    Hi everyone.

    I've just finished installing a mod call Post Thank Hack which benefit my forum very much however I have a problem on having 2 buttons doing same function.

    I've attached a snapshot to show you what I mean... hopefully you'll get the picture.

    Here is the codes I used :)

    post_thanks_button
    <a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow"><img src="$stylevar[imgdir_button]/[COLOR="Red"]post_thanks.gif[/COLOR]" alt="$vbphrase[post_thanks_thanks]" border="0" /></a>
    PHP:
    Within the codes... I don't see any duplicated post_thanks.gif in the codes above but it show 2 button on forum... pretty weird stuff.

    Please help me tackle this problem.

    Cheers and Thanks in advance!
    Minh
     

    Attached Files:

    • 24.jpg
      24.jpg
      File size:
      71.2 KB
      Views:
      91
    nhatle84, Feb 13, 2009 IP