Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: asmith on October 10, 2008, 09:31:38 AM

Title: $context['user'] for custom profile
Post by: asmith on October 10, 2008, 09:31:38 AM
Hey guys

with $context['user'] I have all the users data, is there any similar variable that gives me his custom profile options? (the variable and value in theme table)
Title: Re: $context['user'] for custom profile
Post by: ccbtimewiz on October 10, 2008, 11:50:38 AM
AFAIK the member options are loaded through the options array.

Such as $context['user']['options'][]

Though I'm not entirely sure I understand what you mean, as SMF 1.1.x doesn't have custom profile fields. Perhaps asking the mod author?
Title: Re: $context['user'] for custom profile
Post by: asmith on October 10, 2008, 03:08:48 PM
No such array.  I print_r() the context[user], tere's no options array in it.

i'll try to contact mod :)
Title: Re: $context['user'] for custom profile
Post by: Nathaniel on October 22, 2008, 02:48:31 AM
Any luck with that asmith? Do you still need help?