UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline
Normal
Hello Stack Ideas

I am using Groups to display videos and let people answer questions.
I had a developer write a plugin so that when a users buys a product he gets invited into an ES Group.

The heart of this plugin was some code that Mark kindly posted:


$group = ES::group($groupId);

$group->createMember($user->id, true);


After development and testing of said Plugin this works perfectly.

The thing is that having purchased access to the group (essentially purchasing an invite) a user can then go and invite another user.

I know that this is a Private invite Group and that is a good thing.
It is just that I want to be able to control the invites via Hika Shop.
And not have users inviting other user to join.

Is there a way to prevent/block users from inviting other user to join a group.

Whilst NOT* breaking my plugin that essentially lets Hika Shop invite people to join a group after purchase.

If possible only for Groups in the Category "Study Groups"

https://finalbug.net/groups-learn-post-production-socially-fcpx-and-more/categories/11-studygroups/latest

thanks

Paul

*Apologies about the capitals but this is the mission critical part :D
The replies under this section are restricted to logged in users or users with an active subscription with us