Added new field to ACP, Doesn't Update

  • Alright guys, this is my problem right now. I added a field to the AdminCP UserEdit Form so it shows and updates ActivityPoints.


    I have the default setting so you can see how many ActivityPoints you currently have, but once i go ahead and update it to say....200 or some kind of number, it never updates. Just goes back to whatever it used to be.


    woltlab.com/attachment/29573/


    I know it has to do with two files: UserAddForm.class.php and UserEditForm.Class.php

  • Never ever edit PHP files which are not your own files. You have to insert and handle this field using an event listener. Check out the technical documentation for basic information about event listeners. There is also a tutorial, but it is in German and I don't think Google Translator could translate it well.