Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Add custom field value to subject in email confirm

  • a_khan69
  • a_khan69
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
12 years 8 months ago - 12 years 8 months ago #195637 by a_khan69
I've been able to add a custom_field value to the message of the email in "ACTION REQUIRED! New User Registration Pending Approval" that admins get when a new user needs approval.

However, i need the custom field to show up in the subject line.

Currently, when the email arrives, only the message shows the field value. The subject shows the fieldname instead of the value.

[CB_CAMPUSATTENDED]

works in body of email but not the subject.

Any ideas?

Eg. email subject appears like this.

Subject: "ACTION REQUIRED! [CB_CAMPUSATTENDED] New User Registration Pending Approval"

A new user has registered at xxxxx and requires approval.
This email contains their details

Name - namexxxxx
E-mail - emailxxxx@xxxx.com
Username - userxxx
Campus - campusxxxxxx
Last edit: 12 years 8 months ago by a_khan69.

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

  • a_khan69
  • a_khan69
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
12 years 8 months ago #195912 by a_khan69
Anyone?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 7 months ago #195970 by nant

a_khan69 wrote: Anyone?


it doesn't work in the subject because its not implemented.

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

  • a_khan69
  • a_khan69
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
12 years 7 months ago - 12 years 7 months ago #196077 by a_khan69
Would there be a way to implement it or can you point me to the right direction? I don't mind diving into a bit of code.

Or is this task too daunting to accomplish?

Thanks for your reply.
Last edit: 12 years 7 months ago by a_khan69.

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

12 years 1 month ago #213179 by createforme
I am trying to add a custom field to the admin email. I can't for the life of me figure out where to edit the admin email. Can you help me with that?

Create For Me: Website and Graphic Design
Where your ideas become reality...
www.createforme.net

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

12 years 3 weeks ago #213975 by createforme
anybody?

Create For Me: Website and Graphic Design
Where your ideas become reality...
www.createforme.net

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

Moderators: beatnantkrileon
Powered by Kunena Forum