Manual SQL Insert into amember_members

Discussion in 'Integration' started by cyang126, Jan 19, 2010.

  1. cyang126

    cyang126 New Member

    Joined:
    Nov 7, 2009
    Messages:
    1
    Hi Support,

    I was wondering can I manually insert data into amember_members & amember_payments table through SQL Insert into statement, then amember pro will propagate the user info to MODx tables?

    I need to handel creating the membership in this fashion because I also need to insert some data into custom tables, which is not handle by the amember pro/MODx plugin.

    Do I need to create my own plug-in? What is the easist way to do so?

    Charles
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Yes you should do this via a custom plugin otherwise none of the aMember triggers will occur (on new user, on completed payment, etc) to propagate to the various plugins (protection, etc) and trigger events such as mailings, etc.

    You can get information on creating your own plugin from the manual here:

    http://manual.amember.com/Creating_New_Integration_Plugins

Share This Page