sticky entry and outdating

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

sticky entry and outdating

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: sticky entry and outdating

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

ok, thanks!

But it might be a good idea for future versions, wouldn´t it?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post 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
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply