[DEV] Delete Inactive Users

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!
Suggested Hosts
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
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

[DEV] Delete Inactive Users

Post by John P » Tue Feb 18, 2014 8:04 pm

Description:
An extension for phpBB 3.1 that will automatically delete inactive users using the phpBB3 Cron.

Requirements:
  • phpBB 3.1-dev or higher
  • PHP 5.3.3 or higher
Repository: https://github.com/ForumHulp/Delete-Inactive-Users

Installation:
  • Copy the entire contents of the repository to ext/phpbb/inactive_users/
  • Navigate in the ACP to Customise -> Extension Management -> Extensions.
  • Click Enable.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

Ruson2
Registered User
Posts: 11
Joined: Mon Feb 17, 2014 10:05 am
Location: USA
Contact:

Re: [DEV] Delete Inactive Users

Post by Ruson2 » Thu Feb 20, 2014 8:33 pm

Do the users, who was deleted have an opportunity to register again later?
Just study phpBB.
Мy website

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Delete Inactive Users

Post by John P » Fri Feb 21, 2014 7:38 am

Off course, a user name and / or email, not in the db can register again once they are deleted.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

leschek
Registered User
Posts: 750
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Delete Inactive Users

Post by leschek » Fri Feb 21, 2014 11:14 am

Does this delete users, who are not activated by admin or by by user (e-mail verification), or does this delete users, who didn't visit forum for certain time, but they are activated? I'm asking, because I would like to have the first one but not the second.

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Delete Inactive Users

Post by John P » Fri Feb 21, 2014 11:25 am

It deletes users, not activated and stil new.
So never logged in and 30 days after registration.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

leschek
Registered User
Posts: 750
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Delete Inactive Users

Post by leschek » Fri Feb 21, 2014 11:46 am

Thank you for clarification. It looks like the extension I will use...

aleha
Code Contributor
Posts: 61
Joined: Wed Dec 19, 2012 10:42 pm

Re: [DEV] Delete Inactive Users

Post by aleha » Wed Feb 26, 2014 5:11 pm

Shouldn't you use phpBB's own functions for user pruning?
Those seem to be in file, includes/acp/acp_prune.php

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Delete Inactive Users

Post by John P » Wed Feb 26, 2014 8:51 pm

I used that at first but thinking the inactive new users can't have messages etc it's a lot quicker in this way.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

lws96
Registered User
Posts: 100
Joined: Wed Aug 05, 2009 4:39 am

Re: [DEV] Delete Inactive Users

Post by lws96 » Mon Oct 06, 2014 6:35 am

Hi,

I am a big fan about deleting inactive users, and have used the ACP method in the past. Can the 30 days be changed to another number? I have a slightly longer leniency for accounts that have been activated, but haven't logged in.

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Delete Inactive Users

Post by John P » Mon Oct 06, 2014 10:23 am

In Board features you can adjust the days before deleting
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

User avatar
mr.ruf
Registered User
Posts: 135
Joined: Thu Apr 04, 2013 11:12 pm
Location: PuErTo RiCo
Name: Harold
Contact:

Re: [DEV] Delete Inactive Users

Post by mr.ruf » Tue Nov 04, 2014 6:10 pm

Hi, I have version 3.1.1 and apparently the extension does not work on it. download the file, unzipped, uploaded it to the server ext / phpbb / inactive_users folder, and when I go to the option manage extensions, does not recognize the extension.

and tried renaming the extension of various forms and still not recognized, deleteinactiveusers, delete_inactive_users, inactive_users, inactiveusers, but that does not work. :lol:

User avatar
Walther
Registered User
Posts: 257
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

Re: [DEV] Delete Inactive Users

Post by Walther » Tue Nov 04, 2014 6:31 pm

mr.ruf wrote:Hi, I have version 3.1.1 and apparently the extension does not work on it.
Have 3.1.1 too, extension does work (does not come in extension tab but in board features)
Did however change the code to accustom 600 days, was max 99 days but found that too much for one run. ;)
Will gradually lower it back of course.
not activated and stil new
So, only those who are member of the "newly registered users group", not members de-activated by the admin with 0 postings due to *whatever reason* the admin had to de-activate them.

User avatar
mr.ruf
Registered User
Posts: 135
Joined: Thu Apr 04, 2013 11:12 pm
Location: PuErTo RiCo
Name: Harold
Contact:

Re: [DEV] Delete Inactive Users

Post by mr.ruf » Tue Nov 04, 2014 7:06 pm

Shame it does not work, really need this extension to my forum :cry:

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Delete Inactive Users

Post by John P » Tue Nov 04, 2014 8:10 pm

The path is forumhulp/DeleteInactiveUsers for this extension.

Try our "Upload Extensions" extension, it will unpack for you in the right folder in your ext folder
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

User avatar
mr.ruf
Registered User
Posts: 135
Joined: Thu Apr 04, 2013 11:12 pm
Location: PuErTo RiCo
Name: Harold
Contact:

Re: [DEV] Delete Inactive Users

Post by mr.ruf » Tue Nov 04, 2014 8:34 pm

ok, you say that but try to unzip the file?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Puchahawa and 32 guests

cron