A user came to me and said that he can't comment to any of the posting on the stream of
www.modoartist.info
. I checked his account settings and even with a new user he is not able to comment to anything. He is able to post and he can reply to the admins posts without a problem.
This is all a bit strange and I have asked others about this, but there is no feedback right now.
Any ideas?
Hi Tom,
I need the sample of that user who has this issue.. because when I test with account from you everything is working fine.
Thank you
Check information again. Added a user.
-Tom
Hi Tom,
I need confimration from you this issue only happens on that user or also happens on another user?
Can you provide me the FTP access, please? So I can inspect the code.
thank you
It looks like it is for all users. Since the one I granted you access to isn't able to comment on any given topic.
Check my data for FTP.
Hi Tom,
I see, actually for commenting system we only allowed friends / admin can comment it, so if you wanna do comment to the stream, make sure that user is your friend as well.
thank you
Thank you for your answer, but this isn't really helping. Isn't there a way to allow everyone to comment to whatever post?
Thanks!
Hi Tom,
you need hack 2 lines in 2 file to achive this.
1. open this file components/com_community/templates/default/activities.actions.php, find this :
$allowComment = $allowComment && ($my->authorise('community.add', 'activities.comment.' . $this->act->actor, $obj) );
$allowComment = true;
$allowComment = false;
$allowComment = true;
Hi Dimas,
Thanks for this, but I am not able to find the first line of code in that file.
Thanks.
Hi Tom,
Can you provide me the FTP access, please? I help you directly.
Check my data.
BTW wouldn't it make sense to have this as an option in the back end? Depending on the way you are setting up a community it makes sense that each and everybody can post something no matter if they are friends or not. I would like to see this as an option in an upcoming release.
Hi Tom,
Please check again, I just fix this.. and thank you for your idea, I will try to raise this later to our dev.
Thank you