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: 25485
    Brajesh Singh on in reply to: When will Community Builder 2.0 will be ready? #26163

    Hi Torben,
    Hope you are doing well.

    The theme will be delayed by 4 more days. The new date is Friday, November 1. I had not planned for Diwali earlier, but we have been closed for 4 days due to diwali holidays and it got a bit delayed.
    Sorry about this.

    Regards
    Brajesh

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

    Hi Hans,
    You will need to add the following to your tem,plate’s buddypress/groups/index.php

    
    	<?php if ( function_exists( 'bp_groups_get_group_types' ) ) :?>
    		<?php $group_types = bp_groups_get_group_types( array(), 'objects' ); ?>
    		<?php foreach ( $group_types as $group_type => $details ) : ?>
    			<li id="groups-type<?php echo $group_type; ?>">
    				<a href="<?php bp_group_type_directory_permalink( $group_type ); ?>"><?php echo $details->labels['name']; ?></a>
    			</li>
    		<?php endforeach; ?>
    	<?php endif; ?>
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Gregg,
    The purpose of template override is to avoid worrying about the plugin update.

    In my opinion, This is the right way to go ahead by overriding the template.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Gregg,
    Thank you for the question.

    I am not familiar with memberpress.
    If you know how to hide based on the membership, there there is an easy solution.

    You can copy buddypress-user-contact-form/templates/buddypress/members/single/bpucf-form.php to yourtheme/buddypress/members/single/bpucf-form.php

    Then, You can modify it as you please.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Marek,
    Welcome to BuddyDev.

    The styling/behaviour of notification is handled by your theme.

    You are most probably using a theme that hides notification automatically. For the change in appearance/behaviour you will need to contact theme authos.

    We are simply using standard bp_core_add_message()

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    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: 25485
    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: 25485

    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: 25485
    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: 25485
    Brajesh Singh on in reply to: [Resolved] Idea: Quote for small plugin #26135

    Hi Mike,
    Counting by role is easier.

    Regards
    Brajesh