![]() |
|
How to get setComment to work - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How to get setComment to work (/thread-10989.html) Pages:
1
2
|
How to get setComment to work - jphilbert - 2013-04-11 @sbillard ... forget what I said ... I got it to work after nulling everything I did not need with "" adding null is a bad thing smh. How to get setComment to work - sbillard - 2013-04-11 Not sure I understand. The comment about NULL had to do with album instantiation. Nothing at all to do with the addComment method. The album constructor totally ignores the gallery parameter since there is one and only one gallery object. How to get setComment to work - jphilbert - 2013-04-12 hmmm something I posted is missing ... sorry ...must have been the spam filter ...anyway here it is again:I tested this completely on Zenphoto and it works GREAT .as soon as I added it to the API for the plugin it returns user. any ideas as to why?$id = "someid";
$postcomment = $imageobject->addComment($username, 'fake-email.com', '', $commentText, '','' , '', '', '', ''); |