Advertisement:

Author Topic: Enhancements to purge inactive members  (Read 53029 times)

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
Enhancements to purge inactive members
« on: May 28, 2010, 10:16:26 PM »
Link to Mod

Enhancements to purge inactive members

ABOUT...

Enhancements to purge inactive members, 1.3.6
© 2010-2015 by davidhs
© Croatian language 2011-2013 by Branko.
© Portuguese for Brazil and Portugal language 2011 by Eletromem
© Russian language 2010-2011 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.13.

LANGUAGES

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

If you want help translating it into other languages, you can add the translation in http://www.simplemachines.org/community/index.php?topic=383900.0

DOWNLOAD

Link to MOD

MANUAL INSTALLATION

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

SUPPORT AND COMMENTS

In English: http://www.simplemachines.org/community/index.php?topic=383900.0
In Spanish: http://www.simplemachines.org/community/index.php?topic=384107.0

CHANGE LOG

Code: [Select]
Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

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 http://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

Code: [Select]
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

Code: [Select]
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.
« Last Edit: May 24, 2015, 07:02:51 AM by Illori »

Offline Fat_Man

  • Jr. Member
  • **
  • Posts: 118
Re: Enhancements to purge inactive members
« Reply #1 on: May 29, 2010, 02:14:35 AM »
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.


Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
Re: Enhancements to purge inactive members
« Reply #2 on: May 29, 2010, 05:28:03 AM »
For this you not need my MOD. Use this:

Quote
Remove all members who have not logged in for 150 days.

My MOD add these condition:

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

Offline oleson92

  • Semi-Newbie
  • *
  • Posts: 19
  • Gender: Male
Re: Enhancements to purge inactive members, 1.0 (SMF 2.0 RC2, 2.0 RC3)
« Reply #3 on: June 01, 2010, 05:38:33 PM »
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.

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
Re: Enhancements to purge inactive members, 1.0 (SMF 2.0 RC2, 2.0 RC3)
« Reply #4 on: June 02, 2010, 08:32:34 AM »
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.

Offline Saxon044

  • Semi-Newbie
  • *
  • Posts: 59
Re: Enhancements to purge inactive members, 1.0 (SMF 2.0 RC2, 2.0 RC3)
« Reply #5 on: June 17, 2010, 06:02:52 PM »
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.

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
Re: Enhancements to purge inactive members, 1.0 (SMF 2.0 RC2, 2.0 RC3)
« Reply #6 on: June 19, 2010, 08:04:25 AM »
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

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
New version:

Code: [Select]
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).

Offline robert_cyrus

  • Semi-Newbie
  • *
  • Posts: 15
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!

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
e.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)


alternatively, 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?

Offline robert_cyrus

  • Semi-Newbie
  • *
  • Posts: 15
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.

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
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)
« Last Edit: December 13, 2010, 04:54:19 PM by davidhs »

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
Re: Enhancements to purge inactive members, 1.1 (SMF 2.0 Beta 4 and RC1 to RC4)
« Reply #12 on: December 14, 2010, 03:31:51 PM »
New version:

Code: [Select]
1.1     2010-12-14
------------------
+ Option to remove members according to date registered.

Offline robert_cyrus

  • Semi-Newbie
  • *
  • Posts: 15
Re: Enhancements to purge inactive members, 1.1 (SMF 2.0 Beta 4 and RC1 to RC4)
« Reply #13 on: December 30, 2010, 06:55:47 AM »
Many thanks for this update, it works well. regards, Robert

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
New version:

Code: [Select]
1.1.1   2011-01-17
------------------
+ SMF compatibility: Adds 2.0 Beta 3.1 Public.

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
New version:

Code: [Select]
1.1.2   2011-02-13
------------------
+ SMF compatibility: Adds 2.0 RC5.

Offline mtechama

  • Full Member
  • ***
  • Posts: 612
  • Gender: Male
    • mtechama on Facebook
    • @mtechama on Twitter
    • Morris Technologies
Re: Enhancements to purge inactive members, 1.1.2 (SMF 2.0*-RC5)
« Reply #16 on: February 27, 2011, 03:15:45 PM »
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?

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
Re: Enhancements to purge inactive members, 1.1.2 (SMF 2.0*-RC5)
« Reply #17 on: February 27, 2011, 04:02:59 PM »
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.

Offline mtechama

  • Full Member
  • ***
  • Posts: 612
  • Gender: Male
    • mtechama on Facebook
    • @mtechama on Twitter
    • Morris Technologies
Re: Enhancements to purge inactive members, 1.1.2 (SMF 2.0*-RC5)
« Reply #18 on: February 27, 2011, 04:19:10 PM »
I would be nice to have a mod that does something like that.

Offline sharks

  • Sr. Member
  • ****
  • Posts: 891
  • Gender: Male
  • There's always a way.
Re: Enhancements to purge inactive members, 1.1.2 (SMF 2.0*-RC5)
« Reply #19 on: February 27, 2011, 04:43:36 PM »
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.
SMF 2.0 Theme Color Editor
http://www.colorizeit.com/browse/24/smf-20-themes.html

SMF Package Parser to view all edits made by any modification package:
http://resourcez.biz/PackageParser/

Firefox is the best browser for SMF!
http://www.mozilla.com/en-US/firefox/fx/