#1415 - The ability to clear pinned topics
| Identifier | #1415 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | The ability to clear pinned topics |
| Status | Closed (duplicate) |
| Handling member | Chris Graham |
| Addon | General / Uncategorised |
| Description | Hi,
I would like the ability to be able to set a "pinned topic timeout" on a per forum area basis. For each forum i would like to be able to set a timeout period of a choice of 1 day, 3 days, 1 week, 1 month and 1 year. If any topic pinned in that forum is older that the set timeout period then I would like the topic to be unpinned. I guess this check could be added to the cron job. Please can Composr cost up adding this feature. Cheers Ade |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Comments
There are 3 ways we could go about this:
1) Override the forum add/edit module to add a new UI field to set the pin time for that forum
2) Make a new module to set it
3) Make a simple config file that says the pin time in days for particular forum IDs
I think '3' might be best for your needs. Overriding code is a maintenance pain, and a new module would take quite a while. '3' could be done in 3 hours (implement table install code, monitor when topics are pinned and log it, implement CRON hook to unpin at the right time).
(This would be done as a custom addon, I don't think we would want to add it to our codebase generally as it's pretty specific to your requirements.)
What we really want to achieve is pinned topics pinned by users using their Points to have an expiry date. Topics pinned by moderators and administrators to remain pinned until manually removed.
What I would like is in the "Point Store Options" the ability to configure up to 5 options for Pinning Topics:
Number of days : Points Cost
Number of days : Points Cost
Number of days : Points Cost
Number of days : Points Cost
Number of days : Points Cost
Then when the user goes to the Points Store to pin a topic they are presented with 5 durations and the associated number of points required to pin for that duration.
Then in the background the cron job can unpin these topics when they expire.
Make no differentiation between forums.
Is that easier ?
Cheers
Ade
Ok, I have sponsored it the full amount.
The only extra thing I would like is to be able to set a maximum day upper limit that can be bought, I would like that to be configurable please.
Cheers
Ade