XML-RPC logging users activity

Discussion in 'Integration' started by behaviourneeds, Jan 25, 2012.

  1. behaviourneeds

    behaviourneeds Member

    Joined:
    Jan 26, 2010
    Messages:
    47
    Hi.

    Is it possible to track the users activity in the main amember logs when using XML-RPC - if not, any suggestions on how I can or will I need to 'roll my own'

    amember v3

    Cheers
    Chris
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    No there is no such functionality, so you have to create it yourself.
  3. behaviourneeds

    behaviourneeds Member

    Joined:
    Jan 26, 2010
    Messages:
    47
    Hi Alexander.

    Thanks for letting me know. Another question about the XML-RPC then :- What arguments do I need to pass to 'update_user' to allow me to update the user in the main db

    Thanks
    CHris
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    It accept two arguments:
    $member_id,
    $user - is associative array contains user info.
    Better to use get_user function to get this array first, then change all necessary fields in it and then use update_user to save your modifications in database.

Share This Page