vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Gender In postbit (https://vborg.vbsupport.ru/showthread.php?t=88773)

contramontanum 04-20-2004 04:26 PM

Thanks! :)

lazserus 04-21-2004 10:08 PM

This is exactly what I'm looking for, but for some reason my images aren't showing up. I think i know what the problem is. I'm using the images_old directory for my images and I think $stylevar[imgdir_misc] calls upon vB's default image dir. I'm not much of a coder, so I'm not entirely sure how to make [imgdir_misc] point to the old one. I assumed the $stylevar would tell it to follow which ever directory the particular style is using, but it doesn't seem to reflect that. Ideas? I have the gender_male.gif and gender_female.gif in both the default vB images directory AND the images_old dir.

lazserus 04-25-2004 12:18 AM

bump

Zachery 04-25-2004 01:22 AM

just change the image path....

Brad 04-25-2004 03:49 AM

Zak can you put this in a text file?, thanks.

lazserus 05-04-2004 04:24 PM

Didn't work. Now, maybe I can't combine a normal HTML path with vB code (which is just PHP, no?). This is what I have setup:
HTML Code:

<if condition="$post[field8] != Undisclosed"><div>Gender: $post[field8] <img src="http://www.armageddononline.org/forums/images_old/misc/gender_$post[field8].gif" alt="$post[field8]"/></div></if>
The src is correct, but it still won't work. I guess I could set it up w/o the image, but I figured the image would be kind of neat. I'm not really sure what the problem is at this point. I've got the images in every single images directory and vB still produces X's. I've used the default code and also the code above and the results never change.

moonclamp 05-18-2004 09:42 AM

works fine for me

Except if a member is deleted the picture turns into a red x ... can the information be retained if a member leaves or can the info be removed completely from the postbit?

I guess I could always add 1pixel image but that is more of a workaround than a solution

(Oh and first post so hello there)

imported_Wayne2k1.com 05-21-2004 08:50 AM

Installed ;)

[H]Dazz 05-29-2004 01:00 PM

I can't seem to get this to work... I think it has something to do with having RPG stats hack installed as well... :(

imported_BeasTboyz 05-31-2004 02:34 AM

Any Idea why even if the user has chosen to not answer the question (i.e. left the field blank) the "Gender:" info still shows up under their name, there is just nothing next to it. Here is what I have (the all text version) :

HTML Code:

<if condition="$post[field6] != Undisclosed"><div>Bike: $post[field6]</div></if>


All times are GMT. The time now is 08:53 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.03022 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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