A new member hook?

Discussion in 'Customization & add-ons' started by developer, Dec 11, 2008.

  1. developer

    developer New Member

    Joined:
    Dec 11, 2008
    Messages:
    4
    Hi.
    I'm looking to integrate amember with a 3rd party application.
    I think that the best way of doing it is to use a custom-made plugin since it's very convenient and pretty easy. The problem is that there is a hook for updating member's subscription plugin_added($member_id, $product_id, $member) which I also need but I'd like to know if there's a hook that works when a new member simply gets registered without subscribing to any of the products.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Its possible to call the hook from within signup.php
    I just wrote a plugin that adds a user to a pending product so that incomplete signups can be put on a product email autosequence.

    After:
    if ($member_id < 0) {
    $member_id = $db->add_pending_user($vars);

    Add:
    ///mod to add to pending product
    add_pending($member_id);

    This plugin will only be available at a low price to my premium members.

    David

Share This Page