DevFuse Products (View All Products)
(M31) Delete Old Topics 1.0.0
#1
Posted 26 February 2009 - 09:57 PM
File Submitter: Michael
File Submitted: 27 Feb 2009
File Updated: 02 Jun 2010
File Category: IP.Board Modifications
Resource Type: Hook & Task
Version: 1.0.0 (10001) - Compatibility: IP.Board 3.0.x / 3.1.x +
Author: Michael John (DevFuse)
Description:
Searches for topics in selected forums that have a last post date that is older than X days and deletes them. Also includes an option to skip pinned and closed topics as well as an option to select which forums this mod will search in.
29 May 2009 Update: Added options to skip closed topics and to use the trash can instead of deleting topic. Using inbuilt topic delete function so attachments and topic related database content is deleted also.
Click here to download this file
Keep up to date with DevFuse mod development and releases.

#2
Posted 28 May 2009 - 11:40 PM
Nice MOD, work perfectly
Is it possible to select a number of day by forum exemple :
- FORUM X ==> Delete Topic after 10 days
- FORUM Y ==> Delete Topic after 120 days
- FORUM Z ==> Delete Topic after 60 days
.................
Edited by Argouges, 28 May 2009 - 11:40 PM.
#3
Posted 29 May 2009 - 02:20 AM
Argouges, on May 29 2009, 03:40 PM, said:
Nice MOD, work perfectly
Is it possible to select a number of day by forum exemple :
- FORUM X ==> Delete Topic after 10 days
- FORUM Y ==> Delete Topic after 120 days
- FORUM Z ==> Delete Topic after 60 days
.................
I'll take a look into it, if I can do it without file edits, will add it. Thanks for testing by the way.
Keep up to date with DevFuse mod development and releases.

#4
Posted 29 May 2009 - 03:33 AM
In RC1, there appears to be a problem with the built-in Mass Move/Purge as reported by Charles and others. It appears to be over-zealous and does more than the selection criteria.
Is this task affected by that bug?
#5
Posted 29 May 2009 - 03:48 AM
sunrisecc, on May 29 2009, 07:33 PM, said:
In RC1, there appears to be a problem with the built-in Mass Move/Purge as reported by Charles and others. It appears to be over-zealous and does more than the selection criteria.
Is this task affected by that bug?
Got a link to that bug report? The task does use the same moderate library file as the mass move/purge probably does. But so far in testing I haven't encountered any issues.
Keep up to date with DevFuse mod development and releases.

#6
Posted 29 May 2009 - 03:59 AM
http://forums.invisi...g-by-everybody/
There has been other topics that suggested that selecting x posts with certain criteria includes too many.
#7
Posted 29 May 2009 - 04:21 AM
sunrisecc, on May 29 2009, 07:59 PM, said:
http://forums.invisi...g-by-everybody/
There has been other topics that suggested that selecting x posts with certain criteria includes too many.
First bug shouldn't affect the mod, can't comment on the second bug until it's confirmed, doesn't seem possible though. I'd say any bugs would be related to the wrong topic ids being passed rather than something going wrong during the topic delete function. I've been over the few functions I use from the moderator library and can't see anything out of place.
Until IPB3 final, I'd recommend to keep backups!! and use the new trash can feature of this mod.
Keep up to date with DevFuse mod development and releases.

#8
Posted 29 May 2009 - 05:30 AM
Thank you for this mod. I used the 2.x version for a few years.
#9
Posted 11 June 2009 - 12:58 PM
Michael - you might want to add a note to the readme of when the defaults ares for the task re schedule.
#10
Posted 16 June 2009 - 08:55 AM
#11
Posted 09 July 2009 - 06:37 AM
#12
Posted 09 July 2009 - 08:01 PM
sunrisecc, on Jul 9 2009, 10:37 PM, said:
Just making use of the real moveTopic function (used for trash can) since a bug causing issues was fixed in 3.0.0. Previously used a slightly modified version of moveTopic to bypass the bug.
Just re-upload all the files and re-upload the hook. All what's needed to update hooks.
Keep up to date with DevFuse mod development and releases.

#13
Posted 10 July 2009 - 06:31 AM
I updated my test system which contains a complete copy of my live data.
#14
Posted 23 July 2009 - 07:00 AM
I have set 45 days as my limit.
The log entry shows the following:
Quote
The 0 should be 45.
#16
Posted 14 August 2009 - 03:22 AM
Argouges, on 28 May 2009 - 11:40 PM, said:
- FORUM X ==> Delete Topic after 10 days
- FORUM Y ==> Delete Topic after 120 days
- FORUM Z ==> Delete Topic after 60 days
Thanks anyway,
Paulo Ricardo
#18
Posted 02 June 2010 - 06:17 AM
#19
Posted 02 June 2010 - 06:22 PM
sunrisecc, on 02 June 2010 - 06:17 AM, said:
Nothing required, changes are minor readme file changes and php comment changes.
Keep up to date with DevFuse mod development and releases.

#20
Posted 02 June 2010 - 06:27 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













