By Norske on Saturday, 29 August 2015
Posted in Groups
Likes 0
Views 1.2K
Votes 0
If a Group is Public it seems that all Discussions (including replies) are posted to the Public/Everyone newsfeed. Is there a way to make them NOT appear in the Everyone newsfeed? Is the only way to do that to make the Group private? I hope not, because I don't want to have to approve every member!
Hello,

Yes, you can make your group as closed group. But closed group require group admin to approve member join request. If you want to maintain the group as public group, then you will need to customise your user's group app. To do this, open the file 'JOOMLA/media/com_easysocial/apps/user/groups/groups.php' and look for below code at line 301:


if (!$group->canViewItem()) {
return;
}


and replace the above with:


if (! $group->isMember(FD::user()->id)) {
return;
}


The above code will check if the users is a group member or not. If the user is not a group member, that particular stream item will not show to user.

Hope this help and have a nice day!
Sam
·
Sunday, 30 August 2015 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the mod! However, I really don't have the staff to maintain mods and reapply them after upgrades.
It would be great if you could make this a STANDARD option in ES.
·
Monday, 31 August 2015 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Norske,

You are most welcome. We will see if we can add this into our core file or not but for now, maybe you can make a backup of this file so that in the next upgrade, you can re-apply the mod by copy the file back to the correct folder

Hope this help and have a nice day!
Sam
·
Tuesday, 01 September 2015 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
I've got a similar problem. I have a group that I want to be joinable by any registered user, but visible only to group members.

I also have groups that are joinable by any registered user but visible to everyone.

I'm guessing the code noted above might not handle both cases ?

It would be nice when we setup groups to be able to have separate control of who can join and who can view.

: D
·
Sunday, 28 February 2016 06:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Dave,

I am really sorry for the delay of this reply as it is a weekend for us here.

I hard to tell you is it similar issue with this original thread before I check in your site.

By the way, Is it possible create a new thread regarding with your issue and provide us with your Joomla backend and FTP access so we can able to check on this?

Also provide us which group is not visible in your registered user? Because in Easysocial group it will based on what group type you select, e.g. open, closed and invite group.

If your group is under 'invite' type, all registered user will not able to see this group unless this invite group member invite they come to join this group.
·
Sunday, 28 February 2016 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
discussion moved to new ticket.

: D
·
Monday, 29 February 2016 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us, we will continue for your original thread.
·
Monday, 29 February 2016 10:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post