PDA

View Full Version : Custom Profile Fields on vB 3.7


tehQspm
01-21-2008, 08:49 PM
I'm trying to figure out how to manually call custom profile fields in vB 3.7 but I understand those are coded differently now so $userinfo[fieldx] no longer works.

I did manage to find a way by using <if condition="$profilefield['title'] == 'Something'">$profilefield[value] to manually call a profile field by its title. However this only works in the "About Me" tab in the member profiles (using the memberinfo_profilefield template). I wanted to add a few custom profile fields to the "Contact Info" tab but nothing I try seems to work.

Anyone had any luck with these?

Freesteyelz
01-22-2008, 12:43 AM
Hmm...In the MEMBERINFO templates I use $userinfo[fieldx] for Custom Profile Fields.

tehQspm
01-22-2008, 12:51 AM
in 3.7? (even though that is still in Beta right now)

Freesteyelz
01-22-2008, 01:00 AM
Yeah...There are code differences but with Custom Profile Fields they seem to work the same. I've been testing Beta 3 for a month now. :)

tehQspm
01-22-2008, 02:42 AM
which template did you put it into?

Freesteyelz
01-22-2008, 07:21 AM
Hmm...And now with Beta 4. :D

I placed $userinfo[fieldx] to templates MEMBERINFO, memberinfo_block_statistics, memberinfo_block_aboutme and memberinfo_block_contactinfo. Keep in mind that these were Custom Profile Fields I created.

tehQspm
01-22-2008, 08:53 AM
yeah I was messing around with it and got it to work but I was trying to put it into memberinfo_profilefield for some weird reason.

Thanks for that!

Freesteyelz
01-22-2008, 07:24 PM
Np. :)