Replies
- Brajesh Singh on June 5, 2018 at 12:06 pm in reply to: [Resolved] User Role Editor Plugin Compatibilty #15487
Hi Sujee,
You can disable member type to role mapping or vice versa.To disable, Please visit each member type and uncheck the associated role. In that case, changing the member type will not update role(s).
Also, if you have role to member Type mapping set in the settings page, you may disable that if you do not want the member type to change based on the role change.
Hope that helps.
Regards
Brajesh - Brajesh Singh on June 5, 2018 at 1:04 am in reply to: BuddyPress Custom Xprofile Fields, compatibility with BP Profile Search #15483
Hi Carsten,
Thank you.
1. The conditional profile field is not tested with Xprofile Custom Field types. I do hope to test it in next couple of weeks and add the compatibility wherever needed.2. Gender is a field that I would love to have. The problem with Gender is that it needs to be implemented in a way where the listing of users by gender should be fast.
In my personal opinion, instead of the normal field, member type suits this much better. The exclusion/inclusion by member type is much more efficient than the normal data field.
In the long run, I plan to add the following field types
– Gender
– Country
– Location/Map
– Member Types( by consolidating my other plugin into it)’
– Roles
– Groups(single/multi, I am still not sure how much useful this will be)I won’t be able to work much on Xprofile Field Type for next one week. Hoping to add the Profile search compatibility first and then these field in next 2 weeks.
Thank you
Brajesh - Brajesh Singh on June 4, 2018 at 10:04 pm in reply to: [Resolved] Mediapress YouTube post type and remote url custom field #15478
HiSam,
Thank you for posting. It has got delayed due to BuddyPress 3.0 release. It will be available early next week.Thank you
Brajesh - Brajesh Singh on June 4, 2018 at 10:02 pm in reply to: [Resolved] BuddyPress Xprofile Custom Field Types Age #15477
Hi Keith,
You may remove the code after upgrading to 1.0.1BuddyPress Xprofile Custom Field Types 1.0.1 is available and it provides you an option on the Admin edit field page to show/hide month.
Best Regards
Brajesh - Brajesh Singh on June 4, 2018 at 10:00 pm in reply to: BuddyPress Custom Xprofile Fields, compatibility with BP Profile Search #15476
Hi Carsten,
Please upgrade to 1.0.1The field type From/To is available now. Also, you can show/hide months with the Date of birth/Age field.
Regards
Brajesh - Brajesh Singh on June 4, 2018 at 2:13 pm in reply to: [Resolved] Member Types Pro Director Tab Sorting #15473
You are welcome 🙂
- Brajesh Singh on June 4, 2018 at 1:26 pm in reply to: [Resolved] Member Types Pro Director Tab Sorting #15471
Hi Colin Lau,
Thank you for asking.The plugin does not provide it out of the box and the order is controlled by BuddyPress.
It i still possible to reorder the list. You can use the following functions.
/** * Comparator function. * * @param Object $mtype_1 member type 1. * @param Object $mtype_2 member type 2. * * @return int */ function buddydev_member_type_comparator( $mtype_1, $mtype_2 ) { // compare by member type unique name(key). return strcmp( $mtype_1->name, $mtype_2->name ); // compare by labels instead. to use it, comment the previous line using // and uncomment the line below. // return strcmp( $mtype_1->labels['singular_name'], $mtype_2->labels['singular_name'] ); } /** * Filter Member Types and sort. * * @param array $member_types member type names or objects array. * * @return mixed */ function buddydev_reorder_member_types( $member_types ) { if ( empty( $member_types ) ) { return $member_types; } // sort it. uasort( $member_types, 'buddydev_member_type_comparator' ); return $member_types; } add_filter( 'bp_get_member_types', 'buddydev_reorder_member_types' );In the above example, I am ordering alphabetically by key.
In order to order by label, you can uncomment and comment the line as mentioned in the comparator function.
Hope this helps.
Regards
Brajesh - Brajesh Singh on June 4, 2018 at 1:09 pm in reply to: Creating a membership type selection on Registration #15470
Hi Bo,
I will share my thoughts too.1. Individual or Organisation account type :- Yes, easily doable with member types.
2.Also having this option available i wanted to ask if there was a way that esist to have a filter order where users can filter membership types in the member url
I am not sure I understand the question.
1. If you want the member type to be part of the individual user’s url like (http://example.com/%5Bmembers%5D/member_type_name/username
Then sorry, at the moment, BuddyPress will not allow that. Whether it is company or the user, the both will have the directory slug in their url.
A way to handle this(I will not recommend on multisite) is using BP_ENABLE_ROOT_PROFILES where the single user url becomes like sitename.com/username
If you are thinking about collection of users, then yes, we do have different directory urls for each member type
3. Distributing questions based on member type:- Using the conditional profile field plugin can do the trick. I will still suggest that you keep it to the minimum. Also, At the moment, the conditional profile field plugin works with our member types plugin only if you have enabled the select view for the field(select dropdown and not checkbox/radio)
4.
As the reason also is I want this membership types to be what will also give options to varieties of of custom namings that would be displayed front end in the managed sub sites.
I am sorry, but I am unable to understand this part. If you are asking whether member tyeps can be used on the network or not then the answer depends on your BuddyPress setup.
If BuddyPress is network active and member types pro is network active, you can have it on all sites.
Also, about member type being the first step, I believe you will need to custom code the registration.
Regards
Brajesh - Brajesh Singh on June 4, 2018 at 12:50 pm in reply to: [Resolved] BuddyPress Xprofile Custom Field Types Age #15469
Thank you Ravi.
In future, I am adding the option in the field settings to ask the admins if they want to show the month or not. That way, It will be much simpler.
Bets regards
Brajesh Hi David,
Thank you for asking.It has very limited control from admin side currently. Also, It can not determine a premium user, do we need to do that based on role?
Since BuddyPress 3.0 Nouveau template broke this plugin(only if you are using Nouveau template pack) and after the report, BuddyPress team has fixed the issue, the plugin will work with Nouveau template in next release of the BuddyPress.
We are also planning a release to coincide, so we will be happy to have this feature.
Thank you
Brajesh