2008-08-04, 10:48 AM
Hello,
I'm new in writing plugins into mybb, php i know quite-well (but i hate). I have to add few fields into profile, i done the "templates action", so, input form i have, but i can't save it into db. It's missing hook in the middle of "usercp_do_profile_start" and "usercp_do_profile_end". You know, after $user declaration, before saving it into db. So, my question is: How to append new items into $user before saving?
Regards,
Kacper.
I'm new in writing plugins into mybb, php i know quite-well (but i hate). I have to add few fields into profile, i done the "templates action", so, input form i have, but i can't save it into db. It's missing hook in the middle of "usercp_do_profile_start" and "usercp_do_profile_end". You know, after $user declaration, before saving it into db. So, my question is: How to append new items into $user before saving?
Regards,
Kacper.