Customizing SMF > SMF Coding Discussion
Custom profile fields in a global variable
Alex4108:
Are the custom profile fields in any global variables I can get?
Or do I have to use $smcFunc to pull them out of the database?
CapadY:
take a look at $context[' user']
Arantor:
Where are you trying to use these variables?
Alex4108:
--- Quote from: CapadY on July 17, 2012, 03:45:54 AM ---take a look at $context[' user']
--- End quote ---
Did that, can't find them :(
--- Quote from: Arantor on July 17, 2012, 06:55:18 AM ---Where are you trying to use these variables?
--- End quote ---
Sources/clanmgmt.php (A custom script)
Sources/Staff.php (Staff page mod)
and a few others
CapadY:
Not ?
Try $context[' user_info']
I'm sure it's one of those two.
Navigation
[0] Message Index
[#] Next page
Go to full version