Jump to content

IPS4: Which Classes / Method to Extend for Custom UserCP & Registration


3KyNoX

Recommended Posts

Posted

Hello,

Because documentation not yet ready for IPS4, I'll need some informations about custom work on IPB.

My question today is about a short explaination of what to extend as classes / method for add or modify UserCP and Registration pages and to manage how add custome fields.

Thanks anyway.

Posted

Registry Page would be: IPS\core\modules\front\system\register::buildRegistrationForm

 

The edit profile page is tricky

You COULD set a constant in the profile::edit method, then call the parent (original) method

Then override the form class and add your logic if the constant is set :D

UGLY but working and this way you can override and manipulate everything ;)

 

But i agree, this should be separated ( method or probably an new extension?) to allow hooks to add own fields.
 

Posted

Thanks Daniel for your answer,

the first quote displays :

No permission

Sorry, we can't show this content because you do not have permission to see it.

So maybe I don't have all informations ? :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...