Please Log in or Create an account to join the conversation.
richard_zhuzhen wrote: I need the code to judge what kind of subscription the user sign in.
Thanks a lot!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
richard_zhuzhen wrote: In my project I intergrated sobi2 component with CB and CBsub. But I wish to customerize the sourcecode of sobi2 because some function has relationship with the user's subscription type. So I need to judge what kind of subscription the user log in. Can you give me the example sourcecode(PHP) about how to do this.
For example: $cbUser =& CBuser::getInstance( $_CB_framework->myId() ); //This code told me how to get the instance of CBuser, so I can get all the property of the instance like username, usergroup etc.
By the way, are there any documents to describe the API of cb and cbsub.
Regards!
Please Log in or Create an account to join the conversation.