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
    Brajesh Singh on in reply to: Importing CSV data in to Xprofile Custom Field types #26700

    Hi Scot,

    You will need a plugin that allows importing BuddyPress User Profile data. You do not need anything specific to custom field types plugin.

    I do not see any viable solution available currently, if you have found any importer, please feel free to use.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26699

    Hi Tosin,
    Thank you. I have been planning to solve this in efficient way and I am implemnting it in next update.

    We will have a filter for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26692

    Hi Tosin,
    I am sorry for the delayed reply.

    There was abug in the code. In the abov code I was using in_array for checking and doing a strict check(checkes for type and value both).

    The value passed did not match the type an dthat’s why it was not working.

    Here is the update code.

    
    // BuddyPress Moderation Tools: White list specific user's content from moderation.
    add_filter( 'bpmts_is_user_whitelisted', function ( $is, $user_id ) {
    	$white_listed_users = array( 284, 37845, 4578, 2357 );
    	if ( in_array( $user_id, $white_listed_users ) ) {
    		$is = true;
    	}
    
    	return $is;
    }, 10, 2 );
    
    // BuddyPress Moderation Tools: Do not allow white listed user's profile to be reported.
    add_filter( 'bpmts_is_item_reportable', function ( $is, $item_type, $item_id ) {
    	if ( 'user' !== $item_type ) {
    		return $is;
    	}
    
    	$white_listed_users = array( 284, 37845, 4578, 2357 );
    	if ( in_array( $item_id, $white_listed_users ) ) {
    		$is = false;
    	}
    
    	return $is;
    }, 10, 3 );
    
    

    It will work now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Branded Login mail adjustment #26691

    Hi Ralf,
    For now, Please feel free to modify the file. I am adding translation support and in future, you can use PoEdit or any other translator to change it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: custom work request #26686

    Hi Fabrice,
    Thank you.

    I checked and it seems that it will need a lot more time from us to come up with a solution that supports the plugins you are using.

    I have issued the refund. Please hcekc.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Branded Login 'get new password' issue #26685

    Hi Ralf,
    Thank you for the patience.

    The plugin is showing the notices. If it is not visible on your site, It is most probably because the template_notice hook is missing.

    Please see it in action
    https://imgur.com/a/8lik43T

    Will you be able to modify the page template? If yes, we need to put this code

    
    <?php do_action('template_notices');?>
    
    

    That will do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Add Url #26682

    Hi,
    You may first try changing it using chrome dev toolbar
    https://developers.google.com/web/tools/chrome-devtools/css

    and later moving that to the Appearance->additional CSS.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Pre Purchase Question Mediapress… #26681
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Activity Autoloader – mobile? #26680

    Hi Vivek,
    Currently, the plugin checks if the “Load more” button is near the scroll and triggers a click on it.

    The scroll function is not throttled and gets call on ever scroll which might not be efficient for mobile devices. That’s why the code was provided.

    I plan to add throttling in next update to help improve the performance.

    Regards
    Brajesh