View Full Version : Custom Profile Fields
Kaelon
06-14-2002, 01:37 AM
Hi, Everybody,
I'm redesigning "getinfo", the user profile template, and I wanted to reference a custom profile field directly. How would I do this? Is it just $userinfo[field2] and so on, or do I need to reference it somehow differently?
Thanks!
Regards,
Kaelon
Kaelon
06-14-2002, 02:02 AM
Whoops! Please move to : https://vborg.vbsupport.ru/forumdisplay.php?s=&forumid=27
kaotic
04-13-2003, 02:00 AM
I've been trying to accomplish this task for a while now, but I haven't been able to figure it out either. Does anybody know how to do this?
filburt1
04-13-2003, 02:24 AM
Yes, although IIRC the fields start at 5. Look at the database or the id when adding the field.
Erwin
04-13-2003, 02:24 AM
What's wrong with $userinfo[fieldx]? Should work. You can set it the custom profile id NOT to show in your Admin CP, then manually add it to your getinfo template.
kaotic
04-13-2003, 03:10 AM
The $userinfo[fieldx] thing doesn't seem to work within profiles, but it does in postbits. Either that, or I'm doing something wrong. The custom field I wanted in the profile was 7, so I added $userinfo[field7] into the getinfo template, but nothing showed up. Any Ideas?
Erwin
04-13-2003, 04:56 AM
$userinfo[fieldx] DOES work in the getinfo template. I use it all the time.
Make sure you have entered a value in that custom profile field.
In postbit, it's not $userinfo[fieldx], it should be $post[fieldx].
kaotic
04-13-2003, 11:27 AM
Okay, I must've confused the tags. Thanks for the help.
kaotic
04-18-2003, 12:53 AM
Yikes, I just tested it again and it still doesn't show up. I'm using $userinfo[fieldx] in getinfo, but it doesn't seem to work. Any ideas?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.