Never ran into this issue maybe a conflict with another mod..
thanks for the post tho
It appreciated when people post issues and fixes to there issue
Quote:
Originally Posted by mikesafl
For vb 4.2.0 l3
If people are using the cant download attachment hack with this one you know it doesnt have ajax so it doesnt refresh automatically when you click thanks.
You can use this code to make the page refresh when a user hits the thanks button
Go to style manager>choose your theme>edit templates>post thank you hack templetes>post thanks button
And replace everything with this
Code:
<A HREF="javascript:history.go(0)"><a href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[enable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid},</A> <vb:if condition="$vboptions[post_groans_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button">{vb:rawphrase post_thanks_thanks}</a>
<span class="seperator" id="post_thanks_separator_{vb:raw post.postid}" <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if>> </span>
Hope this helps
|
what version are you using ?
your
post_thanks_postbit_info
should look like this..
Code:
<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>
Quote:
Originally Posted by mikesafl
Need help with this please
|