edgeless
03-08-2013, 10:15 PM
I did (or am trying to do) this modification on vB 4.2.0:
https://vborg.vbsupport.ru/showthread.php?t=170238
I can't seem to get the bottom cell to extend down over the 'Thanked X Times in X Posts' field. I would sure appreciate it if someone could look at my tag placement and help me out.
https://vborg.vbsupport.ru/external/2013/03/44.png
In Post Thank You Hack's post_thanks_postbit_info, I have:
<vb:if condition="$post['userid']">
<div class="postinfo_thanks"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<div class="postinfo_thanked"><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}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd></else>
</vb:if>
</div>
</vb:if>
And in additional.css, I have:
.postinfo {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 0px;
padding: 2px;
color: #AA7025;
background: #FAFAFA;
font-size: 10px;
}
.postinfo_thanks {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 0px;
padding: 2px;
color: #AA7025;
background: #FAFAFA;
font-size: 10px;
}
.postinfo_thanked {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 0px;
padding: 2px;
color: #AA7025;
background: #FAFAFA;
font-size: 10px;
}
Then, of course, in postbit_legacy I have the necessary references to .postinfo in additional.css.
Any guidance will be much appreciated!
https://vborg.vbsupport.ru/showthread.php?t=170238
I can't seem to get the bottom cell to extend down over the 'Thanked X Times in X Posts' field. I would sure appreciate it if someone could look at my tag placement and help me out.
https://vborg.vbsupport.ru/external/2013/03/44.png
In Post Thank You Hack's post_thanks_postbit_info, I have:
<vb:if condition="$post['userid']">
<div class="postinfo_thanks"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<div class="postinfo_thanked"><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}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd></else>
</vb:if>
</div>
</vb:if>
And in additional.css, I have:
.postinfo {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 0px;
padding: 2px;
color: #AA7025;
background: #FAFAFA;
font-size: 10px;
}
.postinfo_thanks {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 0px;
padding: 2px;
color: #AA7025;
background: #FAFAFA;
font-size: 10px;
}
.postinfo_thanked {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 0px;
padding: 2px;
color: #AA7025;
background: #FAFAFA;
font-size: 10px;
}
Then, of course, in postbit_legacy I have the necessary references to .postinfo in additional.css.
Any guidance will be much appreciated!