By Christopher caruk on Thursday, 05 June 2014
Posted in General Issues
Replies 5
Likes 0
Views 1.2K
Votes 0
Hello,

I'm returning to the development of a site that uses EasySocial and EasyDiscuss after working on other projects.

Since it's the earliest days of EasySocial, I've needed a way to provide groups with private discussions. Now that EasySocial has groups, it's closer to what we need but the discussion mechanism in EasySocial is no where near as good as EasyDiscuss (no ranking for example) so taking EasyDiscuss away from our users and switching them over to group discussions is just not going to work.

So... I'm back to trying to find a way to link EasySocial and EasyDiscuss.

The obvious way seems to be to link the security mechanisms within EasySocial and EasyDiscuss so that, at the very least, I can ensure that group discussions are private. When I did this with JomSocial I used triggers to build a plugin to allow me to add and remove people from Joomla groups as they were added and removed from Jomsocial groups.

I've just tried to do the same with EasySocial but there do not seem to be very many triggers available within EasySocial. In fact I did not see any that allowed me to hook any of the membership services.

Have I missed something? Is the documentation up to date? Is there another way I can hook into the group functionality?

Thanks
Chris
Hello Christopher,

Hm, yeah you are right. It looks like we do not have any app triggers when a user joins a group at this point of time. In the next version, we'll add 2 more triggers for this

1. onJoinGroup
2. onLeaveGroup

You can create a group app specifically to manipulate these data
·
Friday, 06 June 2014 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

By next version I assume that you mean v 1.3. I see that v 1.3 is in development but has allot of tasks that have not been started so the next version might be some time away.

Do you think I should hack the code to add the event temporarily so that I can keep working and if so can you tell me where best to add these hooks?

Thanks Again and a belated Happy Birthday to you!
Chris
·
Friday, 06 June 2014 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Christopher,

It would be added in the next 1.2.x iteration
·
Friday, 06 June 2014 17:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Again. That will really help!

Am I correct in assuming that the trigger will fire regardless of which part of ES is used to add the user. ie... in both the case of an automatic and manual addition?
·
Friday, 06 June 2014 21:39
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Yes, that's correct
·
Saturday, 07 June 2014 00:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post