Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SeAlVa on November 04, 2007, 07:21:21 PM

Title: Delete inactive users
Post by: SeAlVa on November 04, 2007, 07:21:21 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod)
It allows you to delete those users that didn't log-in  on your website for X months and Y days.

You set the 'X' and the 'Y'.

You need to know that the months aren't real months. To the mod 1 month = 30 days.

The mod adds a little form in the same page where you do your back-ups and general maintenance


---------------
If you can translate to another language, please send-me a PM with the five sentences.

Thanks

---------------
Change log
v. 1.0.0 -> First release
v. 1.0.1 -> Language turkish added (thanks to Minare and CiOooo)
v. 1.0.2 -> Language dutch added (thanks to Guy Verschuere)
v. 1.0.3 -> Language german added(thanks to Stephie and DritteWahl)
Title: Re: Delete inactive users
Post by: dry3210 on November 06, 2007, 09:42:46 AM
Any way to only have this delete members who have never posted EVER...and haven't been on the site for X amount of time? 
Title: Re: Delete inactive users
Post by: SeAlVa on November 06, 2007, 06:10:59 PM
At the moment, this mod don't look at the posts, so this option is not possible, but
I'll take note to develop it when I had time.

Thanks ;)
Title: Re: Delete inactive users
Post by: dry3210 on November 06, 2007, 06:31:55 PM
Quote from: SeAlVa on November 06, 2007, 06:10:59 PM
At the moment, this mod don't look at the posts, so this option is not possible, but
I'll take note to develop it when I had time.

Thanks ;)

Wouldn't necessarily have to be posts.  Could be where you only select a certain membergroup thats been inactive for X time.  My non-posters are in their own membergroup anyway so it'd work that way.
Title: Re: Delete inactive users
Post by: haiwasnm on November 06, 2007, 08:52:43 PM
Gread mod ! thanks
Title: Re: Delete inactive users
Post by: asdas2 on November 06, 2007, 09:58:02 PM
OKay great mod .... but wouldnt be nice if we send en email called "WE WISS YOU", to those userz who did not log-in  on your website for X months and Y days.
Title: Re: Delete inactive users
Post by: SeAlVa on November 07, 2007, 02:34:47 AM
other users suggest to send e-mail warning the user that if he didn't log-in, his/her account will be deleted. I'm thinking on it, but thanks for your suggestions ;)
Title: Re: Delete inactive users
Post by: Richard Wing on November 10, 2007, 01:54:44 AM
I would like to have the way to set a series of emails to be sent to users who havent logged in within a certain period. Maybe let us configure 3 emails and how far each one is sent from the date we selected of users not loging in.

After the 3rd final email we can have it auto delete on a specific date or have those users placed in queue for deletion.

Thanks for a great mod.
Richard Wing
Title: Re: Delete inactive users
Post by: asdas2 on November 10, 2007, 07:59:26 PM
Quote from: RichardWing on November 10, 2007, 01:54:44 AM
I would like to have the way to set a series of emails to be sent to users who havent logged in within a certain period. Maybe let us configure 3 emails and how far each one is sent from the date we selected of users not loging in.

After the 3rd final email we can have it auto delete on a specific date or have those users placed in queue for deletion.

Thanks for a great mod.
Richard Wing

well i like this suggestion

but insteed of auto del make it manuall del

or

put a option to select auto del or manual ....

Thankzzzz this would be a great mod
Title: Re: Delete inactive users
Post by: Mr. Khan on November 14, 2007, 02:15:15 PM
In which area this mod will install. I can't find it?
Title: Re: Delete inactive users
Post by: Boxer2 on November 15, 2007, 02:36:35 PM
I allso cat find where is this mod??
Title: Re: Delete inactive users
Post by: SpyDie on November 15, 2007, 03:00:10 PM
http://custom.simplemachines.org/mods/index.php?mod=995
Title: Re: Delete inactive users
Post by: Boxer2 on November 15, 2007, 03:02:16 PM
Sorry, my mistake, i wasnt clear, i install this md and i cannt find it in admin panel from where i can use it  :-[
Title: Re: Delete inactive users
Post by: asdas2 on November 15, 2007, 05:50:11 PM
u might need change ur language .... i guessss
Title: Re: Delete inactive users
Post by: SeAlVa on November 16, 2007, 11:14:32 AM
you can find the mod in Maintenance Forum Option on your Admin panel ;)
Title: Re: Delete inactive users
Post by: EdwinK on November 18, 2007, 03:17:56 PM
Quote from: RichardWing on November 10, 2007, 01:54:44 AM
I would like to have the way to set a series of emails to be sent to users who havent logged in within a certain period. Maybe let us configure 3 emails and how far each one is sent from the date we selected of users not loging in.

After the 3rd final email we can have it auto delete on a specific date or have those users placed in queue for deletion.

Thanks for a great mod.
Richard Wing

I would like to second this.
Title: Re: Delete inactive users
Post by: efesto on November 23, 2007, 06:04:27 AM
Hi SeAlVa.

Great mod. Thank you.  :D

Here in attach you have the 'italian.xml' that you can include in your package.
I've made a test with my SMF installation and the language are included well.  ;D

Bye,
Efesto.
Title: Re: Delete inactive users
Post by: catchpen on November 23, 2007, 09:50:05 PM
I need the opposite of this mod. One that adds active users.  :P
Title: Re: Delete inactive users
Post by: moviespot on December 10, 2007, 04:20:35 AM
How to use this mod ?
Title: Re: Delete inactive users
Post by: SeAlVa on December 16, 2007, 02:53:26 PM
just go to the admin panel, Forum Maintenance and set the time. ;)
Title: Re: Delete inactive users
Post by: kangkenyot on December 27, 2007, 08:14:19 PM
Quote from: asdas2 on November 06, 2007, 09:58:02 PM
nice if we send en email called "WE WISS YOU", to those userz who did not log-in  on your website for X months and Y days.

agree, i would like to suggest to have this also ;)
Title: Re: Delete inactive users
Post by: bassbass on January 03, 2008, 02:11:46 PM
Great Mod, if possible to add this feature, in stead of deleting the inactive members only, also add an option to move them to a different user group.  basically i have special features for active users and its off-limit to the inactive users.  so if members who have been inactive for about 30 days they will automatically be switched/moved to the inactive user group and they loose access to the special features.
Title: Re: Delete inactive users
Post by: B.SkiLLs on January 05, 2008, 05:31:15 AM
Quote from: bassbass on January 03, 2008, 02:11:46 PM
Great Mod, if possible to add this feature, in stead of deleting the inactive members only, also add an option to move them to a different user group.  basically i have special features for active users and its off-limit to the inactive users.  so if members who have been inactive for about 30 days they will automatically be switched/moved to the inactive user group and they loose access to the special features.

That sounds cool. It would be a good feature to add for sure.
Title: Re: Delete inactive users
Post by: DitherTask on February 17, 2008, 03:37:24 PM
Thanks for mod. And please, add option for member post # threshold on deletion.
Title: Re: Delete inactive users
Post by: Marcus Forsberg on April 27, 2008, 09:04:14 AM
Swedish translation

Admin.swedish.php
$txt['maintain_oldusers_name'] = 'Radera inaktiva användare';
$txt['maintain_oldusers_part1'] = 'Radera medlemar som inte har varit inloggade på ';
$txt['maintain_oldusers_part2'] = ' månader och ';
$txt['maintain_oldusers_part3'] = ' dagar.';

Help.swedish.php
$helptxt['maintenance_users'] = 'Detta tillåter dig att <b>radera</b> de medlemar som inte varit inloggade på länge.';
Title: Re: Delete inactive users
Post by: moonrock on May 31, 2008, 02:42:08 PM
waiting for updates to 1.1.5
Title: Re: Delete inactive users
Post by: samames on August 19, 2008, 09:21:33 PM
also waiting for 1.1.5 update... :)
Title: Re: Delete inactive users
Post by: kizer on August 21, 2008, 11:56:56 AM
Quote from: bassbass on January 03, 2008, 02:11:46 PM
Great Mod, if possible to add this feature, in stead of deleting the inactive members only, also add an option to move them to a different user group.  basically i have special features for active users and its off-limit to the inactive users.  so if members who have been inactive for about 30 days they will automatically be switched/moved to the inactive user group and they loose access to the special features.

Amen I'd like to see that as well.
Title: Re: Delete inactive users
Post by: bullbreedluverz on August 21, 2008, 11:59:46 AM
1.1.5 & delete non posters would be perfect mod for people who sign up just to be nosey and never post making false member counts
Title: Re: Delete inactive users
Post by: B.SkiLLs on February 17, 2009, 08:15:38 PM
Mod adjusted to work with 1.1.8

See attachment to download.
Title: Re: Delete inactive users
Post by: KensonPlays on June 21, 2009, 09:49:00 PM
I still can't figure out how to use, even after reading ALL replys here...
Title: Re: Delete inactive users
Post by: Tanshaydar on August 12, 2009, 08:59:33 AM
Quote from: B.SkiLLs on February 17, 2009, 08:15:38 PM
Mod adjusted to work with 1.1.8

See attachment to download.

Compatible with 1.1.10? (I'll try and inform)
Title: Re: Delete inactive users
Post by: Aceadam on August 13, 2009, 09:44:38 PM
Install Actions
Installations actions for "delete inactive users":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Thats a no. lol
Title: Re: Delete inactive users
Post by: Tanshaydar on August 14, 2009, 06:28:22 PM
It works with 1.1.10
I deleted users who haven't signed in for last 6 months.
Title: Re: Delete inactive users
Post by: B.SkiLLs on September 05, 2009, 11:46:39 PM
Quote from: Tanshaydar on August 12, 2009, 08:59:33 AM
Quote from: B.SkiLLs on February 17, 2009, 08:15:38 PM
Mod adjusted to work with 1.1.8

See attachment to download.
Yes it should, If not i will mod it again to work. Let me know.
Compatible with 1.1.10? (I'll try and inform)
Title: Re: Delete inactive users
Post by: LuminaRS on October 14, 2009, 02:37:22 PM
Seems like a good mod, but not compatible with 1.1.10. Give the lovely "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." error.

Even tried downloading/uploading/installing it using a different PC
Title: Re: Delete inactive users
Post by: B.SkiLLs on October 15, 2009, 06:20:49 AM
Quote from: LuminaRS on October 14, 2009, 02:37:22 PM
Seems like a good mod, but not compatible with 1.1.10. Give the lovely "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." error.

Even tried downloading/uploading/installing it using a different PC

still want this mod ?? if so i will update it to work again.

I guess i need to anyways.
Title: Re: Delete inactive users
Post by: B.SkiLLs on October 15, 2009, 06:26:07 AM
Mod adjusted to work with 1.1.10

See attachment to download.
Title: Re: Delete inactive users
Post by: LuminaRS on October 15, 2009, 08:55:38 AM
Downloaded an installed (thanks for updating it BTW). Only problem I'm having is it doesn't seem to delete accounts that were never logged in. I have 8,251 0-post accounts that gotta go bye-bye!
Title: Re: Delete inactive users
Post by: LuminaRS on October 16, 2009, 03:59:37 PM
This is how I deleted 8,229 0-post SPAM accounts...

(http://i239.photobucket.com/albums/ff19/ChrisInVT/ScreenShot003-1.jpg)
(http://i239.photobucket.com/albums/ff19/ChrisInVT/ScreenShot004.jpg)


It worked like a charm.
Title: Re: Delete inactive users
Post by: B.SkiLLs on October 18, 2009, 11:00:24 AM
your welcome.

[and it should of deleted them as well if you set it and them up right with the amount of days etc etc..] It deletes them by log in dates so if they never posted nor logged in since the first time then it should of deleted them.
Title: Re: Delete inactive users
Post by: alx on November 12, 2009, 06:10:34 AM
Someone knows if will work with V2.0 RC2?
Title: Re: Delete inactive users
Post by: B.SkiLLs on November 14, 2009, 05:35:48 AM
Quote from: alx | all4pg on November 12, 2009, 06:10:34 AM
Someone knows if will work with V2.0 RC2?
No it doesn't. Different strings...

and If i remember correctly tho smf 2xxx has it kinda built in i think.

Title: Re: Delete inactive users
Post by: Another Rob on March 12, 2010, 08:57:48 AM
Any chance to get it working with 1.1.11? I thought we had 1.1.10 and downloaded the last attachment, but no dice! We've actually got 1.1.11 and get the error The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Delete inactive users
Post by: B.SkiLLs on May 14, 2010, 10:12:22 AM
Quote from: Another Rob on March 12, 2010, 08:57:48 AM
Any chance to get it working with 1.1.11? I thought we had 1.1.10 and downloaded the last attachment, but no dice! We've actually got 1.1.11 and get the error The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

It should work. Works on mine.

I will re-upload the attachment with updated version.
Title: Re: Delete inactive users
Post by: B.SkiLLs on May 14, 2010, 10:17:58 AM
Updated for 1.1.11x

Should work. Working on mine and updated over to 1.1.11 and others fine.
Title: Re: Delete inactive users
Post by: Apllicmz on November 05, 2010, 04:56:31 PM
when Update dont forget Portuguese

<file name="$languagedir/Admin.portuguese_pt.php" error="skip">
        <operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[
$txt['maintain_oldusers_name'] = 'Apagar utilizadores inactivos';
$txt['maintain_oldusers_part1'] = 'Apagar utilizadores que nao estao logado, em pelo menos ';
$txt['maintain_oldusers_part2'] = ' meses e ';
$txt['maintain_oldusers_part3'] = ' dias.';
]]></add>
        </operation>
    </file>
   
    <file name="$languagedir/Admin.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[
$txt['maintain_oldusers_name'] = 'Apagar utilizadores inactivos';
$txt['maintain_oldusers_part1'] = 'Apagar utilizadores que nao estao logado, em pelo menos ';
$txt['maintain_oldusers_part2'] = ' meses e ';
$txt['maintain_oldusers_part3'] = ' dias.';
]]></add>
        </operation>
    </file>



<file name="$languagedir/Help.portuguese_pt.php" error="skip">
        <operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[
$helptxt['maintenance_users'] = 'Isso permite que voce <b>Apague</b> todos utilizadores registados que nao entram ja a muito tempo.';
]]></add>
        </operation>
    </file>
    <file name="$languagedir/Help.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[
$helptxt['maintenance_users'] = 'Isso permite que voce <b>Apague</b> todos utilizadores registados que nao entram ja a muito tempo.';
]]></add>
        </operation>
    </file>
Title: Re: Delete inactive users
Post by: Scott_T on December 01, 2010, 08:42:21 AM
Thanks B Skills.....Appreciate the mod, very helpful......Seems many many folks could use this.....
Title: Re: Delete inactive users
Post by: hartiberlin on February 09, 2011, 08:20:37 PM
Quote from: B.SkiLLs on November 14, 2009, 05:35:48 AM


and If i remember correctly tho smf 2xxx has it kinda built in i think.

Unfortunately many spammers have already registered in one of my forums
but they have 0 postings.

So how can I delete with SMF 2.x these about 500 users with 0 postings ?

As they have already registered via this XRuner spammer programm with many different ,
I am unable to delete them all manually..

Can you please code something for SMF 2.x that can delete users with 0 postings ?

Many thanks.

Regards, Stefan.
Title: Re: Delete inactive users
Post by: whatever on April 19, 2011, 01:11:00 AM
Can't make this mod works for 1.1.13
please help:(