htaccess content page pickups

Discussion corner for Developers of Serendipity.
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

htaccess content page pickups

Post by Timbalu »

On busy sites I love using "/serendipity/comments/" to get a quick overlook what has happened so far.

I just came up asking me, if we could have something like this for entries images?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: htaccess content page pickups

Post by garvinhicking »

I just came up asking me, if we could have something like this for entries images?
Not really, there's no database table that defines which image has been used in which blog entry.
# 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

Re: htaccess content page pickups

Post by Timbalu »

Yes, I expect there isn't... yet! ;-)
But I remember a feature request to have this for the backend. Providing this sometime, we could also use it for the Frontend, couldn't we?!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: htaccess content page pickups

Post by bernd_d »

garvinhicking wrote:Not really, there's no database table that defines which image has been used in which blog entry.
I don't know if serendipity_event_usergallery could be used for this. It has an option for something like this. In german it is namend
Link zu den Einträgen/statischen Seiten zeigen, die auf das Bild verlinken?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: htaccess content page pickups

Post by garvinhicking »

Timbalu wrote:Yes, I expect there isn't... yet! ;-)
But I remember a feature request to have this for the backend. Providing this sometime, we could also use it for the Frontend, couldn't we?!
Sure, yes! As a first step we added this <!--s9ymdb:XX--> feature in blog entries...but parsing this in the DB is really slow. So it would be better to use a backend_save hook or so that parses it when saving, which then updates a "serendipity_imageref" or whatever database table.
# 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