3KyNoX Posted May 20, 2015 Share Posted May 20, 2015 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 More sharing options...
3KyNoX Posted May 22, 2015 Author Share Posted May 22, 2015 Bump! Link to comment Share on other sites More sharing options...
newbie LAC Posted May 23, 2015 Share Posted May 23, 2015 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 Link to comment Share on other sites More sharing options...
3KyNoX Posted May 23, 2015 Author Share Posted May 23, 2015 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. Link to comment Share on other sites More sharing options...
Daniel F Posted May 23, 2015 Share Posted May 23, 2015 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. Link to comment Share on other sites More sharing options...
3KyNoX Posted May 23, 2015 Author Share Posted May 23, 2015 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 ? Link to comment Share on other sites More sharing options...
newbie LAC Posted May 24, 2015 Share Posted May 24, 2015 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.