PDA

View Full Version : Extra info under user name from User Profile Field


Sal Collaziano
01-02-2003, 02:02 AM
Hi all. I was wondering if someone could help me find the hack/mod that allows vB to pull info from one of the User Profile Fields. For example, I'd like to ask the question, "What is your favorite rock band" and have it appear as below:

Registered: Apr 2002
Location: Huntington Beach, Ca
Favorite Band: Metallica

Thank you...

AZone
01-02-2003, 04:05 AM
Hack is not needed. Just insert code $post[fieldX] into Postbit template after Location or other... (X is number of your User Profile Field - show link "edit" of neccessary field for info)

Look - in Postbit template code Location is Location: $post[field2]...

Sal Collaziano
01-02-2003, 05:04 AM
Thank you very much! That was so easy!! :D

Jwolfe
01-07-2003, 09:44 PM
Originally posted by AZone
Hack is not needed. Just insert code $post[fieldX] into Postbit template after Location or other... (X is number of your User Profile Field - show link "edit" of neccessary field for info)

Look - in Postbit template code Location is Location: $post[field2]...

I can not find this code. Where is the postbit template code located?

Thanks!

Dean C
01-08-2003, 03:45 PM
In the 'postbit' template hehe :)

- miSt

deaconxgp
12-20-2003, 07:29 PM
everyone will hate me for resurrecting this old thread but is there a way to add a field to the profile but ONLY in a certain section of the forum? meaning if you have X section and Y section..is there a way for the extra profile field to only show when they access the X section of the forum?

filburt1
12-20-2003, 07:32 PM
Only by hacking or using conditionals in templates (a feature built into vB3, and a hack exists for vB2).

deaconxgp
12-20-2003, 07:33 PM
cool..is the hack for vB2 available in the search here..because i'll search for it. :)

Dean C
12-21-2003, 10:35 AM
Search for the dynamic templates by Logician :)

LLFan
12-23-2003, 07:26 PM
I can't get this. I'm using 3.0 gamma1 and am in postbit template. I try adding: 'Operating System: $post[field5]<br>' where I want it, but it will not show. Any ideas?