How to add NickName to admin send email

Aloha :-)

I would like to add my members user name to the subject line of some email templates at Dolphin :-)

 

Dolphin 7.3

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 7 Mar 2016

not sure if the function is already there, but try {NickName} where you want to place it.

caredesign.net
Quote · 7 Mar 2016

I put it into the Subject line   {NickName}    but didn't work :-)

Thank you :-)

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 7 Mar 2016

<NickName> didn't work neither


Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 7 Mar 2016

Not sure if the variable is added to the Subject line - but did you clear all of your caches after making change. <NickName> looks like the appropriate way to format the variable.

caredesign.net
Quote · 7 Mar 2016

nope didn't work.

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 8 Mar 2016

Some email templates could use different variable, please specify the exact template you want to add NickName to ? also what is your Dolphin version ?

Rules → http://www.boonex.com/terms
Quote · 8 Mar 2016

@AlexT  thank you :-)

Version 7.3

 

Profile Activation Notification.

Message From The Site Admin.

New Message Notification Without Message Text

Email Confirmation Message.

Matching Profiles Notification.

Password Retrieval

Membership Expiration Notice

Membership Change

New Message Notification With Message Text

Friend Invitation

Greeting Notification

Friendship Request

Friendship Request Accepted


I hope it's not too much :-)

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 8 Mar 2016

<NickName> marker should already work almost in every email template please specify where it doesn't work ?

Rules → http://www.boonex.com/terms
Quote · 9 Mar 2016

it didn't work at "Message From The Site Admin" Subject

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 9 Mar 2016

fIRST - CHECK THE EMAIL TEMPLATE YOU WANT TO CHANGE AND SEE IF THE <nICKnAME> VARIABLE IS IN THE EMAIL TEXT. iF SO, THEN IN THEORY IT SHOULD WORK. iF NOT, THEN FIND AN EMAIL TEMPLATE THAT DOES HAVE <nICKnAME> ALREADY IN IT AND TRY THAT ONE AND SEE IF ANY LUCK.

SORRY FOR THE CAPS - AT WORK AND THATS ALL I USE.

caredesign.net
Quote · 9 Mar 2016

It doesn't work to get the <NickName> into the Subject container

but I'm testing <RealName> now and it seems that this work. not a 100% sure yet I still test it

 

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 10 Mar 2016

LoL now they both work.

Can someone please tell me what is the difference between <NickName> and <RealName> since "<RealName>" has nothing to do with Full Name.

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 10 Mar 2016

NickName is username field - whereas Real Name should be FIrst NAme field and Last Name field - not Full Nae field (I think)

caredesign.net
Quote · 10 Mar 2016

In email templates, NickName and RealName are the same, according to the following code in inc/classes/BxDolEmailTemplates.php file:

                'RealName'    => getNickName($aProfile['ID']),
                'NickName'    => getNickName($aProfile['ID']),
'Username' => getUsername($aProfile['ID']),
Rules → http://www.boonex.com/terms
Quote · 11 Mar 2016

Thanks :-)

 

Now my emails look nice :-)

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 11 Mar 2016
 
 
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.