Log in

View Full Version : Gender not displayed in post bit legacy & how to center the avatar???


gamerzhut
10-01-2010, 06:05 AM
Hi, i have finished all the required template modification for showing the user gender in postbit legacy. i can see my gender in my profile. in post bit legacy it does't seem to be working :(

My postbit legacy:
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}

<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />

<dl class="userinfo_extra">
<vb:if condition="$post['field5']"><strong><dt>{vb:rawphrase Gender}</dt></strong><dd>{vb:raw post.field5}</dd></vb:if>

<vb:if condition="$post['joindate']"><strong><dt>{vb:rawphrase join_date}</dt></strong><dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><strong><dt>{vb:rawphrase location_perm}</dt></strong><dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><strong><dt>{vb:rawphrase age}</dt></strong><dd>{vb:raw post.age}</dd></vb:if>
<strong><dt>{vb:rawphrase 'posts'}</dt> </strong><dd>{vb:raw post.posts}</dd>


1.please provide me the proper code for sowing gender in post bit legacy
2. How do i center my avatar??
3. How to bold the posts, location, join date in postbit legacy???/
I have tried adding <strong></strong> its not working.
Thank you :)

Lynne
10-01-2010, 12:58 PM
1. Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

2. Try (wasn't this posted over on vb.com?):
.postbitlegacy .userinfo .postuseravatar, .postbitlegacy .userinfo .postuseravatar img {
float:none;
text-align:center;


}



3. use css - font-weight: bold

gamerzhut
10-01-2010, 01:11 PM
Yes. Got it fixed. Thanks