Print Page | Close Window

Possible to set a topic to delete after X days

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Suggestions
Forum Description: Do you have any ideas for applications or content on Web Wiz? Then leave your suggestions here.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30248
Printed Date: 29 March 2026 at 4:23am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Possible to set a topic to delete after X days
Posted By: madpakke
Subject: Possible to set a topic to delete after X days
Date 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.



Replies:
Posted By: wildcat dude
Date 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?


Posted By: WebWiz-Bruce
Date Posted: 16 May 2012 at 8:52am
Classic ASP does not have the ability to schedule tasks

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: PedroCury
Date 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...


Posted By: WebWiz-Bruce
Date 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


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: PedroCury
Date 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.


Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Apolite
Date 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...



Posted By: WebWiz-Bruce
Date Posted: 29 December 2015 at 9:03am
You can hide posts and topics that you do not want non admins and moderators to see in forums.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net