By Jan Bergare on Wednesday, 29 August 2018
Posted in General Issues
Likes 0
Views 432
Votes 0
Hi!

Is there any way that I can allow only admins and owner of a group/page to invite new members/followers? I don't want every member to be able to.

Thanks!
Hey there,

Sadly there is no setting for that. You can only change that through code.

For group, you're only able to configure that by chancing the code on file:

Joomla\components\com_easysocial\includes\group\group.php

On line no.1708

[gist type="php"]
if ($user->isSiteAdmin() || $this->isAdmin() || $this->isMember()) {

[/gist]

Replace with

[gist type="php"]
if ($user->isSiteAdmin() || $this->isAdmin()) {

[/gist]


For page, you're only able to configure that by chancing the code on file:

Joomla\components\com_easysocial\includes\page\page.php

On line no.1542

[gist type="php"]
if ($user->isSiteAdmin() || $this->isAdmin() || $this->isMember()) {
[/gist]

Replace with

[gist type="php"]
if ($user->isSiteAdmin() || $this->isAdmin()) {

[/gist]
·
Wednesday, 29 August 2018 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Yes there's a way to restrict invitation.

For group head to backend -> EasySocial -> Groups -> Choose group -> Change group type according to preference

For pages head to backend -> EasySocial -> Pages -> Choose page -> Change page type according to preference

If there's any further question please ask away.
·
Wednesday, 29 August 2018 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm – can't find an option that does what I want. All options in the screenshots allow any existing member of a group to invite new members. I need to restrict "regular" members of a group/page to invite people. Only those marked as admin or owner of the group should be allowed to.

Possible?
·
Wednesday, 29 August 2018 15:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Brilliant!

Thank you for your help!
·
Wednesday, 29 August 2018 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem .

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Thursday, 30 August 2018 10:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post