Jump to content


Photo
- - - - -

Download: Forum Pruner Task

IP.Board 3.4 IP.Board 3.3 IP.Board 3.2 IP.Board 3.1 IP.Board 3.0

  • Please log in to reply
11 replies to this topic

#1 Michael

Michael

    Administrator

  • Management
  • 3,467 posts
  • Location:Columbus, OH
  • IP.Board Version:3.4
Contributor

Posted 20 April 2010 - 01:50 PM

Posted Image

File Name: Forum Pruner Task
File Submitter: Michael
File Submitted: 26 Jul 2010
File Category: Invision Focus Products

A System Scheduler hook that will prune selected forums on a monthly basis. You can choose one or more forums to prune, and set the pruning schedule using IP.Board's System Scheduler. Note that you set a single schedule that will prune all selected forums; you cannot choose separate schedules for different forums. There are settings that enable you to not prune Pinned topics in the selected forums, choose whether to delete topics from the database completely, to only prune topics with X number of replies for fewer (so as to keep any popular topics in the forums from being pruned), and to only prune topics that have not had a reply in X number of days.

Click here to download this file
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter · Google+
Follow Invision Focus: On Facebook · On Twitter

#2 sunrisecc

sunrisecc

    Regular Poster

  • Members
  • PipPipPip
  • 37 posts
  • Location:Toronto, Ontario Canada
  • IP.Board Version:3.3

Posted 17 February 2011 - 08:24 AM

Michael:

Re: The new condition added in 1.0.1

Can I just select the new condtion alone or must it be used with the original condtion (fewer than x posts)?
Seymour

#3 Michael

Michael

    Administrator

  • Management
  • 3,467 posts
  • Location:Columbus, OH
  • IP.Board Version:3.4
Contributor

Posted 17 February 2011 - 10:31 AM

You can do either one. For each setting that deals with what topics to prune, it checks to see if you set that setting, and if so, it applies it to the list of topics to prune.
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter · Google+
Follow Invision Focus: On Facebook · On Twitter

#4 sunrisecc

sunrisecc

    Regular Poster

  • Members
  • PipPipPip
  • 37 posts
  • Location:Toronto, Ontario Canada
  • IP.Board Version:3.3

Posted 17 February 2011 - 10:36 AM

Thank you.
Seymour

#5 Dave MacLeod

Dave MacLeod

    I'm just an idiot.

  • Premium Members
  • PipPipPipPip
  • 245 posts
  • IP.Board Version:3.2
Contributor

Posted 13 September 2011 - 07:51 AM

I am using M32 delete old topics, is this something that would replace this or supplement it?
could they be used together to "fine tune" cleanup a bit?
I never understood why IP did not address this natively, smf has its faults but it had a SUPER cleanup setup, each forum had own schedule.

if this would be better then M32 I will gladly buy it.

Dave M.


#6 Michael

Michael

    Administrator

  • Management
  • 3,467 posts
  • Location:Columbus, OH
  • IP.Board Version:3.4
Contributor

Posted 13 September 2011 - 08:03 AM

I don't know that other product, maybe it does the same thing as this. This one has always been one I've done as a paid product and just recently updated it for 3.2. If there's a question about this that you might have, I can answer that?
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter · Google+
Follow Invision Focus: On Facebook · On Twitter

#7 Dave MacLeod

Dave MacLeod

    I'm just an idiot.

  • Premium Members
  • PipPipPipPip
  • 245 posts
  • IP.Board Version:3.2
Contributor

Posted 13 September 2011 - 09:05 AM

well have always had good luck with your stuff so will purchase in 2 weeks when check arrives.
and if they coincide well thats just a plus then :)
if they do can set up weekly for some forums and monthly for others.

either way I will purchase soon.

Dave M.


#8 AndyF

AndyF

    Cogito ergo sum

  • Staff
  • 1,154 posts
  • Location:Derby, UK
  • IP.Board Version:3.4
Contributor

Posted 20 April 2012 - 06:42 AM

I'm not sure this has worked for quite a while now, I thought that a bit ago but left it to its own devices to be sure. :unsure: :)

Please see following screenshots, you'll note the topics are quite old regarding their last reply, and the settings look good to me. The hook is up to date and the task is enabled too.

Attached File  pruner_1.png   28.52KB   2 downloads

Attached File  pruner_2.png   10.93KB   2 downloads

Attached File  pruner_3.png   38.65KB   2 downloads

Attached File  pruner_4.png   40KB   2 downloads

Andy


A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6 - 3.0.5 - 3.1.4 - 3.2.3


#9 Michael

Michael

    Administrator

  • Management
  • 3,467 posts
  • Location:Columbus, OH
  • IP.Board Version:3.4
Contributor

Posted 20 April 2012 - 07:35 AM

Do the Scheduler Logs for this show anything?
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter · Google+
Follow Invision Focus: On Facebook · On Twitter

#10 AndyF

AndyF

    Cogito ergo sum

  • Staff
  • 1,154 posts
  • Location:Derby, UK
  • IP.Board Version:3.4
Contributor

Posted 20 April 2012 - 07:45 AM

Yes, bizarrely the same (263 topics), I ran it manually today to check but you can see from the pic:

Attached File  pruner_5.png   17.57KB   1 downloads

They are not in Removed Content, the topics are present in the Test forum still. :)

Andy


A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6 - 3.0.5 - 3.1.4 - 3.2.3


#11 Michael

Michael

    Administrator

  • Management
  • 3,467 posts
  • Location:Columbus, OH
  • IP.Board Version:3.4
Contributor

Posted 20 April 2012 - 10:57 AM

OK, worked with Andy and tracked down a couple of issues. The topics weren't being pruned because the 'number of days' setting was designed a bit too confusing. It was set to 0, which will then only prune topics with 0 replies, and the topics that weren't being pruned each had replies. So I reworded that setting a bit.

I also tweaked the code somewhat to be more efficient, it'll prune all the topics at once instead of looping and pruning one-by-one. I also made sure to not try and prune topics already in the 'deleted content' section.
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter · Google+
Follow Invision Focus: On Facebook · On Twitter

#12 Michael

Michael

    Administrator

  • Management
  • 3,467 posts
  • Location:Columbus, OH
  • IP.Board Version:3.4
Contributor

Posted 14 December 2012 - 02:28 PM

This app still works fine for IP.Board 3.4, nothing was changed except the documentation indicating its new compatibility.
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter · Google+
Follow Invision Focus: On Facebook · On Twitter





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users