Latest comments

Hi there, i am trying print the latest 5 comments of an specific album, but the result si ...nothing.
the syntax i'm using is this
<?php printLatestComments(5,50,'album',3);?>
I am not sure about the item id , 3 is the album id that i find in the data base,maybe this is the prob?
I'm using the latest version of zenphoto 1.2.6.
Any help would be very appreciated.
Thx

Comments

  • acrylian Administrator, Developer
    You actually did it correctly but the "album" refers to the comments of the album itself, not its images! This means this function can't get you the comments of the image within one specific album. Sorry, for that you need to write your own function using getLatestComments().
  • thx for quick reply, i shall try to write the code, but i think i will ask for some more help since i'm not that good at php
  • actually could you GIVE ME A BIT HELP, cause i kinda screw it up in only 1 minute :)
    i don't know what i did but the database went down,
    if you like to help a dumb :)(i catch my fingers),
    best regars
Sign In or Register to comment.