@Liam W is this addon still supported?
I need Prefix Expiry functionality but it needs to work like this:
Admin tickbox option in the prefix edit page to allow the thread starter to specify the expiry date (instead of the number of hours)
If the above is checked, an additional admin option to specify where in the new thread form that the date picker is located: 1. Below the title or 2. Below the tags.
When creating or editing a thread with the appropriate prefix and with the expiry date option set, show a date field (with date picker functionality) in the location of the form specified by the option (2) above. The default text in the date is set by a phrase, default being Set expiry date. Picking a date is optional.
The text accompanying the date field will be a phrase which includes the title of the prefix. E.g. If you know when the [Prefix] expires, select the date of the last day. The prefix will automatically expire after this date.
When the thread is created, the expiry date is added using a phrase to the bottom of the first post using a phrase e.g. Expires end of [expiry date] with the date using the default date format.
Need a cron to run at midnight which expires threads with the expiring prefixes. Note that the prefix expires after 23:59:59 of the expiry date. For each qualifying thread, it will either remove the prefix or change it to a different prefix according to the admin options.
I'm guessing that we'd a new field in the thread table? Prefix expiry date? Or preferably do it with a separate table, although a separate table will need to be processed if threads are edited/deleted.
We'd also need a batch routine to update threads when prefixes are edited/deleted.
Are you interested in adding this functionality and if so what would the cost be? Do you like the specification? Do you think it could be improved?