I have bought pro version of your “members type” plugin.
When a new user is registred I change this rôle by custom function. But member type is not automatically changed (like define in options). (when I change rôle via dashboard member type is well assigned).
I try to assign membertype manually with :
with custom function.
But that doesn’t work.
When I add just this line in my functions.php file :
bp_set_member_type( 11, “subscriber” );
Can you help me ?
How to change membertype in php like rôle ?
Thank you for purchasing the plugin.
Since you are using the pro plugin, you can use the member type field to assign member type to users. Is there any issue with that?
Also, if you do not want to use the field and want to assign using code, can you please post the complete code (including the hook it is attached to).
You must be logged in to reply to this topic.