Skip to content

[6.0] Notification email on admin registration approval#45802

Merged
softforge merged 7 commits intojoomla:6.0-devfrom
brianteeman:adminemail
Aug 6, 2025
Merged

[6.0] Notification email on admin registration approval#45802
softforge merged 7 commits intojoomla:6.0-devfrom
brianteeman:adminemail

Conversation

@brianteeman
Copy link
Contributor

This is a rebuild of #39650

Summary of Changes

The user who are manually actived will receive a notification by email informing his account has been activated.
There is also the option of being able to manually send a reminder email to the user even though the account is already activated (in case the user do not login in the page after X time)
The mail template used is com_users.registration.user.admin_activated

Testing Instructions

Apply the PR and after run npm run build:js
or use a pre-built package

  • Open the frontend and create a new user account
  • Open the User edit view inside the administration, and you will notice a new button in the toolbar
  • Use the button and check the user was activated and also a email sent to the email of the new user
  • An email will be sent also if the user is activated in the Users list view using the Actions -> Activate option

Actual result BEFORE applying this Pull Request

You can activate a user in the admin, but not notification is sent.

Expected result AFTER applying this Pull Request

a notification email is sent

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators NPM Resource Changed This Pull Request can't be tested by Patchtester PR-6.0-dev labels Jul 29, 2025
@exlemor
Copy link

exlemor commented Jul 30, 2025

@brianteeman I have downloaded the Download package and done what you have given for very clear testing instructions - thanks - sweet to be able to test so easily!

Just 1 question or remark, for your last step:

  • An email will be sent also if the user is activated in the Users list view using the Actions -> Activate option

I took an already activated user: Alexandre Dumas and pressed Action -> Activate and received the message:

The user has been notified that their account has been activated.
No user activated.

YET, I received an email:

Hello Alexandre Dumas,

Your account has been activated by an administrator. You can now login at https://sitename/ using the username a-dumas and the password you chose while registering.


Is it the intent of this PR (or is it outside the scope of this PR) that an already Activated user would receive an email even though the backend says: No user activated. (because he already was)?

@brianteeman
Copy link
Contributor Author

Yes it's the intent as explicitly stated

There is also the option of being able to manually send a reminder email to the user even though the account is already activated (in case the user do not login in the page after X time)

@exlemor
Copy link

exlemor commented Jul 30, 2025

OK, thanks, I will validate the test then :)

@exlemor
Copy link

exlemor commented Jul 30, 2025

I have tested this item ✅ successfully on 9115c39

I have tested this PR successfully. Thanks @brianteeman!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45802.

@RickR2H
Copy link
Member

RickR2H commented Jul 31, 2025

I have tested this item ✅ successfully on 9115c39


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45802.

@RickR2H
Copy link
Member

RickR2H commented Jul 31, 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45802.

1 similar comment
@richard67
Copy link
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45802.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 1, 2025
@softforge softforge added this to the Joomla! 6.0.0 milestone Aug 6, 2025
@softforge softforge merged commit 52edc60 into joomla:6.0-dev Aug 6, 2025
40 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 6, 2025
@softforge
Copy link
Contributor

Thank you all who worked on this and tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators NPM Resource Changed This Pull Request can't be tested by Patchtester PR-6.0-dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants