Update Profile Fields (Change Data)

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Post Reply
cheese904
Registered User
Posts: 2
Joined: Wed Feb 16, 2011 2:07 am

Update Profile Fields (Change Data)

Post by cheese904 »

I'm currently working on a website that mostly operates outside of phpBB but is integrated with the phpbb login system so that visitors can use the forums. Due to this, I have a number of custom profile fields set up that I need to be able to display and update outside of phpBB with some sort of code.

I already found this topic on how to display custom profile fields: http://www.phpbb.com/community/viewtopi ... 1&t=730885

I'm using the method explained in the 5th post of that topic and it works perfectly for displaying CPF values. It seems to me that there must also be some kind of built-in TEMPLATE/method in phpBB for updating the data in those fields. That is, to change the value of those fields like with the MySQL UPDATE query.

Thanks
cheese904
Registered User
Posts: 2
Joined: Wed Feb 16, 2011 2:07 am

Re: Update Profile Fields (Change Data)

Post by cheese904 »

I found some information here but I don't know how to use it
http://area51.phpbb.com/docs/code/30x/

I think maybe the update_profile_field_data class could help but I'm not sure what to do with it as far as mixed cp_data
Post Reply