A simple way to let the users on your site thank each other
Example tags in page.tpl:
<!-- IF {PAGE_THANK_CAN} -->
<p><a href="{PAGE_THANK_URL}" onclick="return confirm('{PHP.L.thanks_ensure}')"><strong>{PHP.L.thanks_thanks}</strong></a></p>
<!-- ENDIF -->
Example tags in forums.posts.tpl:
<!-- IF {FORUMS_POSTS_ROW_THANK_CAN} -->
<a href="{FORUMS_POSTS_ROW_THANK_URL}" onclick="return confirm('{PHP.L.thanks_ensure}')">{PHP.L.thanks_thanks}</a>
<!-- ENDIF -->
And where you want to display current thanks count and link:
<a href="{FORUMS_POSTS_ROW_USERTHANKS_URL}" title="{PHP.L.thanks_for_user}">{PHP.L.thanks_thanked}: {FORUMS_POSTS_ROW_USERTHANKS} {FORUMS_POSTS_ROW_USERTHANKS_TIMES}</a>
Example tags in users.details.tpl:
<tr>
<td>{PHP.L.thanks_thanked}:</td>
<td><a href="{USERS_DETAILS_THANKS_URL}" title="{PHP.L.thanks_for_user}">{USERS_DETAILS_THANKS} {USERS_DETAILS_THANKS_TIMES}</a></td>
</tr>
You can also use {*THANKS}, {*THANKS_URL} and {*THANKS_TIMES} tags wherever all user-specific tags are available (* stands for a tag prefix specific to that area or block).
Warning: No tags found in ./plugins/thanks/thanks.setup.php