vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Show Gender In Postbit (https://vborg.vbsupport.ru/showthread.php?t=97386)

harry1951 10-22-2005 05:18 PM

harry *clicks install* with a big hug for Kerry-Anne :-)

Chadi 11-24-2005 11:37 PM

Please look. It messed up my postbit_legacy and I know for sure I added them all right.

peterska2 11-24-2005 11:43 PM

what version are you running?

You can either drop the $vbphrase from your template or move the code to before the IM icons.

Chadi 11-24-2005 11:45 PM

I just installed it 15 minutes ago so latest version.

Please tell me where "before the IM icons"? I don't want to mess up. I'm not exactly pro on coding so I just want to make sure. Thanks

peterska2 11-25-2005 12:01 AM

in your postbit_legacy template

FIND

Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
ADD ABOVE

Code:

<if condition="$post[fieldx]"><div>$vbphrase[gender]&nbsp<img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></div></if>
Make sure you change the x's to the field number on your site.

Chadi 11-25-2005 12:04 AM

It keeps trying to show the country flags instead of male/female image. Why is that?

Chadi 11-25-2005 12:06 AM

This is the code portion:

Code:

        <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
<if condition="$post[field7]"><div>$vbphrase[gender]&nbsp<img src="$stylevar[imgdir_misc]/$post[field7].gif" alt="$post[field7]" /></div></if>
                                <!-- Begin IM Status Online Hack -->


peterska2 11-25-2005 12:19 AM

make sure that field 7 is your gender profile field. if it is wanting to show the flags then it is the wrong number so go back into your profile field manager and get the correct field number.

athoob 11-30-2005 11:49 PM

installed :) thanks

Mastar 12-10-2005 07:58 PM

does anyone have anymore male and female gifs animated if possible?


All times are GMT. The time now is 09:56 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.01160 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete