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 05:34
Optionally open thread in new window ericgtr vBulletin 3.5 Template Modifications 25 29 May 2006 14:12

  #31  
Old 18 Feb 2003, 22:40
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
No prob djr. I shall get right on it and be back with a fix.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #32  
Old 18 Feb 2003, 23:10
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
updated the zip. All you need to do is upload the php file again.

I recommend renaming this script to something else on your server for security reasons. I haven't been able to find a way to pass in the username and password for a cron job to be able to run this in the admin folder yet.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #33  
Old 19 Feb 2003, 20:21
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Real name: Jean-Paul
Hi amy,

The hack gets better and better! Thank you VERY MUCH for implementing all my feat reqs.
I have (what's new) another one Because most of the forum-admins will run this script as cronjob, it's probably nicer to have the output how many users (and optionally which usernames) are deleted emailed to the admin. If there's no pruning done, have the script e-mail that, so we know it's up and running and doin' its (very good) job!

If somebody can be of help to Amy for dealing with potentially security risks, please don't hesitate! In the meantime i've renamed the script to something insignificant

Thanks again!
- djr
Reply With Quote
  #34  
Old 19 Feb 2003, 20:44
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
The email is a good idea. I will do it tomorrow cause I'm working on somebody else's hack right now.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #35  
Old 24 Feb 2003, 01:43
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
OK. I just updated the zip file. The program now emails the webmaster email with information about members who were emailed or deleted.

To update: You will need to add the two new templates and reupload the zip file.

Within the templates, you have access to counts telling how many inactive members there are, how many were emailed, how many were deleted, and list the emailed or deleted members.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #36  
Old 25 Feb 2003, 18:56
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Real name: Jean-Paul
Hi Amy,

I forgot to say thank you for all that you've added to the hack. Major thumbs up for making this an excellent hack for the very hard needed forum maintenance a.k.a spring cleaning

I love everything about this hack. The fact it's fully automated via cron, the fact it keeps us webmasters notified of its duty and the fact that I feel assured that no redundant user info is left behind in the db!

This is definitely in my Top 10 list of favourite hacks!

- djr
Reply With Quote
  #37  
Old 25 Feb 2003, 19:14
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Thank you, djr

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #38  
Old 27 Feb 2003, 00:46
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
So bascially, If I set it to 30 Days, then it will look users that havent been active in 30 Days send them an email warning, then in 15 days if that person hasn't logged on then their account will be automatically deleted.
Reply With Quote
  #39  
Old 27 Feb 2003, 00:49
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Yes Dave - if you have both email and delete turned on, that's how it will work.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #40  
Old 27 Feb 2003, 15:15
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Is there a way to exempt posters with XX amount of posts?

Some users may have like 100 post, and get real busy with school and can't log on for like 2 months.

That would be a nice add-on
Reply With Quote
  #41  
Old 27 Feb 2003, 15:33
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Exempt for the email or just the delete?
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #42  
Old 28 Feb 2003, 03:28
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Originally posted by amykhar
Exempt for the email or just the delete?
Just the delete I suppose
Reply With Quote
  #43  
Old 28 Feb 2003, 15:19
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Originally posted by hypedave


Just the delete I suppose
Here ya go:

in manageInactive.php Find:

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

Replace with:

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


Find:

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

Replace with: (change X to be the number of posts you choose)

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


Find:

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

Replace With: (Change X as above)

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

__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #44  
Old 01 Mar 2003, 09:24
Limitter Limitter is offline
 
Join Date: Aug 2002
Nice great hack !!

THX
Reply With Quote
  #45  
Old 04 Mar 2003, 13:40
afterlab's Avatar
afterlab afterlab is offline
 
Join Date: Oct 2001
Real name: Eric
So far, this script is working good. I'll give you an update in 15 days.
__________________
Owner, Designer, Programmer and Founder of Gamertag Nation
Have an Xbox Live gamertag? Sync your gamertag with our community! Check us out for an interactive community packed with reviews, guides, achievements and tons more.
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 11:32.

Layout Options | Width: Wide Color: