forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: dwo on September 10, 2008, 11:46:39 am

Title: [Solved]: comments per album/category?
Post by: dwo on September 10, 2008, 11:46:39 am
I think stramm introduced the list of comments by user, for example:

thumbnails.php?album=lastcomby&uid=64

gives me the latest comments from user 64.


Is there a easy way to only show all comments within one specific album or category?

Like thumbnails.php?album=lastcomby&album=4

Thank you very much, regards, Dietmar

[Edit GauGau] Removed links as per request (http://forum.coppermine-gallery.net/index.php/topic,55036.msg268468.html#msg268468) [/Edit]
Title: Re: comments per album/category?
Post by: Nibbler on September 10, 2008, 03:29:34 pm
Add &cat=123 for a category or &cat=-123 for an album.
Title: Re: comments per album/category?
Post by: dwo on September 11, 2008, 09:16:21 am
Thank you nibbler. Could you please edit the two adresses I inserted above (remove the first adress part). I dont want that they appear on the net.
Thank you very much.

regards, Dietmar
Title: Re: comments per album/category?
Post by: dwo on September 11, 2008, 09:23:22 am
thumbnails.php?album=lastcomby&uid=64&cat=-13

Does work for a single user, but to see all comments of all users

thumbnails.php?album=lastcomby&cat=-13

unfortunately doesnt work.

Wait: ...thumbnails.php?album=lastcomby&uid=all&cat=-13 works. Thank you ;)

regards.
Title: Re: comments per album/category?
Post by: Joachim Müller on September 11, 2008, 09:39:53 am
thumbnails.php?album=lastcomby&uid=64&cat=-13

Does work for a single user, but to see all comments of all users
That's what the menu item "last comments (http://coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=lastcom&cat=0)" does. Take a look at the URL parameters it generates: thumbnails.php?album=lastcom&cat=13 for categories and thumbnails.php?album=lastcom&cat=-13 for albums
If you already found the answer while typing your reply, then why did you submit your posting?

Could you please edit the two adresses I inserted above (remove the first adress part)
Then don't post stuff in the first place. You're causing extra moderation effort, forcing us to edit your postings ::)

I dont want that they appear on the net.
What a strange perception of the www. Most people are happy to see their site's relevance boosted by appearing on a page rank 7 rated site. Security by obscurity? Hm... Anyway, did as you suggested.