Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Possible to set a topic to delete after X days
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Possible to set a topic to delete after X days

 Post Reply Post Reply Page  12>
Author
madpakke View Drop Down
Groupie
Groupie


Joined: 09 June 2009
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote madpakke Quote  Post ReplyReply Direct Link To This Post Topic: Possible to set a topic to delete after X days
    Posted: 30 March 2012 at 7:20am

Hey Bruce,

Is it possible to set topics, to be automatic deleted after X days in a forum.?
 
Is this feature something you will look at.?
Because so can i use it, so my users can create sales announcement in the forum.
Back to Top
wildcat dude View Drop Down
Newbie
Newbie
Avatar

Joined: 13 November 2010
Location: Smyrna, TN
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote wildcat dude Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2012 at 1:34am
I myself would like this feature as we have to manually delete our for sale/trade or buy posts after 30 days. wonder if the calendar event might work for this?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2012 at 8:52am
Classic ASP does not have the ability to schedule tasks
Back to Top
PedroCury View Drop Down
Groupie
Groupie


Joined: 12 July 2008
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote PedroCury Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2012 at 8:10pm
This would be also very important for me... also for sales announcements. It could have the option to delete post, hide or move to another forum (I prefere moving so I can keep track later).

This could be done with a everyday schedule task that run a script that checks wahtever need to be done in a dayly basis... Ex: if today date = expiration date for a topic -> take action and reset expiration dates. 

Another feature that can help ads announcements (or whatever) would be to have a button that show only to the user that created the topic asking to close the topic - So users that already sold their products can ask for moderators to close, move, hide or delete it.  Or even better... If moderators can set a default action for this button... like move the topic to another forum...
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2012 at 9:02pm
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

Classic ASP does not have the ability to schedule tasks
Back to Top
PedroCury View Drop Down
Groupie
Groupie


Joined: 12 July 2008
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote PedroCury Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2012 at 9:57pm
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

Classic ASP does not have the ability to schedule tasks

Yes.. but this can be done other way around.. you can set a function in any script you are sure that runs everyday, lets say.. several times each hour... so the script will triger a function to check all the pending notifications, comparing dates. As I said.. If the date is the same, it will take action... If not, the date will be reset.  To avoid the overhead of the function all the time, you can trigger it depending on the time of the day or a particular event - Exemple - It will trigger everytime a new reply is done each day before 10 a.m. or only when the first user logs into the forum each day.

I do that withmy news RSS... since RSS is only updated when a news is post in done, I only call the "update RSS" function when a news is created, updated or deleted.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2012 at 11:15am
On busy forums there will be pages that run everyday that could be used as a trigger, but on less active forums there is no guarantee that any page would  be run daily and so no way to trigger a scheduled task.

Also if a scheduled tasks is triggered by a page view then if the scheduled task takes time to run that visitor may have to wait some time for the page to display. This could loose you visitors or worse still if it was Googles search bot having to wait for the page to load could lower your search ranking which now also take in to account how long pages take to load on your website.

When considering new features, it maybe a great idea, but you also have to consider how the feature would be implemented and it's impact on performance and security.
Back to Top
Apolite View Drop Down
Newbie
Newbie


Joined: 23 December 2015
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Apolite Quote  Post ReplyReply Direct Link To This Post Posted: 27 December 2015 at 5:19pm
I'm looking for a way to do this too. Is it possible to do this now? Or maybe not even delete them but archive them to some sort of old sub section.
http://gold.com - gold
Originally posted by PedrooCury PedrooCury wrote:

This would be also very important for me... also for sales announcements. It could have the option to delete post, hide or move to another forum (I prefere moving so I can keep track later).

This could be done with a everyday schedule task that run a script that checks wahtever need to be done in a dayly basis to get to the Ex: if today date = expiration date for a topic -> take action and reset expiration dates. 

Another feature that can help ads announcements (or whatever) would be to have a button that show only to the user that created the topic asking to close the topic - So users that already sold their products can ask for moderators to close, move, hide or delete it.  Or even better... If moderators can set a default action for this button... like move the topic to another forum...



Edited by Apolite - 30 September 2016 at 1:10pm
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.