Customizing ***New Signup*** email - possible?

Discussion in 'Templates customization' started by willygee, Jan 29, 2007.

  1. willygee

    willygee New Member

    Joined:
    Jan 11, 2007
    Messages:
    3
    Hi - My client wants to add some info to the email that is sent to admin when someone signs up for a free product - is this possible?

    thanks!
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Sure, edit e-mail template at aMember CP -> Setup -> E-Mail
  3. agrv8tor

    agrv8tor New Member

    Joined:
    Oct 22, 2006
    Messages:
    5
    I would like to do this as well, so I can have the members name appear in the ***New Signup*** email. However, there is no link to edit this email in the setup->email area. Additionally, I browsed into the database in the email_template table and there does not appear to be an email template for this message there. Is it hard-coded in one of the modules?
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You need to edit /amember/plugins/payment/free/free.inc.php:
    PHP:
            mail_admin("
            New user was signed up today..
            Please login and check it:
            
    $admin_url/users.php?action=edit_payment&payment_id=$payment_id&member_id=$member_id
            "
    "*** New Signup ***");

  5. severt

    severt New Member

    Joined:
    Dec 23, 2008
    Messages:
    21
    I want this as well. What do I need to change if I want to have something like:

    New user signup:
    [firstname]
    [lastname]
    [e-mail]

    Thanks,
    Dennis
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Here is code:
    Code:
           $user = $GLOBALS[db]->get_user($member_id);
            mail_admin("
            New user was signed up today..
            ".$user['name_f']."
            ".$user['name_l']."
            ".$user['email']."
    
            Please login and check it:
            $admin_url/users.php?action=edit_payment&payment_id=$payment_id&member_id=$member_id
            ", "*** New Signup ***");  
    
  7. severt

    severt New Member

    Joined:
    Dec 23, 2008
    Messages:
    21
    Thanks, it works!

Share This Page