News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Enhancements to purge inactive members

Started by davidhs, May 28, 2010, 10:16:26 PM

Previous topic - Next topic

davidhs

Link to Mod

Enhancements to purge inactive members

ABOUT...

Enhancements to purge inactive members, 1.3.9
© 2010-2021 by davidhs
© Croatian language 2011-2013 by Branko.
© Portuguese for Brazil and Portugal language 2011 by Eletromem
© Russian language 2010-2021 by Bugo
© Serbian latin language 2011-2013 by Branko.


This work is licensed under a Creative Commons Attribution 3.0 Unported License.

DESCRIPTION

Adds enhancements in "Administration Center > Forum Maintenance > Members > Remove Inactive Members":

  • Options to remove members who have not activated their account after email change, have not approved their account, have not approved the deletion of their account or have not parental approval of their account.
  • Option to remove members according to date registered.
  • Maximum number of posts that members should have to be eliminated. Default value is 0.
  • Delete posts of removed members. Possible values are: None, All posts, Topics and posts. Default value is None.
  • Maximum number of processed members to delete members. This is in order not to exceed the system resources. Default value is 4,000.


Without this MOD the forum removes all inactive members, with or without posts, and does not delete posts of removed members (changes to guest authors). If their number is very high may fail for lack of resources and not removed anything.

SMF COMPATIBILITY


  • SMF 2.0 to 2.0.18.
  • SMF 2.1 Beta 1 to Beta 3 and RC1 to RC3.

LANGUAGES


  • croatian.
  • english, english_british.
  • portuguese_brazilian, portuguese_pt (incomplete).
  • russian.
  • serbian_latin.
  • spanish_es, spanish_latin.

DOWNLOAD

Link to MOD

MANUAL INSTALLATION

See https://wiki.simplemachines.org/smf/Manual_installation_of_mods

COLLABORATE WITH THIS MOD

This work is licensed under a Creative Commons Attribution 3.0 Unported License.

You are free to share and adapt this MOD. Also you can collaborate in different ways:

CHANGE LOG

Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

1.3.9   2021-02-13
------------------
! SMF 2.0.x: Do not use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.16-2.0.18 and 2.1 RC3.
+ Languages: New language string in russian, russian-utf8, thanks to Bugo.

1.3.8   2019-04-05
------------------
! SMF 2.1.x: Use HTML 5.
+ SMF compatibility: 2.1 RC1 to RC2.
! SMF 2.1.x: Languages: Only UTF-8 languages are used.

1.3.7   2017-12-19
------------------
+ SMF compatibility: 2.0.9-2.0.15 and 2.1 Beta 1 to Beta 3.
- Languages: spanish, spanish-utf8 (these are not used).

1.3.6   2014-06-23
------------------
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.8.

1.3.5   2014-01-24
------------------
! Texts in languages.
+ SMF compatibility: 2.0.7.

1.3.4   2013-12-06
------------------
+ Languages: New language string in croatian, croatian-utf8, serbian_latin, serbian_latin-utf8, thanks to Branko..

1.3.3   2013-10-24
------------------
+ SMF compatibility: 2.0.6.

1.3.2   2013-08-18
------------------
+ SMF compatibility: 2.0.5.

1.3.1   2013-07-30
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License https://creativecommons.org/licenses/by/3.0/
! Option to remove members according to date registered only removes accounts activated.
- SMF compatibility: Support to Beta and RC versions.

1.3     2013-04-08
------------------
! SMF 2.0 Beta 3.1 Public, Beta 4 and RC1 to RC5: Option to remove members who have not activated their account uses date registered.
! SMF 2.0 to 2.0.3: Option to remove members according to date registered only removes accounts activated.
+ Option to remove members who have not activated their account after email change.
+ Option to remove members who have not approved their account.
+ Option to remove members who have not approved the deletion of their account.
+ Option to remove members who have not parental approval of their account.
+ SMF compatibility: 2.0.4.

1.2.6   2012-12-22
------------------
+ SMF compatibility: 2.0.3.
+ Redirect to "Remove Inactive Members" area after install.

1.2.5   2011-12-24
------------------
+ SMF compatibility: 2.0.2.

1.2.4   2011-09-20
------------------
+ SMF compatibility: 2.0.1.

1.2.3   2011-09-14
------------------
+ Languages: croatian, croatian-utf8, serbian_latin, serbian_latin-utf8, thanks to Branko..

1.2.2   2011-08-28
------------------
+ Languages: portuguese_brazilian, portuguese_brazilian-utf8, portuguese_pt, portuguese_pt-utf8, thanks to Eletromem.

1.2.1   2011-06-17
------------------
! Position of operation search in modification.xml.
+ SMF compatibility: 2.0.

1.2     2011-04-03
------------------
+ Select button for delete posts of removed members.

1.1.2   2011-02-13
------------------
+ SMF compatibility: 2.0 RC5.

1.1.1   2011-01-17
------------------
+ SMF compatibility: 2.0 Beta 3.1 Public.

1.1     2010-12-14
------------------
+ Option to remove members according to date registered.

1.0.1   2010-11-06
------------------
+ SMF compatibility: 2.0 Beta 4, RC1 to RC1.2 and RC4.
+ Languages: english_british, english_british-utf8 (copy of english).
+ Languages: spanish, spanish-utf8 (copy of spanish_es).

1.0     2010-05-16
------------------
@ Join "Purge inactive members with a number of posts" and "Purge inactive members processed only a maximum number" into one MOD.
+ Input text button for maximum number of posts that members should have to be eliminated.
+ Input text button for maximum number of processed members.
+ SMF compatibility: 2.0 RC2 to RC3.
+ Languages: english, english-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.
+ Languages: russian, russian-utf8, thanks to Bugo.


Purge inactive members with a number of posts

1.0.2   2010-03-12
------------------
+ Languages: russian, russian-utf8, thanks to Bugo.
+ Languages: spanish_latin, spanish_latin-utf8 (copy of spanish_es).

1.0.1   2010-03-10
------------------
+ SMF compatibility: 2.0 RC3.

1.0     2010-03-06
------------------
+ SMF compatibility: 2.0 RC2.
+ Languages: english, english-utf8, spanish_es, spanish_es-utf8.


Purge inactive members processed only a maximum number

1.0.2   2010-03-12
------------------
+ Languages: russian, russian-utf8, thanks to Bugo.
+ Languages: spanish_latin, spanish_latin-utf8 (copy of spanish_es).

1.0.1   2010-03-10
------------------
+ SMF compatibility: 2.0 RC3.

1.0     2010-03-06
------------------
+ SMF compatibility: 2.0 RC2.
+ Languages: english, english-utf8, spanish_es, spanish_es-utf8.

Fat_Man

Hi David,

I like what your modification does - but I don't think its going to do what i want it to do.

I'd like to purge inactive members who have not logged (last login) in the last say 150 days.


davidhs

For this you not need my MOD. Use this:

QuoteRemove all members who have not logged in for 150 days.

My MOD add these condition:

QuoteRemove members who have _x_ posts or less (empty = any number)
Process a maximum of _x_ members (not to exceed the system resources)

oleson92

Is there a plan to add some notifications of deletion for users if they don't log in within x days you get a message then 30 days or so after that they are removed from the system.

davidhs

No. Purge inactive members is not a scheduled task, is an action that is done when you submit the "Remove Now" buttom.

You need create a scheduled task, but I do not if it is possible to do in "Administration Center > Scheduled Tasks" or if exists a MOD to do this.

Saxon044

Hi David,

I have installed the mod but running it produces this error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 4
File: e:\Domains\saxon-web.co.uk\wwwroot\4rum\Sources\ManageMaintenance.php
Line: 1753

I am on MySQL5, if that is any help. Any ideas?

Cheers, Saxon.

davidhs

I do not know but... Can you give me this data to see what can be?:
- Your version of SMF is 2.0 RC2 or RC3?
- Attach your file e:\Domains\saxon-web.co.uk\wwwroot\4rum\Sources\ManageMaintenance.php to your response

davidhs

New version:

1.0.1   2010-11-06
------------------
+ SMF compatibility: Adds 2.0 Beta 4, RC1 to RC1.2 and RC4.
+ Languages: Adds english_british, english_british-utf8 (copy of english).
+ Languages: Adds spanish, spanish-utf8 (copy of spanish_es).

robert_cyrus

Hi, I think a worthwhile addition to this mod would be to specify the last active date as well.
e.g. purge members with 0 posts who have not been active in 90 days
alternatively, you could specify the registered data
e.g. purge members with 0 posts who have been registered for 90 days
I get a lot of members who join and never post, this would allow me to get rid of their accounts.
thanks!

davidhs

Quote from: robert_cyrus on December 13, 2010, 04:35:05 AMe.g. purge members with 0 posts who have not been active in 90 days
This can already be done:

Remove all members who have not logged in for 90 days.
Remove members who have 0 posts or less (empty = any number)


Quote from: robert_cyrus on December 13, 2010, 04:35:05 AMalternatively, you could specify the registered data
e.g. purge members with 0 posts who have been registered for 90 days
You can not ask for the registered date, but you can see the activated data of the account:

Remove all members who have not activated their account for 90 days.
Remove members who have 0 posts or less (empty = any number)


Does this not enough?

robert_cyrus

Hi, my forum is set to auto activate all new members upon registration, so this change to the mod would allow me to purge these members.
I think if a new member has joined and not posted for 3 months, there should be an easy way to remove them.
thanks.

davidhs

Ok, now I understand. ;)

If possible, I do not want to change the basic text of SMF (in bold):
Remove all members who have not CONDITION for NUMBER days.

My English is not good. Is there any way to tell
Remove all members who have been registered for 90 days
using the phrase
Remove all members who have not CONDITION for 90 days.
?


Updated: Not, it not exist (in English or in Spanish). So I will do this update and I change the basic text of SMF to
Remove all members who have CONDITION for NUMBER days.
with CONDITION values:
- not activated their account
- not logged in
- been registered (NEW)

davidhs

New version:

1.1     2010-12-14
------------------
+ Option to remove members according to date registered.

robert_cyrus


davidhs

New version:

1.1.1   2011-01-17
------------------
+ SMF compatibility: Adds 2.0 Beta 3.1 Public.

davidhs

New version:

1.1.2   2011-02-13
------------------
+ SMF compatibility: Adds 2.0 RC5.

Galaxy Computers

Will this mod notify the memebers in email advance to let them that their account is about to be deleted on the forum and when their account is deleted and send them a reason why it was deleted?
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

davidhs

No, this mod just add buttons to filter the members to be deleted, but the deletion is done as the original SMF. It is not a scheduled task.

Galaxy Computers

I would be nice to have a mod that does something like that.
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

sharks

This mod is so awesome! Totally what i could have used years ago, although i would make a request for a 1.1.13 compatible version, PLEASE! :)

It is very useful, as i regularly delete inactive members on my forums, and i have to do that manually all the time.

Advertisement: