Skip to Content Skip to Menu

Problems with substitutions in CBSubs emails after updates yesterday

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 486
  • Thanks: 35
  • Karma: 4
1 month 2 weeks ago - 1 month 2 weeks ago #344430 by boyjahq
After updating LOTS of Community Builder plugins yesterday we are having lots of problems. This post is about emails being sent by Community Builder. In this case, the problem is with emails being sent from CBSubs Presentation tab "Email on expiration". After updates the name and username included in the email is NOT the user. It is substituting the name and username of the logged in admin. We are using language overrides as it is a bilingual site.

The subject of the email is: EXPIRED_SUB_WW
The English override is:  'EXPIRED_SUB_WW' => 'Membership Expired -  [USERNAME]',

This works as it should. It shows the user's username

However, in the body of the message, it shows the name and username of the logged in Admin.

Expiration Email body = EXPIRED_MSG_WW
Override = 
 'EXPIRED_MSG_WW' => 'WWOOF Japan Membership Expired<br /><br />Dear [FIRSTNAME] [LASTNAME] ([USERNAME]),<br /><br />Your WWOOF Japan membership has now expired. We would like to thank you for joining us.<br /><br />If you decide that you would like to join again, simply login  (username = [USERNAME] )  and choose a membership plan.<br /><br />Your profile and membership information will be retained for a while so there should be no need to fill out a new member application form. If you find that you cannot login, then please send us a new application form.<br />We hope you will come back again soon to have more genuine experiences in Japan!<br />',

Other emails generated by CBSubs that are sent to admins via the Integrations/Email tab show the correct information for name and username.
Emails sent from the CBSubs Mailer plugin are showing correct substitutions.

HOWEVER, many other emails sent from Community Builder are not showing substitutions values. For example, the emails sent when a user can't remember their username or their password are sent to them but their names, their usernames and other data are not included in the emails.

Community Builder 2.11.0+build.2026.07.31.14.26.35.e46e38af0
CBSubs 4.9.0+build.2026.07.16.20.06.54.da02532e5
Joomla ‎4.4.14
Last edit: 1 month 2 weeks ago by boyjahq.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50757
  • Thanks: 8700
  • Karma: 1475
1 month 2 weeks ago #344433 by krileon
Please see my reply to your other topic below.

www.joomlapolis.com/forum/developer-members-support/248152-error-when-trying-to-register-a-new-membership#344432

Once you've updated those 3 plugins please confirm if your emails are giving you problems still and if so will investigate further.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50757
  • Thanks: 8700
  • Karma: 1475
1 month 2 weeks ago #344434 by krileon
Ok, believe I found the issue with the email substitutions. I think it's a conflict with CB Content Bot substitutions taking over priority and the CB user being lost during the substitution process due to the parameter to select who to substitute from. I've implemented a fix for this in the now released CB Content 5.0.2. Please update and let me know if your issue persists.


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.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 486
  • Thanks: 35
  • Karma: 4
1 month 2 weeks ago - 1 month 2 weeks ago #344443 by boyjahq
All seems fixed after updating plugins
Last edit: 1 month 2 weeks ago by boyjahq.
The following user(s) said Thank You: krileon

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

Moderators: beat, nant, krileon
Powered by Kunena Forum