Support

Admin Tools

#42300 Feature request - block / deactivate frontend user accounts after period of inactivity

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.3.3
PHP version
n/a
Admin Tools version
n/a

Latest post by tacomablues on Friday, 26 September 2025 01:12 CDT

tacomablues

I would like to submit a feature request for which I cannot find any adequate Joomla extension. I run a closed community Joomla site where no public registration is allowed. I have a need to block or deactivate frontend user accounts after a given period of inactivity. I do not want to delete these user accounts for a number of reasons. There are Joomla extensions to delete inactive accounts but this does not meet my technical need. Admin Tools has the ability to block front-end user accounts, but this depends on open registration which my site does not support. There is a similar feature for backend accounts, but this does not fit my use case either as my need is for general front-end account support of this feature request.

I appreciate your consideration of this request. I view it as an important security feature for which I can find no automated functionality at this time. Thank you.

System Task
system
The ticket information has been edited by Drew Beredts (tacomablues).

nicholas
Akeeba Staff
Manager

You can use the Forgotten backend users feature. Change the Backend user groups option under it, adding Registered (or whichever user group your users belong in). As long as you have less than ~120,000 users it will work.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tacomablues

Nicholas:

Thank you for the reply. I attempted this before posting this ticket in hopes that the feature would work on front end users. Your reply indicates that it should. I confirmed that all of the users I wish to audit are in the "Registered" group. My settings are as shown in the attached screenshot. The process should run every 60 minutes and look for any user who has not logged into the site for at least 365 days (1 year). I have a number of accounts who have not logged into the site in close to two years. After letting this process run over night, I noted that the accounts had not been changed to block / deactivated. Is there anything further then the settings in the attached screenshot that needs to be set in order for this process to run as explained? I even checked for cron jobs that would match this task, but did not see any. As such, i am guessing that this process should run simply based on gthe iven settings from the screenshot? My thanks for your feedback on this matter.

nicholas
Akeeba Staff
Manager

This will run at most once every 60 minutes. Whether it will run or not depends on how much traffic you have on the site.

Do add a protected user that's a Super User account. There is a bit of code to ensure that at least one Super User account will remain active on the site. When there are no Super User accounts in the accounts this feature finds, and there is no protected account either, it assumes something has gone wrong and won't deactivate any users. It is playing it safe instead of accidentally resulting in a site nobody can administer or, worse, a site that has no users.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tacomablues

Thank you for the reply. I do have two super users in the protected accounts fields at the bottom. I simply cut those fields from the screenshot for security reasons. I thank you for the explanation. The site is fairly low traffic so I will give the process another day or two to see if I get the expected results. I thank you very much for the details and confirmation. I will close the ticket given I have the details for which I was searching. Thank you for your time, Nicholas.You have authored an amazing set of tools! Well worth the cost.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!