Notifications
Clear all

create userGroup

4 Posts
2 Users
0 Reactions
902 Views
(@jhonoryza)
Posts: 7
Active Member
Topic starter
 

i have another problem in this function :

  void OnUserGroupSaved (CBUserGroup grup, string error){

     if(grup != null)

     Debug.Log("Saved: " +grup.name);

}

the grup created successfully, but on that function it didn't show my group.name, can u help me solve this problem??

i need grup.name from that function because i need to save it to customData..

 
Posted : 09/07/2015 11:56 am
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

Is there a reason why you're not using the version 2.x? These functions work fine there and I'm not going to apply fixes or changes to older versions.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 09/07/2015 12:04 pm
(@jhonoryza)
Posts: 7
Active Member
Topic starter
 

my apps has already got 90%, n if i change combu to ver 2.x i have to recode all the function, pls help me to solve this problem 🙂

i just need to fix this group part for my apps..

 
Posted : 09/07/2015 12:29 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

Edit groups.php at line 108 (after/out the foreach loop and before the closing bracket of if ($success) statement) add the following line:

$message = $rec->ToJson();

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 09/07/2015 12:58 pm
Share: