Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Find, Optionally Email and Optionally Delete Inactive Members Details »
Find, Optionally Email and Optionally Delete Inactive Members
Mod Version: 1.00, by amykhar (Member) amykhar is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 17
Released: 16 Feb 2003 Last Update: Never Downloads: 19
Not Supported Is in Beta Stage  

This hack is designed to allow you to:

a) Find users who have not logged in to your board in X days. X is configurable by you in the control panel.

b) Email the inactive users. When the email is set, the date is recorded so that you will not email them again within X days

c) Delete the inactive users. This can happen in two ways:
1) If you don't have email users set, it will simply delete users who have not logged in to your forums in the past X days.
2) If you have emails turned on, it will delete users who have not logged in during the past X days AND who were sent the warning email more than 15 days before.

The email is a template configurable by you.

Here is how this hack will behave:

If you have email on and delete off, it will email inactive users every X days.

If you have email on and delete on, it will email a warning then delete 15 days later.

If you have emails off and delete on, it will delete users who have been incactive for X days.

If you have email off and delete off, it will list the inactive users for you in a very crude plain text list.

This is not a hack for newbies. If you don't know how to run Queries, don't touch this hack. It is still In Beta. If I get bored and ambitious, I will write an install script and make it idiot-proof.

Screen Shots to Follow

I will Support this hack for users with some hacking experience. I will fix bugs. I will not teach hacking basics though.


!Important - After You Install the hack, go to your Control Panel and Set the Options! Otherwise it will NOT work.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Optionally Show thread preview explicitly on forumdisplay amykhar vBulletin 3.0 Template Modifications 9 30 Nov 2006 04:34
Optionally open thread in new window ericgtr vBulletin 3.5 Template Modifications 25 29 May 2006 13:12

  #46  
Old 05 Mar 2003, 03:08
TheEDIGuy TheEDIGuy is offline
 
Join Date: Jul 2002
Amykhar, thank you for a great hack! I'm installed.

One quick question, before I cron this. Let's say I want to e-mail users who haven't visited in 30 days. Would I cron this to run every 30 days, or is it safe to run every day? If I run it every day, would it re-email the same people again, or would it only e-mail people who've reached their 30 days since the last run?

Does that make any sense, or is it just too late at night for me to type coherently?
Reply With Quote
  #47  
Old 05 Mar 2003, 03:12
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
You can run it every day. It won't email them again for another 30 days.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #48  
Old 05 Mar 2003, 11:55
TheEDIGuy TheEDIGuy is offline
 
Join Date: Jul 2002
Excellent. I was pretty sure that's how it worked, but wanted to make sure before I cron'ed it.

Thank you for an excellent hack!
Reply With Quote
  #49  
Old 05 Mar 2003, 16:01
Kmaster Kmaster is offline
 
Join Date: Mar 2002
possible change del user i/o move to banned group. cool hack....thx!!!
Reply With Quote
  #50  
Old 07 Mar 2003, 21:38
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Real name: Jean-Paul
Hi Amy,

It's me again.. in a few days (Tuesday, 11th of March) I'll be losing approx. 1750 users They are inactive for over a year (my setting), I know, but is it possible to adjust the hack so they will be getting one last e-mail warning a day before the actual pruning?

Thanks for considering and the great updates!

@ hypedave: nice idea, updated the hack!

- djr
Reply With Quote
  #51  
Old 07 Mar 2003, 22:55
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Originally posted by djr
Hi Amy,

It's me again.. in a few days (Tuesday, 11th of March) I'll be losing approx. 1750 users They are inactive for over a year (my setting), I know, but is it possible to adjust the hack so they will be getting one last e-mail warning a day before the actual pruning?

Thanks for considering and the great updates!

@ hypedave: nice idea, updated the hack!

- djr
Here is how I would do it.

1. Create a new usergroup for those who are about to be deleted. Note the usergroupid.

2. In manageInactive.php Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add above:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Change X in both places to the new usergroupid that you just created.)

3. Create two new templates:inactiveFinalWarningSubject and inactiveFinalMessage. Put whatever message and subject you choose in them.

Please note: THIS ADDON IS UNTESTED.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #52  
Old 07 Mar 2003, 23:15
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Real name: Jean-Paul
You're AWESOME! Wow, that was REAL quick. I'll let you know how it goes!

When will you be moving this out of beta? The hack is superb as is, or are you waiting for the first user who's got his board pruned

- djr
__________________
- highly ill, but always intelligent -


- User Age in CP (together with the_sisko)
Reply With Quote
  #53  
Old 07 Mar 2003, 23:28
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
I am waiting for you to report sucess

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #54  
Old 09 Mar 2003, 17:54
TheEDIGuy TheEDIGuy is offline
 
Join Date: Jul 2002
This has been working extremely well for me, Amy.

My only "complaint" is that the first time I ran it, I had (obviously) an extremely large group of people e-mailed. Now, every day I run it, I only have 8-10. But when it hits the 31st day since the first time I ran it, it's going to grab that huge list again, minus the people who actually came back.

Since I don't use the delete option...If you use it, you don't have that problem

It's too bad I didn't plan ahead, and slowly decrease the number of "inactive days" when I first ran it.
Reply With Quote
  #55  
Old 09 Mar 2003, 17:56
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Glad it's working for you The first delete one has me interested cause it's probably going to be rather query intensive. After the first one for larger boards though, I am not expecting any problems.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #56  
Old 14 Mar 2003, 19:11
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
03-07-03 at 07:15 PM djr said this in Post #52
You're AWESOME! Wow, that was REAL quick. I'll let you know how it goes!

When will you be moving this out of beta? The hack is superb as is, or are you waiting for the first user who's got his board pruned

- djr
So, how did the first prune go? I'm dying of curiosity.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #57  
Old 18 Mar 2003, 18:21
subu1 subu1 is offline
 
Join Date: Sep 2002
hi amy,

i have install your Hack and its work, but now i have a aktiv User there have gotten a email in 15 Days he is deleted.

why?

i dont want delete a aktiv user, he have 30 Postings and the last today

subu1
Reply With Quote
  #58  
Old 18 Mar 2003, 18:39
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Real name: Jean-Paul
03-14-03 at 09:11 PM amykhar said this
So, how did the first prune go? I'm dying of curiosity.
Hi Amy,

Sorry, been away to CEBIT in Hannover to see new cool gadgets. The first prune went without any flaw at all, though I lost approx 1750 members. OUCH! Well, there's over 3000 left, and more joining day in day out.
I had problems with the Final Warning addon, so I removed that one again. I was getting parse errors, and due to being extremely busy didn't have the time to give it another try.

All in all I'm extremely happy with the hack. Tme to move it out of beta! :banana:
Reply With Quote
  #59  
Old 18 Mar 2003, 18:42
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Today at 02:21 PM subu1 said this in Post #57
hi amy,

i have install your Hack and its work, but now i have a aktiv User there have gotten a email in 15 Days he is deleted.

why?

i dont want delete a aktiv user, he have 30 Postings and the last today

subu1
Look and see what the value for his last activity is. Also, how many days do you have it set for? If he becomes active again after the email is sent, he won't be deleted.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #60  
Old 18 Mar 2003, 18:42
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Glad it worked for you djr Losing so many members must have been painful though.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:40.

Layout Options | Width: Wide Color: