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

  #31  
Old 10 Apr 2012, 12:31
Trangalleiro's Avatar
Trangalleiro Trangalleiro is offline
 
Join Date: Feb 2011
Real name: Luis
Thanks Seductor
Reply With Quote
  #32  
Old 10 Apr 2012, 16:20
Seductor Seductor is offline
 
Join Date: May 2011
Fixed and added a new feature.

/me waves at Trangalleiro
Reply With Quote
  #33  
Old 16 Apr 2012, 08:18
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Installed and waiting to see it working. Can you add an option to move moderated thread also?
Thanks,
Reply With Quote
  #34  
Old 16 Apr 2012, 16:44
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by sweetpotato View Post
Installed and waiting to see it working. Can you add an option to move moderated thread also?
Thanks,
Sure I will add it in the next release.
Reply With Quote
  #35  
Old 01 May 2012, 01:17
Hostboard's Avatar
Hostboard Hostboard is online now
 
Join Date: May 2002
Real name: Steven
Request: Some sort of log file to show from, to and how many threads were moved/deleted and make it searchable say by date via the ACP. OR even simpler a PM or email notification at the least.
Reply With Quote
  #36  
Old 01 May 2012, 09:43
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by Hostboard View Post
Request: Some sort of log file to show from, to and how many threads were moved/deleted and make it searchable say by date via the ACP. OR even simpler a PM or email notification at the least.
It is a good idea. Meanwhile, you can use the debug mode set in the php file.
Reply With Quote
  #37  
Old 08 May 2012, 03:32
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
It seems not work on my site. Do I have more config please?
Error:

Database error in vBulletin 4.1.12:

Invalid SQL:
SELECT * from `thread` Where forumid IN(34,39,43) AND `dateline` <= '1333852516' AND NOT `sticky` AND `replycount` = 0 AND `postuserid` NOT IN (1,82,4461,7269) AND `threadid` NOT IN ();

MySQL 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 ')' at line 1
Error Number : 1064
Request Date : Monday, May 7th 2012 @ 07:35:16 PM
Error Date : Monday, May 7th 2012 @ 07:35:18 PM
Script : cronadmin.php?do=runcron&cronid=214
Referrer : /cronadmin.php?do=modify

Classname : vB_Database
MySQL Version : 5.0.92-log
Reply With Quote
  #38  
Old 14 May 2012, 11:26
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by sweetpotato View Post
It seems not work on my site. Do I have more config please?
Error:
Sweetpotato, update your plugin to the latest version, I have done some fixes.
Reply With Quote
  #39  
Old 14 May 2012, 17:05
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Just updated, run the task and see no error. I would be nice if you could add protected user groups.
Thanks,
Reply With Quote
  #40  
Old 18 May 2012, 04:55
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
I'm using with this mod
http://www.vbulletin.org/forum/showthread.php?t=116605
and I want after the user buys the theme topics are moved to their previous position.
Reply With Quote
  #41  
Old 18 May 2012, 14:18
Seductor Seductor is offline
 
Join Date: May 2011
@Easy5s.net Send me a pm.
Reply With Quote
  #42  
Old 24 May 2012, 15:37
thunderclap82 thunderclap82 is offline
 
Join Date: Dec 2008
Any plans to implement the requested feature of pruning from the last reply instead of original post? I, too, would love this feature.
Reply With Quote
  #43  
Old 31 May 2012, 10:54
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by thunderclap82 View Post
Any plans to implement the requested feature of pruning from the last reply instead of original post? I, too, would love this feature.
But... what would it need to check from the last reply?
Reply With Quote
  #44  
Old 04 Jun 2012, 23:12
Seductor Seductor is offline
 
Join Date: May 2011
The new PM notifier is a sh...t :\ It sends a lot of PMs, does not work as I expected.
Reply With Quote
  #45  
Old 25 Jul 2012, 20:59
nodofollow nodofollow is offline
 
Join Date: Dec 2011
is it possible to make thread to closed not purged ?
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 00:47.

Layout Options | Width: Wide Color: