By Altitudes on Tuesday, 22 March 2016
Posted in Technical Issues
Likes 0
Views 404
Votes 0
Hello

In a group which is not moderated (Post Moderation set to No on group), the "Pending Posts" menu entry is displaying for group admins (see attached snapshot). It should not be displayed...

Thanks

.Fixed in ES 1.4.9
Good catch! Download the file and upload it into /components/com_easysocial/themes/wireframe/groups/
·
Tuesday, 22 March 2016 18:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks.

I tested your file, menu entry has disappeared indeed, but when I set Post Moderation to Yes on my group, "Pending Posts" menu entry does not display
·
Tuesday, 22 March 2016 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
What did you selected for the "Post moderation"? I have tested this internally and it seems to be working correctly for me.
·
Tuesday, 22 March 2016 23:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I switched "Post Moderation" between Yes and No, hoping that the "Pending Posts" menu would show and hide. But it never shows!

You can check this on my dev site if you like, on the group Altitudes Paris for example...
·
Tuesday, 22 March 2016 23:53
·
0 Likes
·
0 Votes
·
0 Comments
·
I checked item.php, and in the code added you check the group parameter stream_permissions instead of stream_moderation, maybe this is why...
·
Wednesday, 23 March 2016 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Can you try download my attached file and replace into your live site and see how it goes?

JoomlaFolder\components\com_easysocial\themes\wireframe\groups\item.php
JoomlaFolder\media\com_easysocial\apps\fields\group\moderation\moderation.php
·
Wednesday, 23 March 2016 13:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

This is working fine except when the "Post Moderation" field is not used in the Custo Fields of the group Category. This is possible as "Post Moderation" is not a mandatory field.

In that particular case, the group behaves as if "Post Moderation" was set to No, but the "Pending Posts" menu is appearing, which is inconsistent.

I don't know whether you should fix that or make the "Post Moderation" field mandatory in group categories...
·
Wednesday, 23 March 2016 17:34
·
0 Likes
·
0 Votes
·
0 Comments
·
I tested again in your dev site, even I set "Post Moderation" to NO, it will not show that "Pending Posts" menu in the group page, you can check my video here : http://screencast.com/t/BcSaKiiaiec
·
Thursday, 24 March 2016 17:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Beware with videos... My community is private, and there is a high risk that you show information that should not be visible!

The scenario with some issue is the following:
1- In backend, remove the "Post Moderation" field from the group category "Antennes Altitudes" (I have done it).
2- Create a new group in backend in this category.
3- In frontend, log in with an admin account. In the group you can see the "Pending Posts" link (as if group was moderated).
4- In frontend, connect with another user account, join the group and post in it. Message is posted straightly (as if group was NOT moderated).

As you can see between 3- and 4-, this is inconsistent... Maybe the solution is to make the field "Post Moderation" mandatory in categories Custo Fields (i.e. this field must be present in custo fields). Fields such as "Allow Videos" or "Enable Announcement" are mandatory...
·
Thursday, 24 March 2016 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Altitudes,

I am sorry for the delay of this reply and thanks for the clear instruction on how to replicate this issue. I've applied a fix on your dev site and now the 'pending post' filter link should work correctly now. Can you please try again?

Below are the files I've modified:

JOOMLAl/components/com_easysocial/views/groups/view.html.php
JOOMLA/components/com_easysocial/themes/wireframe/groups/item.php

The same fix will be added into next release of EasySocial as well

Hope this help and have a nice day!
Sam
·
Monday, 28 March 2016 15:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, this is working perfectly

I attach the files you have modified here, just in case
·
Tuesday, 29 March 2016 17:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there Altitudes,

You are most welcome. Glad to hear that your issue has been resolved now.

And thanks for the files, that would be most helpful for others that haven't had the fix yet!

Also, 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.
·
Tuesday, 29 March 2016 17:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post