Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 20, 20159 yr 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.
May 23, 20159 yr Hello,What's UserCP? This? Or this?Registration page\applications\core\modules\front\system\register.phpYou could download the file http://community.invisionpower.com/files/file/7331-birthday-in-registration-screen/ for learning
May 23, 20159 yr Author 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=editThanks again.
May 23, 20159 yr 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 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.
May 23, 20159 yr Author 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 ?
May 24, 20159 yr 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.- applications\core\modules\front\system\settings.php- applications\core\modules\front\members\profile.php. But You could create Theme Hook for displaying info
Archived
This topic is now archived and is closed to further replies.