Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Liam. on April 13, 2010, 07:41:36 PM

Title: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: Liam. on April 13, 2010, 07:41:36 PM
Hey everyone,

Using SMF 2.0's custom profile field system, I want to add a new page that my users can edit. This page would allow them to edit details like their Real Name, etc. and anything I set through the custom profile fields system. Just like the "Forum Profile" page works, how would I go about adding a new page?
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: ~DS~ on April 13, 2010, 07:50:04 PM
Ultimate Profile?

BTW...do you have to say "Hey everyone," on every topic you created?
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: Yağız... on April 13, 2010, 08:11:26 PM
You can look into /Sources/Profile-Modify.php setupProfileContext() function.
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: Liam. on April 14, 2010, 08:48:39 AM
Quote
Ultimate Profile?
I want a totally new page. I will be using Ultimate Profile, but I want the place for users to edit it...

Quote
BTW...do you have to say "Hey everyone," on every topic you created?
You don't pay attention to my posts ;P Sometimes I say "Hello everyone," :P But yeah, I generally do, don't know why, just became force of habbit :/

Quote
You can look into /Soruces/Profile-Modify.php setupProfileContext() function.
Soruces? Lol :P Cheers, I'll have a look into that ;)
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: Exlaxl on April 14, 2010, 10:53:21 AM
Hey everone...


made me grinn  ;D
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: andrew84uk on April 16, 2010, 10:52:30 AM
Hey everyone,



 ;D ;D ;D ;D ;D ;D
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: Liam. on April 16, 2010, 01:11:23 PM
Hey everone...


made me grinn  ;D
Hey everyone,



 ;D ;D ;D ;D ;D ;D

SPAM moar?

Also, I had a look and think I got a new page there, but now how to link it with the custom profile fields? That doesn't seem to be working.
Title: Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
Post by: Yağız... on April 16, 2010, 01:30:34 PM
loadCustomFields($user_info['id'], 'forumProfile');