Log in

View Full Version : How to update a profile field from PHP


eduardobarcello
04-27-2007, 12:00 PM
Hi all,
From the mod im writting, I'm trying to do the following to update the user's custom profile field 'field10'.

$vbulletin->userinfo['field10']="xxxxxx";

It isnt working. Is there a specific process to use when updating user's profile fields?

Thanks!

Dismounted
04-28-2007, 04:47 AM
That only changes the variable created, not the actual data stored in the database. You will need to query the database and change the information from a query.