PDA

View Full Version : Sex and age after username?


danielwerner2
06-20-2010, 01:26 PM
Hi!

I'm building a community, and I don't want users' sex and ages to be displayed as separate lines in the postbit. Instead I would like it to be like this:

Michael (M30)

... for a male called Michael that's 30 years old (and F30 for a female). You get the idea.

How can this be done? And please, talk to me like if I was 5 years old. I am really new at php and all the vbulletin-settings. :)

Thanks!

ChopSuey
06-20-2010, 02:34 PM
Custom profile fields and editing of the posbit or legacy template depending on which you choose.

danielwerner2
06-20-2010, 02:42 PM
Thanks, but how? I manage to get the age-part moved to below the username, but I can't:

1. Make the age/sex-part AFTER the username (before the online/offline-image)

2. Create a new condition which is M for males and F for females

ChopSuey
06-20-2010, 02:44 PM
1. edit postbit legacy. add your profile field code below it?

2. What condition, like IF Condition? If you want that, you'd need to make seperate usergroups.

danielwerner2
06-20-2010, 03:04 PM
I think I got it to work... A question, though:

Is it possible to make user-selections in their profiles (Male/Female) only display as M/F in the postbit? Or will it ALWAYS display as exactly what the user selected?

ChopSuey
06-20-2010, 03:35 PM
Yes.....

danielwerner2
06-20-2010, 03:37 PM
.................................................. So is there any way to solve this?

ChopSuey
06-20-2010, 03:46 PM
I don't know what your code looks like so yeah.....