wish usergallery: comments/description to folders

Creating and modifying plugins.
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

wish usergallery: comments/description to folders

Post by stm999999999 »

hello,

perhaps I did not found it, but it would be nice to be able to add a short description to the image-folders of the media-library, so they can be displayed (e.g.) by the usergallery-plugin.

I do not know whether tis is a job for the the usergallery-plugin or for the library istself.
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: wish usergallery: comments/description to folders

Post by garvinhicking »

Hi!

We currently have no storage for this extra information, so a new DB table would need to be created for this either by the plugin or the core (both could do that).

It's a good suggestion that we should be able to add to Serendipity 1.3, maybe you can add it to our feature request tracker so that it does not get lost?

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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: wish usergallery: comments/description to folders

Post by stm999999999 »

garvinhicking wrote:Hi!

We currently have no storage for this extra information, so a new DB table would need to be created for this either by the plugin or the core (both could do that).
We did not have a table for image-folder-informations?

Whats about Manage directories/Read permission ans Write permission? Where is this stored?
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: wish usergallery: comments/description to folders

Post by garvinhicking »

Hi!
We did not have a table for image-folder-informations?
We *do* not have that, right.
Whats about Manage directories/Read permission ans Write permission? Where is this stored?
This is stored in the 'serendipity_acl' database and it can only store a associated group id to a directory. It does not have fields to store generic data, and it is also not supposed to go into a permission-relation table...

Best 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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: wish usergallery: comments/description to folders

Post by stm999999999 »

garvinhicking wrote:Hi!

This is stored in the 'serendipity_acl' database and it can only store a associated group id to a directory.
Ah, it is based on an another mechanism. I thought it would be like a "everything we have to know about this folder"-table :-)
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: wish usergallery: comments/description to folders

Post by garvinhicking »

Hi!

Sadly it isn't. This is one of the places where I thought "Ah, what the hell would one more require to set on directories than permissions". I didn't think of frontend galleries and directory attributes. :)

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/
Post Reply