Replies
- Brajesh Singh on October 17, 2017 at 12:32 pm in reply to: Terms and Conditions on registration page #11112
Hi Gert,
Thank you.I am glad you have solved it.
The simplest solution will be to store a version number instead of boolean(0,1).
If you store a number say 1,2,3,4 etc for each version, you can check who have agreed to which version and not.
Also, It should be transparent from the user. User just needs to see the checkbox but you can use the version number in update code like this
$version = 1;// for now. update_user_meta($user_id, 'terms_of_service', $version)Hope that helps.
Regards
Brajesh - Brajesh Singh on October 17, 2017 at 12:26 pm in reply to: Display Member Type Label in Directory #11111
Hi Darrin,
Ravi is on leave, I am going to help you with this.Please put the following code in your bp-custom.php
/** * Print the list of member types of the user in member directory. */ function buddydev_show_member_type_labels() { $user_id = bp_get_member_user_id(); if( ! $user_id ) { return ;// It should never happen but in case someone put the ac } $member_types = bp_get_member_type( $user_id, false ); if ( ! $member_types ) { return; } $labels = array(); foreach ( $member_types as $member_type ) { $mtype_object = bp_get_member_type_object( $member_type ); if ( ! $mtype_object ) { continue; } $labels[] = $mtype_object->labels['singular_name']; } echo join( ', ', $labels ); } add_action( 'bp_directory_members_item', 'buddydev_show_member_type_labels' );It will work for single/multiple both.
You can modify it as you please.
Hope that helps.
Regards
Brajesh - This reply has been marked as private.
Hi Rossini,
Thank you for posting. A few other members want it too. I will fine some time this week and post the code. It is easy.Will post back after that.
Hi Jose,
Can you please re enable everything and provide me a temporary subscriber account to check it.Thank you
BrajeshHi Jose,
Welcome to BuddyDev.Are you using any activity privacy plugin?
- Brajesh Singh on October 14, 2017 at 12:08 pm in reply to: [Resolved] Member Type fields in Buddypress registration form not showing correctly #11060
Hi Johan,
My apologies for the delayed reply. Been a little bit away.I will look at description one more time and update you. If it is happening for all the fields, It is a theme issue. In BuddyPress 2.9, the field description is included with field and theme’s need to remove that code.
Also, using multiple member type is fine. What I suggest is do not use multiple member type field.
Create a single field with “Multi Member Type” and use it to allow users select multiple member type. It will allow easy synchronisation.
Regards
Brajesh - Brajesh Singh on October 14, 2017 at 11:33 am in reply to: [Resolved] BuddyPress Limit Friendship Issue #11059
Hi Preethi,
Please open a new topic with more details(version of wp/bp/theme) and I will assist promptly.Thank you
Brajesh - Brajesh Singh on October 14, 2017 at 11:32 am in reply to: [Resolved] Changes to Media Moderator emails not taking effect #11058
Hi Clay,
Thank you for purchasing the plugin.I will put an update today.
Thank you
Brajesh - Brajesh Singh on October 11, 2017 at 2:54 pm in reply to: [Resolved] Member Type fields in Buddypress registration form not showing correctly #11050
Hi Johan,
Thank you.
I just had the look and the problem lies with your theme’s css.The selector
#minimal-registration-container .thrive-register-fields-xprofile labelIs positioned absolute and causing issue.
If you add this
#minimal-registration-container .thrive-register-fields-xprofile label { position: static !important; }In your css, It will fix the issue.
I also noted that you are using multiple member type field. Please use only one member type field.
Since you want your users to have multiple member type, I will suggest using “Multi Member Type field”
Hope that helps.
Regards
Brajesh