Custom Fields on User Registration Email

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
ltempest
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Thu Aug 25, 2005 11:16 am
Location: Gloucester, UK
Contact:

Custom Fields on User Registration Email

Post by ltempest » Fri Dec 21, 2018 10:49 am

Hello,
I have two additional custom fields setup using the core Joomla Custom Fields. They are part of the User Registration form and are stored with each user when they create a new Registered account. My site is setup so that and Administrator has to approve each registration. This works fine and the admin receives the email with the standard details:

Name
Email
Username

However these two additional custom fields are not included in the email sent to the administrator.

How and what file would I need to modify to include these custom fields in the admin notification email?

Thanks

Lee

KianWilliam
Joomla! Guru
Joomla! Guru
Posts: 561
Joined: Thu Jan 12, 2017 10:13 am

Re: Custom Fields on User Registration Email

Post by KianWilliam » Sat Dec 22, 2018 7:36 am

Do you have the data to other fields in your email? do you have the data belong to custom fields in database's related table #__users? (in parameters field)?
Kian William

KianWilliam
Joomla! Guru
Joomla! Guru
Posts: 561
Joined: Thu Jan 12, 2017 10:13 am

Re: Custom Fields on User Registration Email

Post by KianWilliam » Sun Dec 23, 2018 7:13 am

I also forgot to ask if those custom fields are required or optional?
Kian William

User avatar
ltempest
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Thu Aug 25, 2005 11:16 am
Location: Gloucester, UK
Contact:

Re: Custom Fields on User Registration Email

Post by ltempest » Mon Jan 21, 2019 11:14 am

Kian,
APologies, thanks for the replies, The fields are created with the built in User custom fields I'm not sure which database table they are stored in, yes they are required fields.

I just can't find what file of the core builds the user registrations email and what code I need to add to display these core custom fields.

Lee


Locked

Return to “General Questions/New to Joomla! 3.x”