Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Type Generator #26151

    Hi Hans,
    You may use code like this to register the group types

    
    add_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

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Idea: Quote for small plugin #26135

    Hi Mike,
    Counting by role is easier.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Taking over a WordPress plugin #26134
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on 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