Replies
- Brajesh Singh on October 26, 2019 at 9:54 pm in reply to: [Resolved] Possible conflict with LiteSpeed Cache plugin and Xprofile Custom Field Types. #26152
Hi Mike,
Happy Diwali 🙂
Thank you for the help here.Hi Carsten,
The issue is not related to us. AS it is due to new update of the caching plugin, Please contact their support.Regards
Brajesh - Brajesh Singh on October 26, 2019 at 9:52 pm in reply to: [Resolved] BuddyPress Group Type Generator #26151
Hi Hans,
You may use code like this to register the group typesadd_action( 'bp_groups_register_group_types', function () { bp_groups_register_group_type( 'school', array( 'labels' => array( 'name' => 'Schools', 'singular_name' => 'School', ), 'has_directory' => true, 'show_in_create_screen' => true, //'show_in_list' => null, 'description' => '', 'create_screen_checked' => false, // keep it checked? ) ); bp_groups_register_group_type( 'college', array( 'labels' => array( 'name' => 'Colleges', 'singular_name' => 'College', ), 'has_directory' => true, 'show_in_create_screen' => true, //'show_in_list' => null, 'description' => '', 'create_screen_checked' => false, // keep it checked? ) ); } );Change school/college with Villages/Co working
If the theme supports, The tabs will appear on group directory.
Regards
Brajesh - Brajesh Singh on October 25, 2019 at 5:21 am in reply to: [Resolved] BuddyPress Profile Visibility Manager problem on Multisite #26142
Please upgrade to 1.8.1 and after that, Please put this in your bp-custom.php
add_filter( 'bp_profile_visibility_is_admin_user', function ( $is ) { return current_user_can( 'list_users' ); });That will allow admins the same feature as super admin in this plugin.
Regards
Brajesh - Brajesh Singh on October 25, 2019 at 2:20 am in reply to: Choosing Member Types after registration #26140
Hi Mike,
Thank you. I logged in to the site and checked the profile.1. Those are not buttons. They are tabs. They are visually designed as buttons. You can use css to change that. If you click on them, you will see they are linking to different pages.
2. Logout/Login needed:- Most probably you have some caching causing it. There is no other reason for the same.
3. Multiple Member Type field:- Member type filed was not designed for this purpose. You should use only one member type field.
The solution I suggested was using User Groups plugins.4. Rest of the issue seems like related to appearance and css should be used to fix them.
Regrds
Brajesh - Brajesh Singh on October 25, 2019 at 1:49 am in reply to: [Resolved] Idea: Quote for small plugin #26135
Hi Mike,
Counting by role is easier.Regards
Brajesh - This reply has been marked as private.
- Brajesh Singh on October 25, 2019 at 1:40 am in reply to: Choosing Member Types after registration #26133
Hi Mike,
1. The simple solution will be to create a profile field group with a multi member type field.We do have multi select box, but I understand that it might not be convenient.
I will update the member types pro plugin in next couple of days to have this.
Regards
Brajesh - Brajesh Singh on October 25, 2019 at 1:38 am in reply to: Hide Admin on recently active widget #26132
Hi Mike,
I have recjed it.since our goal is to make activity visible,
Here is the code to make it happen.add_filter('bp-sm-hide-activity', '__return_false');Please put in your bp-custom.php and check if it is working or not?
Regards
Brajesh - Brajesh Singh on October 25, 2019 at 1:32 am in reply to: [Resolved] BuddyPress Moderation Tools Report Button – Modal Pop-up Window #26129
You are welcome.
- Brajesh Singh on October 25, 2019 at 1:31 am in reply to: [Resolved] Assistance to build my ideal Menu #26128
Hi Mike,
Thank you for sharing.I am glad there exists a solution.
Regards
Brajesh