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)

imported_badpacket 05-31-2004 05:03 PM

Quote:

Originally Posted by BeasTboyz
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>

In your User Profile Manager set the default to "yes but no first blank option"

*admincp > user profile field > profile manager > gender > edit

and hello all :)

hope that works for you Beastboyz..

imported_BeasTboyz 05-31-2004 08:52 PM

Quote:

Originally Posted by badpacket
In your User Profile Manager set the default to "yes but no first blank option"

*admincp > user profile field > profile manager > gender > edit

and hello all :)

hope that works for you Beastboyz..

Well, that is only an option for the drop down boxes with multiple choices. Since mine will be "real name" and "Bike" options, I can't use a drop down box. Any ideas on how to do this with a single line text box?

Thanks everyone :)

Matt

imported_badpacket 05-31-2004 09:27 PM

Maybe make it a required field? if they dont have a bike enter N/A I guess.. *shrug* Maybe somoene will come back with some code that will default to "whatever" if left blank. :D

BeatificFaith 06-01-2004 07:52 PM

Hi, I'm trying to use this in the latest version of vbulletin but instead of the graphic showing up it says gender: female female. Can someone please help?

tnguy3n 06-01-2004 09:24 PM

Quote:

Originally Posted by badpacket
Maybe make it a required field? if they dont have a bike enter N/A I guess.. *shrug* Maybe somoene will come back with some code that will default to "whatever" if left blank. :D

run this query in phpMyAdmin or AdminCP
HTML Code:

UPDATE `userfield` SET `fieldX` = 'Undisclosed';
adjust that fieldX with your gender field.

Silverstangs 06-26-2004 02:22 AM

Works Great, I wish I thought of it!!!!

gmarik 06-26-2004 11:01 AM

smaal but good

Jacko 07-07-2004 06:13 PM

i try to add the $gender to my postbit and i want it next to my username but it puts it on a new line under the username??

anyway of getting to align with the username???? i have checked for <br> in code but there isnt any.

ame when i put the stars hack on my post bit too. i am still using original postbit cose.

http://www.carstyledirect.com/forum/ - to see example


thanks

Jacko 07-07-2004 09:01 PM

ignore me i sorted it now.

imported_uber 07-30-2004 02:11 PM

I seem to remember releasing this exact same mod for Gamma & RC. Zach's response to it was

Quote:

Originally Posted by Zachery
and i could think of a few ways to improve it also

Quote:

Originally Posted by Zachery
well for one id use an if condtioin to only alow this filed to be editable on registar. or if they dont choose one. this way we cant have our trolls confucsing us and such

Your mod doesn't seem to do this at all, just a re-hash of previous ideas.


All times are GMT. The time now is 05:47 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.01229 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_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