update_member
Purpose: Update a member's profile/details.
Availability: IPB SDK 1.0
Updates memberid's profile. The array toupdate accepts the following array keys: "avatar", "avatar_size", "aim_name", "icq_number", "location", "signature", "website", "yahoo", "title", "interests", "hide_email", "email_pm", "skin", "language", "msnname", "view_sigs", "view_img", "view_avs", "view_pop", "bday_day", "bday_month", "bday_year", "dst_in_use" and "integ_msg".
$SDK->update_member(array("icq_number" => "1337"));
/* Sets Location to United Kingdom and Website to http://localhost */
$update = array(
"location" => "United Kingdom",
"website" => "http://localhost/",
);
$SDK->update_member($update);
If no value is passed for the second parameter, memberid, the currently logged in member's profile will be updated. The function will refuse to update the member's profile if it is disallowed in the group setting, unless TRUE is passed as the third argument.
Returns TRUE on success, FALSE on failiure.
$update = array(
"location" => "Sedna",
);
$SDK->update_member($update, 3);
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
There are currently no user contributed notes for this page.