I have 4 member types in my site (created with Member Types Pro). I want each of the member types to have a free and a premium membership level (created with PMPro).
When registering an user in the site, he/she is associated directly with one of the Free Levels of PMPro (Paid Membership Pro). This is one of the options of Buddy Press Member Types plugin
When this member change from a free to premium level, the field ¨member type¨ of the xtended profile become empty and it´s not showed any more in the public profile url.
Normally, changing membership levels shouldn´t have no effect on member type
Some time ago you proposed me that the issue was coming from this line (I couldn’t check until now)
You will need to comment this line
bp_remove_member_type( $user_id, $member_type );
However this solution is not working. Could you support?
Thank you for the patience.
I have checked their code again and we will need to update(most probably). As far as I see, changing Membership level is changing member type.
For now, Please allow me another 24 hours, there might be a simple solution. We can keep member type to level to member type. I need to test a little more before providing an update.
I have tested it now.
The problem is still happening due to PMPro changing member type.
Since we do not use PMPro’s member type functionality, you can simply comment this line
The line is
require_once( PMPROBP_DIR . '/includes/member-types.php' );
That will disable PMPro changing member type and will fix the issue.
You must be logged in to reply to this topic.