Creating and joinin...
 
Notifications
Clear all

Creating and joining user groups

19 Posts
3 Users
0 Reactions
2,022 Views
(@tommih)
Posts: 44
Trusted Member
Topic starter
 

True, that pattern I thought I saw doesn't seem to be there.

I now tried switching to userName instead of ID in your test code, and I started to get "Member: 5" from our server. This seems to be consistent with the test script, but somehow wasnt' consistent in my own code using the exact same line... Anyway, I guess we'll try using the ID in our code now.

 
Posted : 10/10/2015 1:43 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Thanks, I found the issue with passing usernames as owner/member. Please edit groups.php at line 61 it should be changed to this:

$groups = CB_UserGroup::Load($name, $owner->Id, $member->Id, $limit, $offset, $count);

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 10/10/2015 11:47 am
(@tommih)
Posts: 44
Trusted Member
Topic starter
 

Thanks, though we'll just use the ID.

 
Posted : 10/10/2015 10:36 pm
(@tommih)
Posts: 44
Trusted Member
Topic starter
 

It seems LoadMembership doesn't include the groups you own in the list it returns. Is this intentional?

 
Posted : 17/10/2015 1:42 am
Page 2 / 2
Share: