vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Gender not displayed in post bit legacy & how to center the avatar??? (https://vborg.vbsupport.ru/showthread.php?t=251454)

gamerzhut 10-01-2010 07:05 AM

Gender not displayed in post bit legacy & how to center the avatar???
 
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:
PHP Code:

<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']">
            <
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">
[
B]<vb:if condition="$post['field5']"><strong><dt>{vb:rawphrase Gender}</dt></strong><dd>{vb:raw post.field5}</dd></vb:if>[/B]
                
                    <
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 01: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?):
Code:

.postbitlegacy .userinfo .postuseravatar, .postbitlegacy .userinfo .postuseravatar img {
float:none;
text-align:center;


}

3. use css - font-weight: bold

gamerzhut 10-01-2010 02:11 PM

Yes. Got it fixed. Thanks


All times are GMT. The time now is 08:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01236 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete