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: 71
Released: 10 Dec 2011 Last Update: 02 Jun 2012 Downloads: 432
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:	884
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 08:53

Comments
  #2  
Old 11 Dec 2011, 00:12
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
looks good... will look into it shortly
Reply With Quote
  #3  
Old 11 Dec 2011, 07:13
mitch84 mitch84 is offline
 
Join Date: Mar 2008
nice idea!
Reply With Quote
  #4  
Old 11 Dec 2011, 14:21
Seductor Seductor is offline
 
Join Date: May 2011
Any suggestion?
Reply With Quote
  #5  
Old 01 Jan 2012, 19:59
THX_Ultra THX_Ultra is offline
 
Join Date: Jan 2010
Great! This is EXACTLY what I was searching for - a cron job that automatically moves threads from one subforum to another after a certain period of time!
Reply With Quote
  #6  
Old 01 Jan 2012, 22:06
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Nice idea =)

Could be an option to mark threads to be auto purged? So after some days from the creation date the thread would be moved to another forum?
Reply With Quote
  #7  
Old 01 Jan 2012, 23:33
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Wonderful.

I have a forum that is dedicated for "post testing". So as you can expect it fills with junk. This will be a good way to clear this out.
Reply With Quote
  #8  
Old 02 Jan 2012, 11:41
Seductor Seductor is offline
 
Join Date: May 2011
Originally Posted by kingMOB View Post
Nice idea =)

Could be an option to mark threads to be auto purged? So after some days from the creation date the thread would be moved to another forum?
Do you mean to mark them manually? I do not think it could be possible at the moment. It would require to add a lot of code, but I'll keep it in mind.
Reply With Quote
  #9  
Old 02 Jan 2012, 17:25
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Originally Posted by OldSchoolDSL View Post
Wonderful.

I have a forum that is dedicated for "post testing". So as you can expect it fills with junk. This will be a good way to clear this out.
Working in 4.1.10 Alpha 2

Request: In a future version, can you please have it so I can ID more than 1 forum with more than 1 function?

That is to say, I'd like this to delete everything in forum "X" (the forum people use to test post), but move other post from from Y,W,Z into an archive forum.

As it stands now, I can only do one or the other and not both.
Reply With Quote
  #10  
Old 05 Jan 2012, 12:54
Seductor Seductor is offline
 
Join Date: May 2011
@OldSchoolDSL, I think you are able to do it now. Please, If you find any bug, report it and I'll fix it.

@Seductor (autonote): Remove only threads without replies.

1.0.3b released: I have fixed a MYSQL error. Sorry guys, it was a silly mistake.

Last edited by Seductor; 06 Jan 2012 at 20:02.
Reply With Quote
  #11  
Old 08 Jan 2012, 09:36
THX_Ultra THX_Ultra is offline
 
Join Date: Jan 2010
Hi, I don't know why, but it seems that the Plugin does not work anymore since the 1.03b update.
Just for my understanding - If I want to move threads after 3 days from one forum to another.
I enter at "Thread must have been created earlier than X days." the number 3 - right?

So everything worked fine until I updated to 1.03b - now It doesn't move threads anymore, even If i start the cron job manually.

Do I have to completely uninstall the addon before updating, or is there anything I missed?

I'd appreciate your help, because the addon would be extremely helpful for me.
Reply With Quote
  #12  
Old 09 Jan 2012, 17:16
Seductor Seductor is offline
 
Join Date: May 2011
It seems to be broken. However, it works If I run it manually.

The cron path seems to be right. The scheduled hour seems to be okay too.

@THX_Ultra could you help me? Go to Scheduled Tasks > Scheduled Task Log and check if there is any Auto Purge Threads action. I have one everyday at 5 AM. Do you have any?

Btw, I have edited the AutoPurge options, perhaps you should recheck them. Do you have Enable Plugin set to "yes" and Move threads and/or Delete threads to "yes" too?

@Trangalleiro: I have received your PM, however you have set you don't want to receive PMs. I can't answer you through private messaging.

Last edited by Seductor; 09 Jan 2012 at 17:24.
Reply With Quote
  #13  
Old 09 Jan 2012, 17:52
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
This is the error I got on every version of this modification. The error happen only when I enabled this.


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

Disabling this resolved the issue.
Reply With Quote
  #14  
Old 09 Jan 2012, 18:42
THX_Ultra THX_Ultra is offline
 
Join Date: Jan 2010
Originally Posted by Seductor View Post
@THX_Ultra could you help me? Go to Scheduled Tasks > Scheduled Task Log and check if there is any Auto Purge Threads action. I have one everyday at 5 AM. Do you have any?
Yes it is, but i switched back to 1.0.2 and everything works fine now. It was also working with 1.0.3 but since switching to the 1.0.3b it didn't...

One more thing - I realised that the field for protected users have to be filled with something, but for moving threads, I do not want to have any user protected. Can I enter 0 instead of eg. 1 or any other userid?
Does this affect the addon?
Reply With Quote
  #15  
Old 09 Jan 2012, 18:43
Seductor Seductor is offline
 
Join Date: May 2011
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?

Originally Posted by THX_Ultra View Post
Yes it is, but i switched back to 4.0.2 and everything works fine now. It was also working with 4.0.3 but since switching to the 4.0.3b it didn't...
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?
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 07:12.

Layout Options | Width: Wide Color: