Quote:
Originally Posted by vitrag24
i have vb 3.6.4 aND version of this hack 5.3
can i update this addon?is it compatible with vb 3.6.4 also?
and how to update now?
|
Yes yiu may upgrade, USE 6.0 gold instead of 6.2.
In order to upgrade, just reupload all the new files to the FTP, reinstall the product, with overwrite on YES, and redo ALL template modifications following the instructions.
And your are done ^^
Quote:
Originally Posted by Quantnet.org
Which conditions would you use so that it only display Thanks and Thanked when it > 1.
I used to be able to do this with the if condition in earlier version but I don't know how to do it now.
Something like < if $vbphrase[post_thanks_thanks] >=1 or something
|
hmmm lets see
go to the template called
post_thanks_postbit_info
and unless you hav emodified it change it to
HTML Code:
<if condition="$post[userid]">
<if condition="$post[post_thanks_user_amount_formatted] > 0"><div>$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]</div></if>
<div>
<if condition="$post[post_thanks_thanked_times_formatted] != 0">
<if condition="$post[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
</div>
</if>
basically added
<if condition="$post[post_thanks_user_amount_formatted] > 0">
which means: if this person has thanked more than 0 times then show the content.
* WHy did i put > 1 ?
because it woudl be any number bigger than one not including 1.
* Then use >= 1
bah > 0 does the job
then the second conditional is
<if condition="$post[post_thanks_thanked_times_formatted] != 0">
which means: if this person thanked times is NOT zero (hence has been thanked) then show the content
^^ I think that should help
Quote:
Originally Posted by maidos
when i click on the thank you button it redirects me to
you do not have permission to access this page. This could be due to one of several reasons: [...]
|
This one is harder to answer because the problem is more abstract. Are you by any chance in a baned usergroup (banned from thanking, secondary groups are affected)
I can't tghink of anything else, if that doesn't do it abe1 should be able to answer ^^