Quote:
Originally Posted by sitwi
I'm afraid I'm another one with the alignment issue - and I've been right through this thread, tried various solutions, and I'm still stumped. Currently I have my post_thanks_postbit_info as:
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:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd {vb:stylevar left};">{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>
... but still a slight misalignment on the last field:
It's a customised template (default style works fine). Does anyone have any suggestions, please?
|
did you try this ?
https://vborg.vbsupport.ru/showpost....postcount=2670
Quote:
Originally Posted by Valter
channelfuse and Hippy, Thanks for the fixes.
|
Valter thanks , Back at you for all your help @vb.org I'm glad I could help..
Quote:
Originally Posted by Ary Braga
Well.
How to remove the thanks made by a particular User.
I have to remove only the thanks received by a single User.
Eg: Liked 1245 time in 896 post(s)
I'm using Post Thank you Hack latest version.
Please no need remove the code, only thanked votes. (clear table content only, to this individual user).
In other words, I need to reset the count of received Thanks.
In "Post Thank You Hack" installed only is possible to remove the User Thanks given
Any Help is welcome.
Regards.
|
what archive are you using ?
your
post_thanks_postbits should look like this
Code:
<div class="postbody"<vb:if condition="$vboptions['legacypostbit']"> style="margin-{vb:stylevar left}: 0"</vb:if>>
<div class="postrow">
<vb:if condition="$bbuserinfo['usergroupid'] == 6 || $post['show_thanks_remove_option']">
<div class="smallfont" style="float:{vb:stylevar right}">
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
<a href="post_thanks.php?do=post_thanks_remove_all&p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
</vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 6 && $post['show_thanks_remove_option']">
|
</vb:if>
<vb:if condition="$post['show_thanks_remove_option']">
<a href="post_thanks.php?do=post_thanks_remove_user&p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
</vb:if>
</div>
</vb:if>
<h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
<vb:if condition="$post['post_thanks_amount'] == 1">
{vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
<vb:else />
{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
</vb:if>
</h2>
<vb:if condition="$post['post_thanks_amount'] > 10">
<style type="text/css">
.togList
{
font-family: verdana;
}
.togList dt
{
cursor: pointer; cursor: hand;
}
html.isJS .togList dd
{
display: none;
}
</style>
<script type="text/javascript">
/* Only set closed if JS-enabled */
document.getElementsByTagName('html')[0].className = 'isJS';
function tog(dt)
{
var display, dd=dt;
/* get dd */
do{ dd = dd.nextSibling } while(dd.tagName!='DD');
toOpen =!dd.style.display;
dd.style.display = toOpen? 'block':''
dt.getElementsByTagName('span')[0].innerHTML
= toOpen? '-':'+' ;
}
</script>
<dl class="togList">
<dt onclick="tog(this)"><center><font style="font-size:12px"><span>+</span> Show/Hide list of the thanked</font></center></dt>
<dd>
<br />
<span id="thanks">
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</span>
</dd>
</dl>
<vb:else />
<span id="thanks">
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</span>
</vb:if>
</div>
</div>
<hr />
Quote:
Originally Posted by tricksodave
I was using a computer from work, must of been that....sorry for the hassle
|
no problems
glad it worked out