Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ProfDrDenis on April 07, 2010, 10:43:38 AM

Title: delete topic with a script
Post by: ProfDrDenis on April 07, 2010, 10:43:38 AM
Hello,

I use the RSS Feeder 1.1.4. This brings the News to my Forum. But after XX days I want to delete the old news. Anybody can write a script for me? or what is todo?

Sorry with my english
Title: Re: delete topic with a script
Post by: CapadY on April 07, 2010, 11:02:09 AM
Maybe you can do something with the "Remove old Posts" option ?

You'll find it at:

Admin - Maintenance - Forum Maintenance - Topics

You can select the board(s) the topics should be removed from.
Title: Re: delete topic with a script
Post by: ProfDrDenis on April 09, 2010, 04:27:25 AM
yeah nice idea.

But this is for using with my hands  :'( I am looking for a automatic  way. I can use this with a cron job?
Title: Re: delete topic with a script
Post by: CapadY on April 09, 2010, 04:35:33 AM
Give it a try and tell us :D
Title: Re: delete topic with a script
Post by: ProfDrDenis on April 09, 2010, 05:42:18 AM
what you think its working... but with my hands  :'(

any idea to use this with a cron job? or in SMF?
Title: Re: delete topic with a script
Post by: ProfDrDenis on April 10, 2010, 04:56:56 PM
nobody any idea?
Title: Re: delete topic with a script
Post by: flapjack on April 10, 2010, 05:06:53 PM
I have an idea: create a "Trash" and set auto pruning for xx days. and remember to change permissions to allow people seeing it
Title: Re: delete topic with a script
Post by: ProfDrDenis on April 11, 2010, 05:09:48 AM
My english is lost. Can you please explain step by step what you mean? Thanks
Title: Re: delete topic with a script
Post by: Arantor on April 11, 2010, 05:21:02 AM
Or use the mod called Auto Purge Old Topics...
Title: Re: delete topic with a script
Post by: ProfDrDenis on April 12, 2010, 10:52:42 AM
Quote from: Arantor on April 11, 2010, 05:21:02 AM
Or use the mod called Auto Purge Old Topics...

nice. super its working and this mod do what I want

thanks