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.