Pages (2): 1 2   
Member
Member
nessamaria   30-01-2009, 20:00
#1

How can I call the most recent comments made on my zenpage articles? Using the zenphoto call just calls the comments that have been made on my photos.

Administrator
Member
Member
nessamaria   09-02-2009, 17:58
#3

Thanks for answering, and sorry for asking - that was something I totally should have figured out myself, as you had already conveniently supplied the information in the guide.

I'm having some trouble implementing it, however. This is what I have in the codeblock section:

I've also tried it without the 'all'

It returns 7 comments (instead of 8) and it doesn't return the most recent ones. For example, the 2 most recent comments were on the same article. For a day or so, neither of them showed up in the latest comments. Now the first one does show up, but the second and latest comment does not.

I hope that's clear. Can you tell me why this might be happening?

Administrator
Administrator
acrylian   09-02-2009, 18:49
#4

It should actually do that of course. I will try to reproduce that (I have to admit I don't use comments myself at all...). Were the comments maybe moderated?

Administrator
Administrator
acrylian   09-02-2009, 19:31
#5

I did a quick test and it seems to work correctly for me.

Member
Member
nessamaria   09-02-2009, 19:46
#6

They're not moderated, so they really should all show up. Since it only is returning 7 comments, and I'm asking for 8, it's like the most recent comment is there and just not showing. Very frustrating.

Administrator
Administrator
acrylian   09-02-2009, 20:09
#7

I am sorry it does work for me. Are you sure that you not expecting an comment of an image/album to be included?

Member
Member
nessamaria   09-02-2009, 21:00
#8

No, just comments on articles. Thanks anyway, I appreciate it. It seems like it might be a database problem. If I figure it out, I will post.

Member
Member
klimas   24-03-2010, 21:34
#9

Hi, I have to say, that it seems to me, that the function "printLatestZenpageComments" for "pages" links wrong, instead with string :page&title=..: with string "news&title=.... You can see it on my pages: http://tourdebier.cz/forum/index.php?p=pages&title=forum where the link links to "add comment" instead to the page "forum". Do I do something wrong?

My code is:

Thanks! Klimas

Administrator
Administrator
acrylian   25-03-2010, 10:59
#10

Thanks, will take a look, might be an oversite from times where pages where not intended to have comments.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.