By Jordan Weinstein on Monday, 20 July 2015
Posted in General Issues
Replies 5
Likes 0
Views 1K
Votes 0
When a user group is assigned as a moderator of a category (using category > permissions) and if 'Moderate All Posts' is enabled in Settings > Workflow, then the moderator himself cannot post without the post being moderated. It seems the only way to post without moderation is if a Superuser is posting the reply. This seems to be a bug (which I have reported before actually). This is not even addressed by setting all the ACL settings under to 'allowed' in the ACL section of EasyDiscuss. The funniest part is that the moderator is sent an email to approve his own post.

Quite simply, what I think should happen is that if a user OR user group is set to moderate a category Under Category > Permissions > 'Who can moderate this category', then if that user or member of that group posts a reply, it should be published without going through moderation (like it seems to if a superadmin posts)

I have attached my site details.
Hey Jordan,

Yeah, you are absolutely right. Will log this into our issue tracker and this will be fixed on the next release of EasyDiscuss. Here's a temporary fix, download the attached file and upload it into /components/com_easydiscuss/controllers/
·
Monday, 20 July 2015 23:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

On a related note, as a fairly simple feature request, it would be great if we could have an option in the moderation options to exclude a selected user group from being moderated. So in Settings > Workflow > Moderate all posts: Yes. And then below, a select list for users where moderation is skipped.

Thanks for considering,

Jordan
·
Tuesday, 21 July 2015 04:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jordan Weinstein,

Thanks for your suggestion, it would be best if you can submit a feature request regarding this in our voice page -> http://stackideas.com/voices/easydiscuss , so everyone else could vote for it, the more people request on this, and we will priority consider it.
·
Tuesday, 21 July 2015 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, will do.

In the meantime, can I just ask you to construct this code to include a usergroup (say group 23 for example) which would also be excluded from moderation? This line seems to be the one that Mark modified:

if( $config->get( 'main_moderatepost' ) && !DiscussHelper::isSiteAdmin( $my->id ) && !DiscussHelper::isModerator($data['category_id']) !DiscussHelper::isModerateThreshold( $my->id ) )


I realize it's a custom request and if not appropriate, please disregard.

Jordan
·
Tuesday, 21 July 2015 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Jordan Weinstein,

I am sorry for the delay of this reply,

Yes, based on the code is excluded which user group assigned to moderator, when this user group user submit a new or reply discussion, the system will allow to published it directly.

But I noticed that was some bug, can you download my 2 attached file and replace in :

JoomlaFolder\components\com_easydiscuss\views\post\view.ajax.php
JoomlaFolder\components\com_easydiscuss\controllers\posts.php

And see how it goes?
·
Wednesday, 22 July 2015 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post