Customizing sign up confirmation???

When people sign up for my site I receive an email that has their username, email address and member number. Is there any way to edit this form so that it includes more information from their sign up form? 

Quote · 8 Nov 2011

customize the email templates in admin - settings- email templates

good luck ...:)

so much to do....
Quote · 8 Nov 2011

Ok. Here is the template for the email I receive each time someone signs up for my site:

 

<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>

 

How do I change it so that it contains other pieces of information from the sign up form?

Quote · 9 Nov 2011
It will require some coding changes in join.php. When I get home, I will post what I did. 12 hour days r killing me, I hope I remember!
http://www.mytikibar.com
Quote · 10 Nov 2011

So this is what I came up with.

add this language key '_someone'  = "SOMEONE"

in the file inc/classes/BxDolEmailTemplates.php

 

around line 123 you'll find....

 

   if($iMemberId != 0) {

            $aProfile = getProfileInfo($iMemberId);

 

add this....

 

$sAvatar = '';

if (ISSET($_COOKIE['memberID']) && 

($aKeys['SenderName'] != ucwords(_t('_someone')))){

$sMemID = $_COOKIE['memberID'];

$sAvatar  = '<a href="' . getProfileLink($sMemID) . '">';

$sAvatar .= '<img src="';

$sAvatar .= $sMemID  ? $GLOBALS['oFunctions']->getMemberAvatar($sMemID, 'large') : '';

$sAvatar .='"></a>';

}

else{

$sAvatar = '<img src="' .BX_DOL_URL_ROOT . 'media/images/membership/unknown_avatar.jpg">';

}

 

 

around what is now line 137 you'll find

 

           $aResultKeys = array_merge($aResultKeys, array(

                'recipientID' => $aProfile['ID'],

                'RealName'    => $aProfile['NickName'],

                'NickName' => $aProfile['NickName'],

                'Email'       => $aProfile['Email'],

                'Password'    => $aProfile['Password'],

                'SiteName' => getParam('site_title'),

 

add this.....

 

'Avatar' => $sAvatar,

anything else you want to add follow the above structure

'Tag' => $sString,

in your email templates include <Avatar> tag and the sender's Avatar will appear!

 

http://www.mytikibar.com
Quote · 10 Nov 2011

Thank you very much. I will try it and let you know the results.

Quote · 10 Nov 2011
 
 
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.