Need to Add One Query Upon Successful Registration

Discussion in 'Installation' started by resteve, Dec 7, 2008.

  1. resteve

    resteve New Member

    Joined:
    Dec 7, 2008
    Messages:
    8
    So I just need to add one query to execute when someone successfully registers using AMember. Where should I look at first?

    It's just a simple query to add a new record in a table with two columns - an ID and the member_id.

    Thanks in advance.
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Assuming they are registered via a product add, the best way IMO to do this to maintain upgrade compatibility would be via a plugin in a "function subscription_added($member_id, $product_id,$member)" block
  3. resteve

    resteve New Member

    Joined:
    Dec 7, 2008
    Messages:
    8
    So it's possible; cool! I'm going to read up on how to do this - I just downloaded it today and am still learning on how it all works.

Share This Page