I have tried to do a variable substitution in the new user email that gets sent to an administrator, by using
'UE_REG_ADMIN_SUB' => 'New User Registration: [NAME]',
However, no substitution occurs and that is the exact mail subject given. Should substitutions work here?
I would find this useful to quickly highlight spam registrations that I might then need to ban immediately.
Ideally also the email body itself would have a link in it so that I could do this on one click, e.g.
Name: [NAME]
Email:
Cheers
-- Mike --
Record, share and compare with BUBO Listing at
www.bubo.org
Last edit: 5 years 3 weeks ago by krileon. Reason: Added [#7752] tag to subject
Substitutions should be lowercase. The exception is a few special ones specifically used for registration emails. So for example you'd use [name] instead of [NAME]. Yes, they should work fine in the email subject and body.
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.
I have various substitions in the email body which work in uppercase, including [NAME], but in the subject neither [NAME] nor [name] work.This is in the admin new user registration email at least.
Cheers
-- Mike --
Record, share and compare with BUBO Listing at
www.bubo.org
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.