How do I update custom profile fields in code?
I'm trying to write a plugin for my forum about an MMO that gets information about my users' main character and puts them in some hidden custom profile fields.

I'm merrily chugging along on this project but hit a surprising roadblock: I can't find any way to actually update the custom fields themselves from PHP code! Am I missing something obvious, or is it even possible?
Which part are you wanting to update? Adding them, or just changing the data?

Custom Profile Fields' information is stored in the mybb_userfields table. ufid is the user's user ID. fid(x) is the corresponding id to the field in the mybb_profilefields table.
So I have to directly update the database myself? There isn't a built in method to do that?

Forum Jump:

Users browsing this thread: 1 Guest(s)