![]() |
Custom Profile Fields
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 |
Whoops! Please move to : https://vborg.vbsupport.ru/forumdisp...?s=&forumid=27
|
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?
|
Yes, although IIRC the fields start at 5. Look at the database or the id when adding the field.
|
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.
|
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?
|
$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]. |
Okay, I must've confused the tags. Thanks for the help.
|
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?
|
All times are GMT. The time now is 01:10 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|