Advertisement:

Author Topic: [SMF 2.0] Custom Profile Fields - Extra Pages?  (Read 2753 times)

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,240
  • Gender: Male
[SMF 2.0] Custom Profile Fields - Extra Pages?
« 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?

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,599
  • Gender: Male
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #1 on: April 13, 2010, 07:50:04 PM »
Ultimate Profile?

BTW...do you have to say "Hey everyone," on every topic you created?
“There is no god, and that’s the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Offline Yağız...

  • SMF Super Hero
  • *******
  • Posts: 10,811
  • Gender: Male
    • MMO Browser
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #2 on: April 13, 2010, 08:11:26 PM »
You can look into /Sources/Profile-Modify.php setupProfileContext() function.
« Last Edit: April 14, 2010, 12:15:27 PM by Yağız... »

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,240
  • Gender: Male
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #3 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 ;)

Offline Exlaxl

  • Newbie
  • *
  • Posts: 9
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #4 on: April 14, 2010, 10:53:21 AM »
Hey everone...


made me grinn  ;D

Offline andrew84uk

  • Semi-Newbie
  • *
  • Posts: 32
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #5 on: April 16, 2010, 10:52:30 AM »
Hey everyone,



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

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,240
  • Gender: Male
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #6 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.

Offline Yağız...

  • SMF Super Hero
  • *******
  • Posts: 10,811
  • Gender: Male
    • MMO Browser
Re: [SMF 2.0] Custom Profile Fields - Extra Pages?
« Reply #7 on: April 16, 2010, 01:30:34 PM »
loadCustomFields($user_info['id'], 'forumProfile');