profile_editprofile
Returns edit profile form related data. Such as birthday and Custom profile fields.

Parameters
None.

Return
response.HTML is an array of following items:
  • birthdaybit - [Array] The birthday information:
    • birthdate - [String] Birthday.
    • dayselected - [Array] In format dayofbirth=>'selected="selected"'.
    • monthselected - [Array] In format monthofbirth=>'selected="selected"'.
    • year - [Integer] Year of birth.
    • sbselected - [Array] Birthday privacy. In format privacyid=>'selected="selected"'. privacyid has the following possible values:
      • 0 - Hide Age and Date of Birth
      • 1 - Display Only Age
      • 2 - Display Age and Full Date of Birth
      • 3 - Display Only Day and Month of Birth

  • customfields - [Array]
    • required - [Array] Required profile fields. It's a Custom Profile Fields Array.
    • regular - [Array] Optional profile fields. It's a Custom Profile Fields Array.

bbuserinfo is an array of following items:
  • username - [String] The username of logged-in user.
  • parentemail - [String] The parent email (for COPPA) of logged-in user.
  • usertitle - [String] The user title of logged-in user.
  • homepage - [String] The homepage of logged-in user.
  • icq - [String] The ICQ number of logged-in user.
  • aim - [String] The AIM account of logged-in user.
  • msn - [String] The Windows Live passport of logged-in user.
  • yahoo - [String] The YAHOO! account of logged-in user.
  • skype - [String] The Skype ID of logged-in user.
  • coppauser - [Boolean] Whether the user requires COPPA authentication.

show is an array of following items:
  • customtitleoption - Whether the logged-in user has permission to custom user title.
  • birthday_readonly - Whether the birthday field is read only.
  • birthday_optional - Whether the birthday field is optional.

Possible Errors
  • No Permission Errors


Require Signature
Yes.

###profile_updateprofile
Update the user's profile.

Parameters
POST (Optional)
  • coppauser - [Boolean] True if the user is a COPPA user.
  • parentemail - [String] New parent email for COPPA.
  • aim - [String] New AIM account.
  • yahoo - [String] New YAHOO! account.
  • icq - [String] New ICQ number.
  • msn - [String] New Windows Live passport.
  • skype - [String] New Skype ID.
  • homepage - [String] New homepage.
  • resettitle - [Boolean] Whether to reset custom user title.
  • customtext - [String] New custom user title.
  • day - [Integer] Day of birth.
  • month - [Integer] Month of birth.
  • year - [Integer] Year of birth.
  • showbirthday - [Integer] Birthday privacy. Possible values:
    • 0 - Hide Age and Date of Birth
    • 1 - Display Only Age
    • 2 - Display Age and Full Date of Birth
    • 3 - Display Only Day and Month of Birth

  • userfield - [Array] Values of custom profile fields.

Return
If user profile updating is successful, the method will return the following item:
  • response.errormessage.0 - 'redirect_updatethanks' if user profile updating is successful. Other value means an unexpected error happens.

Possible Errors
  • No Permission Errors

Require Signature
Yes.

###profile_editpassword
Return edit email/password form related data.

Parameters
None.

Return
show is an array of following items:
  • edit_email_field - Whether to show edit email field.
  • password_optional - Whether new password field is optional.

Possible Errors
  • No Permission Errors


Require Signature
Yes.

###profile_updatepassword
Update the user's password.

Parameters POST (Required) One of t...