View Full Version : Postbit info editing
dtommy79
04-14-2010, 09:23 AM
Hi,
How can I put the postbit info in boxes like on this picture:
https://vborg.vbsupport.ru/external/2010/04/48.png
NoKSouLz
04-14-2010, 09:24 AM
Edit the postbit template file in your style.
Either add them into a table each profile field and customize the table or enwrap them into div coding and style the divs.
dtommy79
04-14-2010, 01:35 PM
Hi,
Thanks, I almost done with it.
Check this image:
https://vborg.vbsupport.ru/external/2010/04/47.png
I managed to do it with all of them except the "Thanked 230 Times in 146 Posts" part.
I'm trying to edit the "post_thanks_postbit_info" template but i can't figure out how to do it. For the "Thanks" part I used a class called "postbitinfo_table" like this:
<vb:if condition="$post['userid']">
<div class="postbitinfo_table"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<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>
</vb:if>
</vb:if>
can anyone suggest how I could finish it?
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.