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

    Hi,
    Select 2 is a library for enhancing selectbox experience. It seems one of the plugins is loading it and inappropriate applying it on all the select boxes.

    We do not use select2 for this plugin. It is coming from another plugin. If you can share the list of active plugins, I may be able to guess which one is doing it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Olivier,
    Thank you for the patience.

    Please upgrade to 1.4.5 and put this code in your bp-custom.php

    
    
    // enable private group joining request by Member Types pro(instead of auto joining user to the group).
    add_filter( 'bpmtp_enable_group_join_as_request', '__return_true' );
    

    It will send the group join request for private groups instead of auto joining them. Please note that only Private groups support request. Hidden/public groups do not support request.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi David,
    Thank you for the reply.

    Please upgrade to 1.1.3 and put this code in your theme’s functions.php

    
    // Disable WP restrict email domains for all plugins except ultimate member.
    add_filter( 'wp_restrict_email_domains_integration_enabled', function ( $enabled, $plugin_id ) {
    
    	if ( 'um' !== $plugin_id ) {
    		$enabled = false;
    	}
    
    	return $enabled;
    }, 10, 2 );
    
    

    That will make sure that it is only active for ultimate member.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    It seems to be a javascript conflict.

    Please open the browser console on the new/edit tab page( if you are using chrome, you can press ctrl+shift+I) and check the “Console” tab. Please post me the error message you see there.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Carsten,
    Thank you for the update.

    Yes, that’s using selector to scope the rules.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi John,
    The problem is we are relaying on the javascript included in the legacy template pack for communicating the action to the server.

    When you are moving the link, I am assuming it is changing the selector scope for the button and the legacy javascript is not able to handle that.

    That’s why it is not working.

    If you want, you can copy the code from buddypress.js and modify to achieve the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi John,
    Thank you for the details.
    Thais code seems to be the button.

    The button has no knowledge whether it should be visible or not.

    We put the button behind a gate like this

    
    if ( is_user_logged_in() && bpmts_is_me( bp_get_activity_user_id() ) ) {
    			return;
    		}
    
    		if ( bpmts_user_can_report() ) {
    			bpmts_report_button( array(
    				'item_id'     => bp_get_activity_id(),
    				'item_type'   => 'bp_activity',
    				'context'     => bp_get_activity_object_name(),
    				'context_id'  => bp_get_activity_item_id(),
    				'use_wrapper' => false,
    				'link_class'  => 'button item-button bp-secondary-action bpmts-activity-report-button',
    			) );
    		}
    
    

    to make sure it is not visible to the unauthorized users(including self).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Buddyblog in Multisite environment #32820
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Wiew members #32819

    Hi Anders,
    You will need to modify member-loop.php and implement your own grid.

    You may take a look at either Community Builder or BuddyBoss platform for inspirations on how to have a members grid.

    Thank you
    Brajesh

    PS:- In future, Please make sure to mention if the media is NSFW.