Add fields to "new user" admin email

I would like for my admin user to receive an email with the information from all fields from the Join page. Is this possible?

I checked the "Admin notification - new user joined" email template (below), but it wasn't immediately apparent to me how I can pull in the field info from each Join field.

 

<html><head></head><body style="font: 12px Verdana; color:#000000">
<p>New user <RealName> with email <Email> has joined. His/her ID is <recipientID></p>

<p>--</p>
<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!
<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>

 

Thanks!

Quote · 9 Mar 2012

Just call me the picture of self-sufficiency... I figured it out.

In the file inc/classes/BxDolEmailTemplates, I simply changed this:

            $aResultKeys = array_merge($aResultKeys, array(
                'recipientID' => $aProfile['ID'],
                'RealName'    => $FullName,
                'NickName'      => $aProfile['NickName'],
                'Email'       => $aProfile['Email'],
                'Password'    => $aProfile['Password'],

to this...

            $aResultKeys = array_merge($aResultKeys, array(
                'recipientID' => $aProfile['ID'],
                'RealName'    => $FullName,
                'NickName'      => $aProfile['NickName'],
                'Email'       => $aProfile['Email'],
                'Password'    => $aProfile['Password'],
                'Custom1'      => $aProfile['Custom1'],
                'Custom2'      => $aProfile['Custom2'],

"Custom1" and "Custom2" are the Field ID's in the database.

Hopefully this will help anyone else looking for this type of solution.

Quote · 9 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.