Quote:
Originally Posted by Boosted Panda
Hey everyone I can help out a bit here since I have modified the thanks system a bit on my forum.
For people wanting to change the phrases:
Goto the Phrase Manager -> Search Phrases -> "thanked"
post_thanks_times_posts
The standard phrase is: Thanked {1} Times in {2} Posts
If you want to remove the Thanked: X in X posts... replace the phrase with: Thank: {1}
What this will do is display
Thanks: X
Looks much better in my opinion.
Now to post JUST the Thanks part in the post bit and none of the other garbage here is the code below.
Code:
<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&p=$post[postid]&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 class="inlineimg" src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" /></a>
I attached a screen shot. The thanks are labeled "treats" on my forum.
|
Sorry this is such an old post...but where do I add this code? I want it to look like that, next to the posts. I changed the phrase and it still shows everything and I have no idea how to just show the 'thanks' and then move it up near the posts...any help would be great
Thanks