#1415 - The ability to clear pinned topics

This is a spacer post for a website comment topic. The content this topic relates to: #1415 - The ability to clear pinned topics
Hi,

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.)
Thinking about this some more:

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
If this was simplified so there was just a points-per-day cost, it would be the same as #40, and yes would be easier (and something we'd be willing to integrate).
Hi Chris,
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
0 guests and 0 members have recently viewed this.