Quote:
Originally Posted by terminator2k2
I have a problem in vB 4.1.8
Show Stats in Profile?
Do you want to show a user's post thanks stats in their profile? (These stats come along with links to search all posts that user gave thanks to and all posts of his/hers that got thanked by someone else.)
^- set to yes, statistics is shown but you cannot search all posts the user gave thanks to and got thanks for, there is no link generated
|
Open template (post_thanks_memberinfo_block)
Change it all with this:
Code:
<h5 class="subsubsectionhead">{vb:rawphrase post_thanks_total_thanks}</h5>
<dl class="stats">
<dt>{vb:rawphrase post_thanks_total_thanks}</dt>
<dd>{vb:raw userinfo.post_thanks_user_amount_formatted}</dd>
</dl>
<ul class="group">
<li>
<vb:if condition="$userinfo[post_thanks_thanked_times] == 1">
{vb:rawphrase post_thanks_time_post}
<vb:else />
<vb:if condition="$userinfo[post_thanks_thanked_posts] == 1">
{vb:rawphrase post_thanks_times_post, {vb:raw userinfo.post_thanks_thanked_times_formatted}}
<vb:else />
{vb:rawphrase post_thanks_times_posts, {vb:raw userinfo.post_thanks_thanked_times_formatted}, {vb:raw userinfo.post_thanks_thanked_posts_formatted}}
</vb:if>
</vb:if>
</li>
<li>
<a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
</li>
<li>
<a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
</li>
</ul>