I'm using a custom page in SimplePortal that presents the user with an application form (for a gaming league).
I'm trying to pull as much data from their actual forum registration as possible. So far I have it automatically pulling their member name... like this...
array(
'caption' => "What is your MWO Pilot Name / Callsign",
'name' => "nickname",
'type' => "text",
'options' => "",
'defaultvalue' => $context["user"]["name"],
'required' => 1
),
What I can NOT find is where the member location is stored. $member["location"] doesn't work.
Any ideas on this?
EDIT: Yes, I have done NUMEROUS searches on trying to solve this issue and so far haven't found anything that works.
$context['member']['location']
That only works in the profile area... (since that's the only place $context['member'] is actually declared)
You might actually find it in $user_settings['location'] assuming it's the default field and not a custom field or anything.
Lainaus käyttäjältä: Arantor - syyskuu 08, 2013, 03:57:09 IP
That only works in the profile area... (since that's the only place $context['member'] is actually declared)
You might actually find it in $user_settings['location'] assuming it's the default field and not a custom field or anything.
Thank you sir! You saved from Headache Round 2 after last nights searching. Which there was a manual were all this kinda information was stored or at least a manual that showed up during searches for it LOL
The problem with a manual is that no-one actually wants to write it.