[CDB] Delete Inactive Members

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Mike-on-Tour
Registered User
Posts: 523
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

[CDB] Delete Inactive Members

Post by Mike-on-Tour »

Extension Name: Delete Inactive Members

Image

Author: Mike-on-Tour
Extension Description:Recently here and on phpbb.de there has been described that on some boards bot registrations increase. During a discussion of suppporters on phpbb.de that led to the idea for this extension.

This extension lets the administrator automatically delete any users who have neither activated their account (inactive) nor visited the site after activation (sleepers) nor posted anything (zeroposters).
In the ACP the administrator can select the number of days since registration after which the approbriate users will be deleted. Protection from deletion can be defined for single users by identifying them by their username or for groups in which users are a member, these groups must be the default group of the users to be protected.
With a "Test" button you can check whether your selected settings accomplish your intentions. After clicking it a new window will open displaying a table with all users corresponding to the settings.
Users are getting deleted by a cron job which intervals between two runs can be defined within the ACP for either hours or days. With each run the cron job handles a maximum of 1,000 users to prevent a heavy load on the database. So if you have a big number of users which are either inactive, sleepers or zeroposters it would be best to run the cron job every hour or so to get rid of a large chunk of users in a short period of time. After cleaning the database you might want to set the interval to one or even more days.

Warning: This extension deletes the users selected by the settings without further warning after enabling it on its ACP settings page. This can inadvertently affect users you might want to keep if you do not pay attention to the settings you choose. Handle this extenson with care! Use it at your own risk!

Requirements:phpBB 3.3.x; PHP >= 7.4, < 8.3
Download: https://www.mike-on-tour.com
Languages: de (formal und informal), en
Styles: prosilver
Github repository: https://github.com/Mike-on-Tour/dim
Screen shots:
dim_Settings.png
You do not have the required permissions to view the files attached to this post.
Last edited by Mike-on-Tour on Sun Jul 14, 2024 9:59 am, edited 3 times in total.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][RC] Delete Inactive Members

Post by ssl »

Thanks Mike

In the ./ext/mot/dim/language/en/mot_dim_ext_enable_error.php file you forgot to put a space after this:

Code: Select all

<?php
/**
*
* @package MoT DIM v0.1.0
* @copyright (c) 2024 Mike-on-Tour
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Mike-on-Tour
Registered User
Posts: 523
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.3][RC] Delete Inactive Members

Post by Mike-on-Tour »

Do you mean a new line character? Is that mandatory?
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3883
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay

Re: [3.3][RC] Delete Inactive Members

Post by Kailey »

Mike-on-Tour wrote: Mon Apr 15, 2024 4:41 pm Is that mandatory?
I don't think so, but if the goal is consistency, might not be a bad idea as your other 2 files have it.
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules
If you have any questions about the rules/customs of this website, feel free to send me a PM.

My little corner of the world | Administrator @ phpBB Modders
User avatar
Mike-on-Tour
Registered User
Posts: 523
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.3][RC] Delete Inactive Members

Post by Mike-on-Tour »

Okay, I will do it with the next version.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
Mike-on-Tour
Registered User
Posts: 523
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [CDB] Delete Inactive Members

Post by Mike-on-Tour »

This extension has been validated and is now available from the CDB.
Please post future further support issues here.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image

Return to “Extensions in Development”