By Caminhos de Pax on Tuesday, 22 July 2014
Posted in General Issues
Likes 0
Views 1K
Votes 0
Hi,

I have spot some problems with comments in articles. I'm using jomsocial integration.

1 - regular members can edit other members comments.
2 - owner of the comment can't delete his comment
3 - Comments deleted by admin don't remove the entry of that comment in jomsocial wall.
4 - Comments edited, don't change the text on the wall entry of that comment. Bacause this probably is not possible to do, when some one edit a comment and post it, the previest wall entry should be deleted and a new one created.
5 - If guest comments is enabled, and the guest don't register, just add is name to the form, the comment is posted with the guest name but with the avatar of the member that is viewing the comment. This means that all members that see that comment will see their avatar on the comment, and all of them can edit the comment.

Thanks
Hello Caminhos,

I am sorry for the late reply.
1 - regular members can edit other members comments.
>> This is because you have enable the settings Manage Comments = Yes in the EasyBlog ACL for registered user group. If allowed, user can manage any comments that are posted throughout the site. I have helped you set it to No.

2 - owner of the comment can't delete his comment.
>> This is because you didn't enable the setting for delete comment = Yes. It need to be allowed for user to have ability to delete comments on their blogs. Screenshot: http://screencast.com/t/7cctahjZ .

3 - Comments deleted by admin don't remove the entry of that comment in jomsocial wall.
>> I believe this cannot be done in the current system. It is because, "the entry of that comment in Jomsocial" is a stream post where it is an activity of a user.

4 - Comments edited, don't change the text on the wall entry of that comment. Because this probably is not possible to do, when some one edit a comment and post it, the previous wall entry should be deleted and a new one created.
>> I believe this cannot be done in the current system. It is because, "the entry of that comment in Jomsocial" is a stream post where it is an activity of a user. This possible to be done but need to be able to do customization to the code code.

5 - If guest comments is enabled, and the guest don't register, just add is name to the form, the comment is posted with the guest name but with the avatar of the member that is viewing the comment. This means that all members that see that comment will see their avatar on the comment, and all of them can edit the comment.

>> Please put this code in your site: \administrator\components\com_easyblog\tables\profile.php .

function getAvatar(){
if( is_null( $this->id ))
{
$this->id = '0';
}

return EasyBlogHelper::getHelper( 'avatar' )->getAvatarURL( $this );
}


Can you provide us with FTP access to your site so that we can further check this issue help you fix these issues soon.
Please be advise.
Thanks.
·
Tuesday, 22 July 2014 18:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

3-4 Stream problems
I see now that this is not only with comments but also with blogs. If I add a blog, I get a new entry on the jomsocial wall saying that I have added a blog. But if I delete the blog, the entry is not removed from the wall (stream). So I have an entry saying that I have added a blog that no longer exist. So when I delete the blog, the entry in the wall should be removed also, as it happens with content I add in jomsocial (photos,videos groups, events, etc...) This also happen with comments in the blogs. I delete them, but they still show on the wall. If I delete it it should be removed from the wall.

5 - the code you provided give me a blank page after adding it. I have added info for you to access my files. I can't give you FTP because it's restricted to IPs from my country. Look into "option information"

Thanks
·
Tuesday, 22 July 2014 18:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Caminhos,

I am sorry for the late reply.
I have fixed guest avatar for comment not displayed correct when someone logged into the site. Can check it for me is this issue is resolved? This fix will be included in the next release.
Regarding the Jomsocial stream items for delete and edit comments, delete blogpost, I am sorry but we still debugging this issue.

Thanks for the understanding.
·
Wednesday, 23 July 2014 13:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Caminhos,

I have fix the delete blogpost Jomsocial stream on your site. I have put some code in your site and you need to allow this setting in Joomla > Components > EasyBlog > Settings > Integrations > Jomsocial: http://screencast.com/t/agZ3W5l0F . Can you check for me this settings and update us back?

Please be advise.
Thanks.
·
Wednesday, 23 July 2014 14:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

The avatar problem on the guest comments it's fixed, thanks.

The delection of the blog that also deletes the stream of it, it's working now.

The only thing that is not working is the same thing for comments. When I delete a comment the stream of the comment should also be deleted, and when I update the comment the stream should be updated.

Thanks
·
Wednesday, 23 July 2014 16:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Caminhos,

I am sorry but unfortunately there's no way to intercept this when you delete a comment on the stream and we will not be able to do this currently
·
Friday, 25 July 2014 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, thanks!
·
Thursday, 31 July 2014 01:46
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Thursday, 31 July 2014 01:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post