Skip to Content Skip to Menu

[SOLVED] Strange issue with CB automatic emails

  • sabroso
  • sabroso
  • OFFLINE
  • Posts: 29
  • Thanks: 5
  • Karma: 1
9 years 4 months ago - 9 years 4 months ago #266116 by sabroso
Hi there,

I am experiencing a very strange behaviour when trying to configure the automatic emails. I'm using Joomla 3.4.1 and CB 2.0.9

I'll try to explain what I was doing. Basically I was trying to use bespoke HTML emails on the Registration tab of the Community Builder Configuration.

So I selected:
- Registration Email HTML: Yes
- Pending Email Subject: YOUR_REGISTRATION_IS_PENDING_APPROVAL_SUBJECT (untouched)
- Pending Email Body: replaced YOUR_REGISTRATION_IS_PENDING_APPROVAL_MESSAGE by my HTML email template 1
- Welcome Email Subject: YOUR_REGISTRATION_IS_APPROVED_SUBJECT (untouched)
- Welcome Email Body: replaced YOUR_REGISTRATION_IS_PENDING_APPROVAL_MESSAGE by my HTML email template 2

Then I pressed save and got the green message saying “Successfully saved Configuration CB Core”. However to my surprise ALL the settings across ALL the tabs in the Community Builder Configuration section where reset to “factory” values (default values upon new install). An all the settings I had changed here were lost (thanks god I was working on a local testing enviroment).

I generated the email HTML templates with MailChimp, so they are pretty massive templates. One has 1000 lines and the other one 700.

If I just use a few lines of HTML instead the problem does not happen or if I use only one of the mailchimp templates they both work great. However I cannot get the two templates working at the same time because as soon as I use both the problem reproduces and the settings go back to installation values.

Obviously the problem comes from the size of the email templates, but I would like to understand:
- why this happens?
- Is there a solution?
- If not, what is the limit?

I was trying to do this because CB uses a different email system than Joomla's. Hence I cannot use existing plugins that integrate Joomla's email with Mandrill where I can store MailChimp templates and pull them on the fly. Any plans to start using Joomla's email system any time soon? - I found a previous post were you said you were aiming at this:

www.joomlapolis.com/forum/153-professional-member-support/224768-smtp-mails-dont-works-witj-cb?start=12

Many thanks!
Last edit: 9 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #266158 by krileon
Replied by krileon on topic Strange issue with CB automatic emails
Add your template as a language string instead of adding it all to the input. Example usage as follows.

Body: REGISTRATION_PENDING_APPROVAL_TEMPLATE
Language String:
Code:
'REGISTRATION_PENDING_APPROVAL_TEMPLATE' => 'YOUR TEMPLATE CODE HERE',

See CB 2.0 Primer Book and the below link for language usage information.

There are no plans to use Joomla mailer API. In fact we prefer to grow further from Joomla rather than closer as eventually our goal is to be able to function as an extension, standalone, or even install on other CMS platforms. We're gradually doing this by further improving CBLib to function with modal based CMS API usage.


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 or Create an account to join the conversation.

  • sabroso
  • sabroso
  • OFFLINE
  • Posts: 29
  • Thanks: 5
  • Karma: 1
9 years 4 months ago #266182 by sabroso
Replied by sabroso on topic Strange issue with CB automatic emails
OK, language override works great, thank you!
The following user(s) said Thank You: nant, krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum