By Pat on Thursday, 27 July 2017
Posted in General Issues
Likes 0
Views 791
Votes 0
Hello,
I have such a problem. User with moderator privileges can't see pending posts in frontend. When he modifies a question or answer, this post disappears and goes to the pending folder. Moderator can't see it anymore on the site. This can only be done by the Super User or in backend.
I've applied some fix in this 2 files, can you give it a check is it work fine now?

JoomlaFolder/components/com_easydiscuss/views/dashboard/view.html.php
JoomlaFolder/components/com_easydiscuss/themes/wireframe/toolbar/default.php
·
Thursday, 27 July 2017 10:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Moderator now has access to the manager panel and pending posts, but he still does not see the pending posts when he browses individual threads on the board.
Pat
·
Thursday, 27 July 2017 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
I've applied some fix into your site, can you try again?

JoomlaFolder/administrator/components/com_easydiscuss/includes/post/post.php
JoomlaFolder/administrator/components/com_easydiscuss/models/posts.php
JoomlaFolder/components/com_easydiscuss/controllers/posts.php
JoomlaFolder/components/com_easydiscuss/themes/wireframe/post/default.moderator.actions.php
·
Thursday, 27 July 2017 17:41
·
0 Likes
·
0 Votes
·
0 Comments
·
The moderator can see pending posts now. However, I found another small issue. When the moderator edits someone's post, it gets a "Pending Moderation" label and he must then accept it. But it's not big problem.
Pat
·
Thursday, 27 July 2017 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
I have a little lost here, do you mean when the moderator trying to edit one of the topic moderation post or reply?

And is it possible to provide us some of the screenshot which section show "Pending Moderation" label?

Because based on what i see in my locally, this "Pending Moderation" label only appear on the reply section, you can check my screenshot here : http://take.ms/p6s05

Once the moderator approve that reply, that "Pending Moderation" label no longer appear on the page.
·
Thursday, 27 July 2017 19:09
·
0 Likes
·
0 Votes
·
0 Comments
·
The "Pending Moderation" label appeared when the moderator edited Czwarty's post. See the screenshot 1. Moderation is also needed when the moderator creates new post or adds a reply (screenshot 2). He must moderate himself.

Byt the way, this label can not be translated to other language.
Pat
·
Thursday, 27 July 2017 19:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for reported, it seems like it hardcoded to show 'Pending Moderation', I already applied some fix in this file JoomlaFolder/components/com_easydiscuss/themes/wireframe/post/default.reply.item.php .

Then you have translate it from backend > extension > language > override > search 'COM_EASYDISCUSS_PENDING_MODERATION' > edit and translate it

The "Pending Moderation" label appeared when the moderator edited Czwarty's post. See the screenshot 1.

Regarding this issue, when the moderator edit the reply and save, it will still show the pending moderation is because your moderator haven't approve that reply yet. Mean after your moderator modified that reply content and save it, they have to click on approve reply button on that reply section.

Moderation is also needed when the moderator creates new post or adds a reply (screenshot 2). He must moderate himself.

I've applied some fix in this file -> JoomlaFolder/administrator/components/com_easydiscuss/models/category.php , it shouldn't moderate the moderator reply when they submit a new reply.
·
Friday, 28 July 2017 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
when the moderator edit the reply and save, it will still show the pending moderation is because your moderator haven't approve that reply yet.

It was about a post that did not wait for moderation. After editing by the moderator post was marked "moderation pending". But now it does not matter. After your code changes everything works fine.

Moderator questions and answers no longer require moderation. It also works well.

Thanks for this. Thank you also for adding "COM_EASYDISCUSS_PENDING_MODERATION".
Pat
·
Friday, 28 July 2017 17:39
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome. Glad to heard your issu resolved.

All these fix will included in next release version as well.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Saturday, 29 July 2017 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post