By carlos matias Caballaro on Thursday, 14 August 2014
Replies 7
Likes 0
Views 1.1K
Votes 0
Hi, i want to know if there is a chance to complete the missing section in ES documentation called HTML, because I want to know how to include the followers api/script to other component.
Thanks!!!
Hello,

Thanks for the heads up on this. I will try to work on this during the weekend
·
Thursday, 14 August 2014 13:12
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem, I just search in the forums and found your answer in another post. You are welcome.
Also I want to ask you if I can retrieve any function of the foundry file for, for example, retrieve info of groups? Or when the next realease of ES appear, retrieve the events of a user/group. I want to enhance ES with Music Collection. Its getting awesome!!!
·
Thursday, 14 August 2014 15:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

You can retrieve a group information pretty similar like how you access a user. For instance,


<?php
$group = Foundry::group($id);
var_dump($group);
exit;
?>
·
Thursday, 14 August 2014 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, I´m again Sorry for this question in a wrong place, but I wanna know in which table the groups are stored?? because I don{t know how I would know which group id´s are created by x user. Do you know what I mean?
I need to create a group with payplans mysql (wisheable) then I enhaced this group with my needs. But I don´t know how I create a user if I don´t see the groups table.
By hte other hand, if there are not table, I would like to know How I can retrieve the groups created by an x user.
Thanks!!
·
Monday, 18 August 2014 07:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

You can find the groups in the table #__social_clusters . This is a central table that stores groups, events etc.
·
Monday, 18 August 2014 09:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry Mark, I was so crazy that I was working in two different sites :P
I discovered myself few hours ago.

I get the group id and some data, as members count and group name. Now I want to retrieve the "Join group" and "invite function" in another component. Altough I could retrieve the $group id, in wireframe template the anchor href is void 0, but also is a data-es-group-join. I think thats the hint right? Any ideas of what Im missing to get work that "data-es-group-x"????
·
Monday, 18 August 2014 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

Those html attributes are actually binded via javascript. I don't think there's a way to simulate this If you already render EasySocial's headers on the page, you could run something like this in javascript,


EasyBlog.ready(function($){

$('[data-es-group-join]').on('click', function(){
EasySocial.dialog({
content : EasySocial.ajax( 'site/controllers/groups/joinGroup' , { "id" : "the-group-id-here" })
});
});
});
·
Monday, 18 August 2014 13:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post