Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: comments per album/category?  (Read 2569 times)

0 Members and 1 Guest are viewing this topic.

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
[Solved]: comments per album/category?
« 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 [/Edit]
« Last Edit: September 11, 2008, 02:05:15 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: comments per album/category?
« Reply #1 on: September 10, 2008, 03:29:34 pm »

Add &cat=123 for a category or &cat=-123 for an album.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: comments per album/category?
« Reply #2 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
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: comments per album/category?
« Reply #3 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: comments per album/category?
« Reply #4 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" 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.