SMF Development > Next SMF Discussion

Additional options for [MOVED] threads...

<< < (3/4) > >>

emanuele:
Here it is a test package.

Please note I tested it only very quickly.
Feel free to use it, but consider it a beta version and nothing more than that, so only for testing! (If you say it works, I'll trust you! :P)

Let me know if you think it's working as expected and if it's flexible enough.

For each board you can decide the "cleaning" frequency, then a scheduled task is run at defined (and definable) intervals of time.
The regularity of the task can be defined in admin > config > mod settings where is also possible to define the number of boards processed during each scheduled task (BTW: we should have a nice interface to change scheduled tasks' regularity :P).

Code available also here.

numus:

--- Quote from: emanuele on November 18, 2011, 02:53:34 PM ---Here it is a test package.

Please note I tested it only very quickly.
Feel free to use it, but consider it a beta version and nothing more than that, so only for testing! (If you say it works, I'll trust you! :P)

Let me know if you think it's working as expected and if it's flexible enough.

For each board you can decide the "cleaning" frequency, then a scheduled task is run at defined (and definable) intervals of time.
The regularity of the task can be defined in admin > config > mod settings where is also possible to define the number of boards processed during each scheduled task (BTW: we should have a nice interface to change scheduled tasks' regularity :P).

Code available also here.

--- End quote ---



15 minutes? Probably should change that to weeks or days

emanuele:
Both these has been added to 2.1 (expire and autoredirect).

At the moment I don't remember any "admin" interface for it though, the option on the move topic page is in fact only the expire time (a dropdown with never, 1 day, 1 week, 2 weeks, 1 month, 2 months).

Akyhne:

--- Quote from: emanuele on July 15, 2012, 05:46:59 AM ---Both these has been added to 2.1 (expire and autoredirect).
--- End quote ---
+1

But I can't see you can control how old the MOVED posts should be. There should be an option to click that those topics should be x hours or x days old.
As I see it now, the feature can delete a MOVED topic, right after it's been created.

Antechinus:
Doesn't it have the dropdown Ema mentioned? (I haven't looked yet).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version