Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: byon on April 21, 2007, 08:20:20 AM

Title: $user_profile
Post by: byon on April 21, 2007, 08:20:20 AM
Hi there,

Where can i find $user_profile array so that i can modify the fields in there?

Thanks.

Just for sidekicks, i'm trying to add customised fields into index.php?action=profile, so that when the profile page loads, the field that is not empty will have information from the same table (smf_members).
Title: Re: $user_profile
Post by: Orstio on April 21, 2007, 08:54:19 AM
Why not just use the Custom Profile Fields mod?

http://custom.simplemachines.org/mods/index.php?mod=319
Title: Re: $user_profile
Post by: byon on April 21, 2007, 10:51:33 AM
it's not fully flexible for what im doing.
Title: Re: $user_profile
Post by: codenaught on April 21, 2007, 11:25:45 AM
The $user_profile array is setup in Sources/Load.php with the loadMemberData (http://support.simplemachines.org/function_db/index.php?action=view_function;function=58) function.
Title: Re: $user_profile
Post by: byon on April 23, 2007, 12:23:00 AM
thanks. found it. :)