Member
Member
Jessterw   29-07-2006, 14:55
#1

Did a quick search and didn't see this posted, so the question/feature request is, would it be possible to see an option for allowing comments for an album/set as well as individual photos?

This is not something I've specifically wanted, but a number of people who I have directed to ZenPhoto for use as a photo gallery, have asked if it was something it could do. Granted, most of these people have been artists, so there is a greater need/want for allowing a set to be commented on outside of any specific pieces (photos).

I haven't looked at the code or the db schema for ZP, so I am honestly unaware of how easy this would be to add, either officially or as a 'hack'. As I know there are other feature priorities and album comments isn't something most users are going to need/want, any pointers for the latter (hack) would be appreciated.

Thanks.

Developer
Developer
trisweb   06-08-2006, 18:15
#2

As a hack, the best way to do it would be to use the image comment code (classes.php, Image class) and create a sort of "dummy image" for each album, then add the comments onto it... very hacky, and probably not compatible with the garbage collection (the image will be destroyed, since it doesn't actually exist). Alternatively, use the current comments table with a new field (albumid) and copy the comment methods from the Image class to the Album class, except insert on the albumid instead. Pretty complicated, but more robust (and probably less buggy) than the first idea...

Now, since this is a feature request, I'll say the right way to do it is to wait until we have a common inherited "zp object class," which all Images, Albums, and Groups will inherit from, and contains the commenting code. All comments will go into the comment table and can be attached to anything, and themes can display comments for anything. That sounds ideal, but will have to wait for a 2.0 rewrite. I will add it to the list for sure.

Member
Member
tummblr   01-12-2007, 21:21
#3

I'd just like to second the idea of allowing comments for albums and subalbums (i.e., comments on album.php pages). Thanks!

Member
Member
Blair   05-12-2007, 19:11
#4

I like the idea of commenting on an album too

Q: if you have a common inherited "zp object class" could you also have the ability to comment on a comment?

Developer
Developer
trisweb   05-12-2007, 19:47
#5

@Blair, and we do have a common object class, just not a common object identifier. Essentially it's a polymorphic association, so we need both a type (table) name and an id to reference. Not terribly difficult to add to the comments table...

But, comments themselves are not treated the same way as albums and images, so you can't comment on a comment, though that would be interesting for "threads". We should look into it.

Member
Member
zucye   27-12-2007, 17:22
#6

Any updates on a hack to comment on Albums??

I'm very insterested since I use greybox, so commenting on individual pictures is not really working for me.

Member
Member
sbillard   27-12-2007, 17:52
#7

I use simpleviewer on my site. What I have done is provide a link to the image page so that people can view an individual image (to see the exif data, etc.) There they can comment on the image.

The comments on albums ticket has been recorded. So far no one has stepped up the implementation, though.

Member
Member
zucye   01-02-2008, 17:42
#8

@sbillard, Can I see your site, to try to understand what you are talking about?
Thanks in Advance
Zucye

Member
Member
sbillard   01-02-2008, 18:14
#9

albums.sbillard.org is the site. It uses the standard efferevescence+ theme. (I don't allow comments on this site, but you can still view the image page.)

Member
Member
zucye   01-02-2008, 19:49
#10

Got the following error

Zenphoto Error
MySQL Error: Zenphoto could not connect to the database server. Check your zp-config.php file for the correct host, user name, and password. Note that you may need to change the host from localhost if your web server uses a separate MySQL server, which is common in large shared hosting environments like Dreamhost and GoDaddy. Also make sure the server is running, if you control it.


@All, Have a wonderful Weekend    
Member
Member
sbillard   01-02-2008, 20:30
#11

Was this on albums.sbillard.org? it is working now. Might have been a host server glitch.

Member
Member
zucye   06-02-2008, 23:07
#12

It is up and working now and I see what you meant. By the way nice weading... yours?

The new version is suppose to have this feature. Has anyone use it yet???

Member
Member
sbillard   07-02-2008, 02:45
#13

It was my daughter's wedding.

This featrue (in effervescence+ has been there for a while.)

Member
Member
zucye   08-02-2008, 16:26
#14

I haven not seen it. I will check more carefully later. Thanks for the info and you have a beautiful daughter!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.