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: Display last comments from a pic, an album or a category.  (Read 4230 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.019 seconds with 19 queries.