Jump to content

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


3KyNoX

Recommended Posts

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.

Link to comment
Share on other sites

Ok for example, looking at this, and thanks for the class link.

About CP it could be modifying :

- http://community.invisionpower.com/settings/

- and http://community.invisionpower.com/profile/293560-newbie-lac/ for displaying informations to everyones.

But interested anyway to know the route of http://community.invisionpower.com/profile/293560-newbie-lac/?do=edit

Thanks again.

Link to comment
Share on other sites

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.
 

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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