News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

$context['user'] for custom profile

Started by asmith, October 10, 2008, 09:31:38 AM

Previous topic - Next topic

asmith

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)

ccbtimewiz

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?

asmith

No such array.  I print_r() the context[user], tere's no options array in it.

i'll try to contact mod :)

Nathaniel

Any luck with that asmith? Do you still need help?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Advertisement: