Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: tdog0001 on May 18, 2011, 10:52:32 PM

Title: Simple Question
Post by: tdog0001 on May 18, 2011, 10:52:32 PM
How can I access a custom profile field to use in other parts of the code?

I've been trying for awhile different variables with different options, and I just can't seem to find the right combination.

I'm working with SMF 2.0 RC5. I'm just writing a simple BBC for my forum that displays the content of said profile field, so I don't need much help there.

I'm probably just being stupid and the answer is right in front of me lol.
Title: Re: Simple Question
Post by: ascaland on May 19, 2011, 04:54:38 PM
To access the field you can use $user_settings for the own user. For others, its avilable through $memberContext. :)