Display last comments from a pic, an album or a category. Display last comments from a pic, an album or a category.
 

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

Main Menu

Display last comments from a pic, an album or a category.

Started by nauta, March 03, 2009, 09:18:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nauta


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!!!

nauta


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.




torkio

Quote from: nauta 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.





I'm interested :)
can you post the code?