View Issue Details

IDProjectCategoryView StatusLast Update
0001415Composr[All Projects] General / Uncategorisedpublic2013-10-03 15:23
ReporterLhasadreamsAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionduplicate 
Product Version 
Fixed in Version 
Summary0001415: The ability to clear pinned topics
DescriptionHi,

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
TagsNo tags attached.
Time estimation (hours)3
Sponsorship open

Activities

Chris Graham

2013-10-01 23:25

administrator   ~0001804

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.)

Lhasadreams

2013-10-02 16:41

reporter   ~0001805

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

Chris Graham

2013-10-03 11:30

administrator   ~0001806

If this was simplified so there was just a points-per-day cost, it would be the same as 0000040, and yes would be easier (and something we'd be willing to integrate).

Lhasadreams

2013-10-03 15:23

reporter   ~0001807

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

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised