ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Change behavoiur of new member registration email notifications

February 18, 2011 12:17pm

Subscribe [1]
  • #1 / Feb 18, 2011 12:17pm

    r.smith

    2 posts

    Ok, I am quite new to Expression Engine, we had an outside company do the design work, and now I am left in charge of the site.  Our previous site had some features that did the following when a new member registered on our website.

    1. Email a person in the company with details used when registering
    2. create username for user and email it to them
    3. write a line to a file on the webserver

    Nightly, the file in #3 would be downloaded by a local database server, parsed, and spat out as part of a weekly report.

    I have enabled the bit for EE to send the right person an email when someone registers, but it does not relay enough information.  From what I can tell, EE calls the data from exp_members, but the additional data I need is stored in exp_member_data.  How do I make this data available to:

    1. The template for email notification
    2. admin_notify_reg()

    I want to do this so that:
    1. so the person getting the email doesn’t have to go hunting for the relevant info and
    2. so that my previously working scripts can be put in the function and the file written, downloaded and entered into the DB.

  • #2 / Feb 18, 2011 5:03pm

    Ingmar

    29245 posts

    Welcome to the forums, r.smith!

    I have enabled the bit for EE to send the right person an email when someone registers, but it does not relay enough information.  From what I can tell, EE calls the data from exp_members, but the additional data I need is stored in exp_member_data.

    I am afraid there is no easy way to put this data in the notification email. You’d probably need an extension or some custom code. It might be easier to use a MySQL query in an external script.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases