Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Auto Purge Threads Details »
Auto Purge Threads
Mod Version: 1.05, by Seductor (Member) Seductor is offline
Developer Last Online: Oct 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 4.75 average) Installs: 73
Released: 10 Dec 2011 Last Update: 03 Jun 2012 Downloads: 440
Not Supported Additional Files Re-usable Code Translations  

What does this hack do ?
This tool is based on Auto Delete/Move tool by HaMaDa4eVeR for vBulletin 3.6.4.

This hack can delete the threads that was created before X days in your specific forums or it can move threads to specific(Archive) through scheduled task.

Features:
Turn On the plugin
Turn On/Off Move system.
Turn On/Off Delete system.
Specific forums for move and delete.
Specific "Archive Forum".
Protected Users.
Delete Type (soft/hard).
Automatically update counters.
Choose to delete/move stickies.
Set how old must a thread be.
NO Code Modifications needed!

Installation:
1. Unzip the download package and copy the contents of the folder UPLOAD to your forum root
2. Go to the VB AdminCP->Plugins & Products click "Manage Products". Then click
"Add/Import Product" at the bottom of the page.
3. Click "Browse" button and point to the installation XML file included in this ZIP package.
4. Click "Import"
5. Once the gallery import is complete, you can setup your Auto Purge. Go to VB AdminCP -> Options -> Auto Purge Threads to setup the Auto Purge.
Also, you can change the cron setup in the task manager.

NOTE:
The default settings are:
- Soft delete for the threads that have been created before 15 days ago.
- Protected user that have id 1 & 2.
- It will running everyday at 5.00 AM.

Updates:

-------
v1.00
It is now vBulletin 4.x.x compatible.
Cron task added successfully. Removed some old SQL queries.
Removed the zero replies thread search.
Spanish translation added.

v1.01
You can set if you want to remove stickies.
If you move your threads, you can set if you want to unstick them if they are sticky.
XML tidied.

v1.02
You can set if you want to manually update your forum counters.
PHP tidied and optimized.

v1.03
Now you can move and/or delete different forums.
v1.03b
Fixed a MYSQL error.
v1.03c
Fixed a bug related to Protected users.

v1.04
Fixed a bug (thanks gocreate).
You can set if you want to remove locked threads.
You can set if you want to remove only threads without replies that match your other conditions.

v1.04b
Now you can protect some threads from moving/deletion.

v1.04d
Some bugs fixed.

v1.05
You can send PM when AutoPurge finish its work.

Next updates:
(sighs)

Special thanks to BirdOPrey5

Any donation?
I'm not begging but If you want, I would be glad to receive a small donation. There are 4.4 million unemployed in my country and It is hard to be employed.

Download Now

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

Screenshots

Click image for larger version

Name:	autopurge.png
Views:	896
Size:	136.2 KB
ID:	135481  

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
Expired Threads (Auto Close Threads) Logikos Modification Graveyard 78 20 May 2006 09:53

  #16  
Old 09 Jan 2012, 19:56
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Originally Posted by Seductor View Post
Oh, @OldSchoolDSL, It is an easy error. I have never tought that Protected Users could be void. I will fix it but, meanwhile, have you seen any other bug?



1.03 worked? That is odd, 1.03b only fixes a SQL sentence, but it is almost the same as 1.03. As OldSchoolDSL pointed, have you got Protected users void?
That's the thing. I didn't have any protected users. Wanted this mod to apply to all.

Because of the error, nothing ever happen... ie... The modification to my knowledge didn't work. I never did see the error on my screen, only got the e-mails about it.
Reply With Quote
  #17  
Old 09 Jan 2012, 20:02
THX_Ultra THX_Ultra is offline
 
Join Date: Jan 2010
Yes 1.03 worked fine - when I use 1.03b and leave everything unchanged - it doesnt. If i start it manually it just does not move threads.
I have one protected user, but i just use it because I get an error messag if I leave it blank.
Reply With Quote
  #18  
Old 09 Jan 2012, 23:28
Seductor Seductor is offline
 
Join Date: May 2011
Now (1.03c) you can void Protected users.

I have changed the SQL sentences and now it is easier to edit the them. Now it works like:

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

If you have not protected users, empty($idadmin) will be true and then the condition AND `postuserid` NOT IN ( ) will not be added. You will not have the SQL error because of it.

It seems to work for me. I have not Protected users and I don't want to move stickies. I have enabled the debug mode and it shows this:


So it seems to work perfectly.


FYI: 1.04 will have "Protected threads". I'm working on it.

Last edited by Seductor; 10 Jan 2012 at 10:54.
Reply With Quote
  #19  
Old 31 Jan 2012, 20:32
micro image micro image is offline
 
Join Date: Aug 2009
Installing this, will report soon. GREAT mod, thank you!
Reply With Quote
  #20  
Old 01 Feb 2012, 02:34
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
Option request; Last post X days as move/delete criteria.
__________________
Bryan
vB 4.2.4
Reply With Quote
  #21  
Old 01 Feb 2012, 17:06
GrabMyWrist's Avatar
GrabMyWrist GrabMyWrist is offline
 
Join Date: Feb 2011
Option request; Move locked threads to specified forum or delete.
Reply With Quote
  #22  
Old 19 Feb 2012, 10:24
Fuzzy Orange Fuzzy Orange is offline
 
Join Date: Sep 2004
Originally Posted by spillage View Post
Option request; Last post X days as move/delete criteria.

I'd love this as well - it's nice to be able to delete all my for sale threads after 90 days, but it would be nicer to delete them when they've not had a reply in 30 days
Reply With Quote
  #23  
Old 19 Feb 2012, 12:45
Seductor Seductor is offline
 
Join Date: May 2011
I was trying to rebuil all the whole system, but taking in cout the many request you are writing, perhaps I should focus on them.
Reply With Quote
  #24  
Old 13 Mar 2012, 20:11
ludachris ludachris is offline
 
Join Date: Feb 2002
Any chance this mod would work in 3.8.x?
Reply With Quote
  #25  
Old 13 Mar 2012, 21:07
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by ludachris View Post
Any chance this mod would work in 3.8.x?
I think it could work properly in 3.8.X, but I didn't test it.
Reply With Quote
  #26  
Old 17 Mar 2012, 07:52
copjend copjend is offline
 
Join Date: May 2011
I tried to install in my vBulletin 4.1.7 Patch Level 2, but is not working
Reply With Quote
  #27  
Old 17 Mar 2012, 13:21
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by copjend View Post
I tried to install in my vBulletin 4.1.7 Patch Level 2, but is not working
Did you get any error?
Reply With Quote
  #28  
Old 10 Apr 2012, 09:43
gocreate gocreate is offline
 
Join Date: Dec 2007
There is a small error in script:


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

Schould be:


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

Reply With Quote
  #29  
Old 10 Apr 2012, 10:52
Seductor Seductor is offline
 
Join Date: May 2011
Thanks gocreate! I'm going to fix it.
Reply With Quote
  #30  
Old 10 Apr 2012, 11:48
Seductor Seductor is offline
 
Join Date: May 2011
I've add some features and I've fixed the forumdelete bug. Thanks again, gocreate.

NOTE: Please, don't upgrade it yet, I've found some small bugs. I'm going to fix them when I'm back at home
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 09:03.

Layout Options | Width: Wide Color: