Display members in an email

Hello

I would like to display the last registered members in an email
Will has a code that I can insert in my template for that?

thank you very much

Quote · 25 Oct 2013

You can not insert code into the email template.  You will need to create a new key for the template file and insert that key.  Then when the email template parser parses the template, it will replace the key with the actual value.

Geeks, making the world a better place
Quote · 26 Oct 2013

I asked that question about template keys and Deano help me with the understanding.  See this topic: http://www.boonex.com/forums/topic/Email-Template-Keys-How-to-add-a-new-one.htm

Geeks, making the world a better place
Quote · 26 Oct 2013

 Hello Geek_girl

thank you I read your message
I added the first part of the code
but the second method (see below)
I do not know how to code (I'm really bad I admit ^ ^)

Do you have any idea?

thank you

You need to make sure that before the array is loaded you need to set the content of $sTokenContent to the content you need. So just after this.

        if($iMemberId != 0) {
            $aProfile = getProfileInfo($iMemberId);

You need to place your code such as the database query code that will retrieve the proper information and load it into the $sTokenContent variable.

Then with 'Token'      => $sTokenContent, added to the array of keys to parse, will be replaced with the content of $sTokenContent.

 

Quote · 28 Oct 2013

Please ? Cry

Quote · 30 Oct 2013

up Embarassed

Quote · 2 Nov 2013

Please please please Cry

Quote · 23 Nov 2013

I am rather busy to start coding custom bits at the moment; I have obligations that have to be met.  I will try to see about helping you when I can.

Geeks, making the world a better place
Quote · 23 Nov 2013

a great big thank you
you are really great!!


thank you !

Quote · 24 Nov 2013
 
 
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.