Modify content of the default email admins receive after a user registers Topic is solved

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Post Reply
mkoontz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Thu May 13, 2010 4:43 am
Location: Athens Greece

Modify content of the default email admins receive after a user registers

Post by mkoontz » Mon Feb 26, 2024 1:15 am

Hello,

I'd like to modify the content of the email that administrators receive after a user has registered to include the content of custom fields that have been added to the registration page.

I found the following post which is quite old, and it has to do with the Admin activating the account, where I'm working with the user self activating the account via email. Plus, I'm working with custom fields where the other guy is using the core User Profile plugin.
viewtopic.php?t=983106

I would appreciate any help in solving this!

Thank you in advance!

mkoontz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Thu May 13, 2010 4:43 am
Location: Athens Greece

Re: Modify content of the default email admins receive after a user registers

Post by mkoontz » Thu Feb 29, 2024 5:53 pm

I was finally able to solve this on my own.
Here is the GitHub Repo for the solution.

https://github.com/N8Solutions/j3-core- ... ation-hack

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17414
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Modify content of the default email admins receive after a user registers

Post by toivo » Fri Mar 01, 2024 6:15 am

Well done, and thank you, on behalf of the J3 user community, for sharing your solution!

Tip for those using Joomla 4 and 5: there are functions like FieldsHelper::getFields() to access custom fields and also HTML email templating to easily customise the system emails.
Toivo Talikka, Global Moderator


Post Reply

Return to “Joomla! 3.x Coding”