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

    Hi Julia,
    I am sorry I am not able to help much with the WooCommerce and woodiscuz. I don’t use woodiscuz and don’t have much idea about it.

    I had a look at the notify post author plugin

    https://github.com/buddydev/bp-notify-post-author-on-blog-comment/blob/master/bp-blog-comment-notifier.php

    My previous assumption was wrong. It will work with any post type having normal commenting workflow. Please check with woodiscuz and see if they are using WordPress API for adding e.g using wp_new_comment() or doing it directoy.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi Sam,
    Welcome to BuddyDev forums.

    It is already in works. we will have it by the end of the month.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi Richard,
    I am sorry to hear about this.

    This should not happen randomly.

    You don’t need to ask users for providing the details, you can use a tool like
    https://www.smartlook.com

    to record user session and view if the error is happening and how are they able to create it. Once we get the idea, It can be easily fixed.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: Usernames #13035

    Hi Mark ,
    It is doable.

    1. We need to add a filter to strip the @ from the URI while parsing.
    2. We will need to make sure that the canonical redirect does not redirect to old urls

    3. We will need to filter the functions like bp_loggedin_user_domain() and other such functions to use the new url.

    This is how it needs to be handled in current BP.

    I won’t be able to test it with code today and tomorrow due to my schedule(This code needs attention), but I can help on Tuesday if you want.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: [Resolved] Change order of visibility options. #13034

    No problem. Sometimes, overriding is only option. For example, the above code will have issues(If any plugin adds new visibility level, they will be hidden).

    So, Please keep that in perspective while adding new visibility level.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: [Resolved] Change order of visibility options. #13031

    Hi Mark,
    Here is how it looks to me

    https://i.imgur.com/mnQbNDk.png

    Are you seeing a different order?

    If yes, most probably another plugin is updating the order too.

    A solution might be to change the priority of the function that we are using to reorder.

    For example

    
    add_action( 'bp_xprofile_setup_globals', 'buddydev_update_profile_field_privacy_options' );
    

    Can be changed to this

    
    add_action( 'bp_xprofile_setup_globals', 'buddydev_update_profile_field_privacy_options', 1001 );
    

    and should most probably work.

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi George,
    We can do it by using pre_get_posts filter in the admin and looking for _mpp_media_count meta on the galleries.

    I will post this code later today with the other thread(I am sorry I missed to post a solution there).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi Keith,
    Which version of Profile Search plugin are you using? It seems they have removed the function.

    We have the customized template and that’s why you are seeing it(Most probably Andrea has removed the function).

    I am going to test with the current version of Profile search and push an update later today for the Community Builder Theme.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: Branded Login Custom Error Message #13026

    Hi Chris,
    Thank you for posting.

    I had a look and see that the strings are not translatable.

    I am letting my team know about this and we will post an update by Tuesday/Wednesday that will allow you to use translation files for the same.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: [Resolved] Change order of visibility options. #13025

    Hi Mark,
    Thank you for asking.

    Here is the code that you can put in your bp-custom.php to change the order

    
    /**
     * Update profile visibility option for BuddyPress.
     */
    function buddydev_update_profile_field_privacy_options() {
    	$levels = buddypress()->profile->visibility_levels;
    
    	// and now we will override it's order.
    	buddypress()->profile->visibility_levels = array(
    		'public'     => $levels['public'],
    		'loggedin'   => $levels['loggedin'],
    		'friends'    => $levels['friends'],
    		'adminsonly' => $levels['adminsonly'],
    	);
    }
    
    add_action( 'bp_xprofile_setup_globals', 'buddydev_update_profile_field_privacy_options' );
    
    

    I am just reusing BuddyPress’s default values in the above code and reordering them.

    I am not sure if the follower option is supported by BuddyPress. To add that to profile visibility level, you will need to add a new visibility level and a handler for it.

    I wrote a post a few years about the same here
    https://buddydev.com/buddypress/extending-buddypress-profile-field-visibility/

    Hope that helps.

    Regards
    Brajesh