Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Display last comments from a pic, an album or a category.  (Read 4212 times)

0 Members and 1 Guest are viewing this topic.

nauta

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • Behind each picture there is a story for that we want to tell the story with pictures
Display last comments from a pic, an album or a category.
« on: March 03, 2009, 09:18:55 pm »


Someone knows how to display the last comments form:
- a picture
- an album
- an category

The function cpm_viewLastCommentedImages does not accepts the array parameter $option.

I am interested in this functionality because I want to create a sort of magazine frontpage based on the comments left by the users (see:www.laguardiatoledo.info

Thanks!!!
 
Logged

nauta

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • Behind each picture there is a story for that we want to tell the story with pictures
Re: Display last comments from a pic, an album or a category.
« Reply #1 on: March 08, 2009, 03:16:25 am »


Done partially!

To add this functionality was pretty easy, I have added a couple of functions:

   cpm_viewLastCommentedImagesFromAlbum($rows, $columns, $options, $album )
   cpm_viewLastCommentedImagesFromPicture($rows, $columns, $options ,$picture)

And it works fine!

If someone is interested in ask for the code.



Logged

torkio

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 94
Re: Display last comments from a pic, an album or a category.
« Reply #2 on: March 19, 2009, 01:24:45 pm »

Done partially!

To add this functionality was pretty easy, I have added a couple of functions:

   cpm_viewLastCommentedImagesFromAlbum($rows, $columns, $options, $album )
   cpm_viewLastCommentedImagesFromPicture($rows, $columns, $options ,$picture)

And it works fine!

If someone is interested in ask for the code.





I'm interested :)
can you post the code?
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.