Page 1 of 1

sticky entry and outdating

Posted: Sat Nov 05, 2005 2:20 pm
by Timbalu
Hi Garving, Any...

Is there a way to give a sticky entry a sort of outdating, so it will just jump back into the normal way of floating down after this date?

Re: sticky entry and outdating

Posted: Sat Nov 05, 2005 2:22 pm
by garvinhicking
No, the current implementation of sticky entries require you to "unstick" them manually.

One can modify the "outdate_entries" plugin though to remove the ep_is_sticky property value of an entry after a special amount of time. Modifying that plugin should be easy with some basic PHP/SQL knowledge. :)

Regards,
Garvin

Posted: Sat Nov 05, 2005 2:27 pm
by Timbalu
ok, thanks!

But it might be a good idea for future versions, wouldn´t it?

Posted: Sat Nov 05, 2005 2:34 pm
by garvinhicking
I've just committed verison 1.1 of the plugin which allows you to expire sticky entries to unsticky entries after X days.

Regards,
Garvin

Posted: Sat Nov 05, 2005 4:36 pm
by Timbalu
garvinhicking wrote:I've just committed verison 1.1 of the plugin which allows you to expire sticky entries to unsticky entries after X days.
Wowh!
Where in fact can I find it (after > 24h)?
You shurely mean serendipity_event_outdate_entries under additional plugins, don´t you? The current one has Revision: 1.6, Mon Aug 1, thats what is confusing me...

Ian

Posted: Sun Nov 06, 2005 11:41 am
by Timbalu
Hi Garvin, just found it.

Well, my goal was just to have the possibility to modify a individual sticky entry with an individual outdate for being sticky. (There could be something like a countdown of days - instead of marking it as an sticky entry on startpage.) This plugin seems to do more (I´m not sure if it touches normal entries...) and just gives a general outdating value.

Any ideas?
Ian

Posted: Sun Nov 06, 2005 2:15 pm
by garvinhicking
Doing this per-entry is too complicated, I don't have time to implement this and think it's not soo terribly useful?

I'm sorry,
Garvin.