Quote:
Originally Posted by systutorials
All good found it under postbit_legacy. Using the {vb:raw post.goodrank} variable works well. Thanks again
|
Quote:
Originally Posted by systutorials
found it, I used {vb:raw post.hagoodrank}
sorry for all the posts 
|
Quote:
Originally Posted by Ted S
post.totalrank is a post variable so it's not strange that it only shows what that post got
If you scroll back to the first page of the mod there's a list of accessible variables with brief descriptions. I don't recall them all off hand but if I had any common sense when making this version it would have been post.hatotalrank
|
Ted, hi from Australia.
Mate I have been using your plugin for a while now, with great results. I scoured the thread time and time again going over the posts of those who've tried to do this before me, as I'm having the same trouble.
I am attempting to add a 'good' tally to the postbit. Getting it into place and stuff is fine, but I cannot for the life of me seem to find the correct variable to put here.
Here's the postbit:
And here's the template source (I have this stacked under the 'thanks' hack postbit template):
Code:
<vb:if condition="$post['userid']">
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}}</dd><br>
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">Helped {vb:raw post.hagoodrank} Times</dd>
</vb:if>
</vb:if>
Doesn't seem to matter which variable I use, 'hagoodrank', 'hatotalrank', 'totalrank', 'goodrank', you name it - I just can't seem to find the user's global tally of 'good' votes.
I didn't really want to trouble you with it, especially as it's technically an unsupported mod, but mate I am just about out of options. I quoted the bloke above who got it working with post.hagoodrank - that isn't working for me.
Any help greatly appreciated!
Justin