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: 25490
    Brajesh Singh on in reply to: [Resolved] CB Pro login page styling #34741

    Hi Hugo,
    Thank you for the reply.

    I will suggest using https://wordpress.org/plugins/wps-hide-login/
    It does the same thing.

    2. For login redirect, Please use this
    https://wordpress.org/plugins/bp-redirect-to-profile/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi Johannes,
    My apology for the delayed reply.

    Please put this code in your bp-custom.php

    
    
    /**
     * Do not hide users on any rest route
     */
    add_action( 'rest_api_init', function () {
    
    	if ( ! function_exists( 'bp_profile_visibility_loader' ) ) {
    		return;
    	}
    
    	bp_profile_visibility_loader()->set_data( 'is_visible', true );
    
    } );
    

    This code will not hide users from any of the REST response. I was not able to find a hook for the specific route, so applied it on all routes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi,
    Thank you for letting me know. Will be testing and providing a solution within next 2 days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi,
    Thank you for the reply.

    There is no shortcut or simple solution for me to assist you. Sorry about this.

    If you are using legacy template back, you will need to override buddypress.js and modify it to allow empty content.

    If you are using BP nouveau, you will need to do the same in buddypress-activity-post-form.js

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi Richard,
    Thank you for the reply. I am glad you are back to the BuddyPress.

    I had a look and here is the code we use

    
    		$status = isset( $_POST['media_status'] ) ? $_POST['media_status'] : '';
    
    		if ( empty( $status ) && $gallery ) {
    			// inherit from parent,gallery must have an status.
    			$status = $gallery->status;
    		}
    
    		// we may need some more enhancements here.
    		if ( ! $status ) {
    			$status = mpp_get_default_status();
    		}
    

    The media’s status is set to that of parent gallery unless the gallery’s status is empty. Thta is very unlikely.

    There is only one case when it might happen. If we have a gallery status and that status is not enabled for the members component, It falls back to default status.

    1. Please make sure “Public” is enabled in the “Enabled Media/Gallery Statuses” option on general settings panel for MediaPress

    2. If it does not work, Please try changing wall gallery’s status manually to public and then try uploading a new activity.

    Please let me know if that solve it or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    Brajesh Singh on in reply to: how can change dimension of video #34731

    Hi,
    Please share a screenshot to show the issue.

    Currently, You can specify the size by visiting “Dashboard->MediaPress->Settings->General” and looking for

    “Media Size settings”

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi,
    I am sorry I could not test it earlier.

    Have tested it now. It works with Youzer plugin registration.

    I used a single member type file(radio) and Youzer plugin 2.6.2. This worked. I was using a different theme though.

    Will be writing a reply to your email to get access to the site and check the issue.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    Brajesh Singh on in reply to: How to make members sub menu show as dropdown #34726

    Hi,
    Thank you for the question.

    You can use the following snippet in the theme

    
    <?php bp_nav_menu();?>
    

    On single user’s page, It will give you their hierarchical nav. Please use css to make it look and behave as you want.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    Brajesh Singh on in reply to: Auto join groups on user account activation #34725

    Hi Hugo,
    Thank you for the question.
    What is pending? Are you achieving it by using some plugin like BuddyPress registration Options? or is it the case that user’s did not click on their activation link?

    The BuddyPress Activation happens when:-
    – A user clicks on the activation link and submits the form
    – Or a user has not activated their account and the admin uses activate button from the context menu in admin users list

    On these two actions, the user will be added to the group.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi Amir,
    Thank you for the question.

    I believe this is doable.

    I will need need a day to put the time(or ask someone form the team to do so). You will still need to test as we do not use Learndash in our day to day operations.

    Regards
    Brajesh