Hi, I have this issue where the authenticated users can not put any comments on the images, while the administrator can give the comment, when an authenticated user put comment there was error saying "Comment: unauthorized comment submitted or comment submitted to a closed post tESTHDS." , I tried giving permission to the authenticated user to "administer the comments", and then it worked, but it is not a good solution since they can delete each other's comments. Commenting the albums do work though.
Anyone has a solution for this?

Comments

eastcn’s picture

Failure to obtain the "nid" led to the problem.
Please open the file photos.pager.inc, look for:

$image->comment['box'] = comment_form_box(array('nid' => $node->nid), t('Post new comment'));

Will be "$myalbum->nid" was revised to " $node->nid"

In addition, 2.x is a test version of instability, if used in the production environment, you should use a stable version 1.

vidda’s picture

Version: 6.x-2.5-dev2 » 6.x-2.5-beta1

I have the same problem with anonymous users. But I don't understand your answer what to do : change from $node->nid to $myalbum->nid ?
When I did that I lost identification fields from comment form.
Is there a solution? This is the probably the last problem I have with this beta now.
I know, this is beta, but I am only preparing my web. Stable version does not have features I need (sorting many images).

eastcn’s picture

6.x-2.5-beta1 has been released to address an anonymous user comments,
you can test here: http://hi.500959.com/photos/image/294#comment-form

vidda’s picture

I have this 6.x-2.5-beta1 a I know it worked some time ago, now it does not work.

nathaniel’s picture

Status: Active » Closed (fixed)