×

Error

Please login first

[SOLVED] [CB] _UE_APPROVAL_EMAIL and substitution

11 years 11 months ago - 11 years 11 months ago #200765 by erilam
Hello,

I have a problem with the approval email. I have a site in two language and I forgot to set a drop list field with strings define in order to get the translation in the register form and in automatics email.

Here are the string :
DEFINE('_UE_TITREWWOOFER_M','Mr');
DEFINE('_UE_TITREWWOOFER_MME','Mrs');
DEFINE('_UE_TITREWWOOFER_MELLE','Ms');
DEFINE('_UE_APPROVAL_EMAIL','Welcome [cb_titrepremierwwoofer] [firstname] [lastname], <br />'
.'<br />First of all, thank-you for your interest in xxx in France. To continue your online membership, please activate your account by clicking the link below:<br />
[CONFIRM]<br />'
.'Once you reach the website....');
And here is the mail return



Of course before setting the strings I have the right solution for title in this email. I'm using these strings with cb_autoaction and there's no problem with it, what did I miss here ?
Thx for answers

Eric Lamy (erix)
www.agerix.fr/
Attachments:

Please Log in to join the conversation.

11 years 11 months ago #200808 by krileon
Replied by krileon on topic Re: [CB] _UE_APPROVAL_EMAIL and substitution
You're using RAW substitution. It doesn't output translations, HTML, or anything but what is directly in database. You'll need to use the below, which should translate it.

[cb:userfield field="cb_titrepremierwwoofer" /]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

11 years 11 months ago #200813 by erilam
You're right, thank you ;)

Eric Lamy (erix)
www.agerix.fr/

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.225 seconds

Facebook Twitter LinkedIn