New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BudyPress Username Changer #47506

    Hi Alex,
    I had a look at the code.

    we are already updating the nicename

    https://github.com/sbrajesh/bp-username-changer/blob/master/bp-change-username.php#L157

    and here is the hook you are loooking for

    https://github.com/sbrajesh/bp-username-changer/blob/master/bp-change-username.php#L200

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Fredrick,
    We are using tinymce and it will need some custom code.

    1. Please create a file bbl-editor in your child theme/theme and put some css code there like the following

    
    body {
        font-size: 30px;
        color: green;
    }
    
    

    2. In your theme/child theme’s functions.php

    
    // Add Tinymce css customization on front end.
    add_filter( 'mce_css', function ( $css ) {
    	if ( is_admin() ) {
    		return $css;
    	}
    	$css .= ',' . get_stylesheet_directory_uri() . '/bbl-editor.css';
    
    	return $css;
    } );
    
    

    That will allow you to customize as you need.

    PS:- This will have effect on all of the tinymce instances on front end(in case you are using other plugins). If you only want to limit to buddyblog pro, Please let me know where the form is on a page or on profile and I will update it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BuddyBlod Pro n number page link #47504

    Hi Fredrick,
    Thank you for the question and posting the solution.

    There must be some value specified in the list slug. It does not need to be list but any value will work.

    I am glad that you have resolved it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BudyPress Username Changer #47488

    Hi Alex,
    Thank you for the question.

    the plugin is not aimed at changing user nice names. It allows changing the username(the name used to login).

    Please see the name of the plugin. It specifically says that “Username” not anything else. I can add a hook for the same but BuddyBoss nick names need to be unique(and unless you want the username to be nickname), It is going to be a problem.

    Please let me know if you still need the hook? I will add.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BuddyBlog Groups – Suggestion #47486

    Hi Nik,
    That’s a great suggestion.

    Please allow me to put it in next release.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BuddyBlog Pro – permalinks #47485

    Hi Nik,

    Thank you for the details.
    We have missed to add a permanent redirect as the second url should redirect to group post or do a 404.
    I will update the plugin in next couple of days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Nik,
    That’s awesome! you had already done it 🙂

    I am not sure about elementor and if that will apply to general WordPress query as haven’t used it recently.

    Please let me know if it works for all.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] User activity search field #47483

    Hi Daniel,
    Please share the details.

    I don’t remember the changes but looking at the activity page will certainly help me to see the reason.

    Please share the details and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Facebook Like Activity #47477
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Nik,
    WordPress provides us with a filter to customize the args Recent posts widget passes to WP_Query.

    We can use code like below

    
    
    add_filter( 'widget_posts_args', function ( $args ) {
    
    	$args['meta_key']     = '_bblgroups_group_id';
    	$args['meta_compare'] = 'NOT EXISTS';
    
    	//or
    	/*
    	$args['meta_query'] = array(
    		array(
    			'key'     => '_bblgroups_group_id',
    			'compare' => 'NOT EXISTS'
    		)
    	);*/
    
    	return $args;
    } );
    
    

    to exclude it.

    You can either use the meta_key, meta_compare approach or the meta_query approach if you are doing multiple meta query. only one of these conditions are required.

    Please let me know if it works or not?

    Regards
    Brajesh