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: 25486
    Brajesh Singh on in reply to: Issue with notifications #44957

    Thank you.
    I am not seeing anything wrong with your translations.

    is there any other plugin(such as Youzer/youzify or something else ) you are using that might have effect on the display?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Issue with notifications #44955

    Hi Laurent,
    Hope you are doing well.

    Before I push the release, can you please provide me the translation files to test. That will help me avoid any future issue.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Victor,
    Thank you for the details.

    At the moment, Community Builder does not come with that specific layout for posts.

    It is not a trivial task for us as It will probably need re-structuring our entry.php and then adding custom css for the same. We lack the time to provide you with this layout currently.

    If you are interested, you may want to take a look at the structure of both of these page and try customizing in your child theme. We will certainly consider it in future.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Christian,
    Please copy the buddypress/bp-templates//buddypress/members/members-loop.php to your theme/buddypress/members/members-loop.php and add the button in the loop.

    I have used in place of template pack. If you are using bp-nouvea, you should look into that otherwise in the bp-legacy .

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Please try on a fresh install. If you have some redirect code, the js event may not be firing.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Maurice,
    Thank you.

    Please take a look.
    https://i.ibb.co/1R3WBsM/Selection-503.png

    You will need to untick those 2 options.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Issue with notifications #44947

    Hi Laurent,
    Thank you for your patience.

    I have tested the plugin with Gwangi theme and it is working fine. So, I believe there is no issue with the theme.

    https://i.ibb.co/rmNw1N8/Selection-502.png

    It seems the translation broke(It is still our bug). It seems the object format, test has some issue.

    For the time being, Please visit Dashboard->Loco Translate->plugins and delete the translation for this plugin. That should temporarily fix the error.

    we will be releasing an update on Monday with escaped translation string.

    PS:- If possible, Please download your translation and share it with me. It will help us understand what caused the notifications to break.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Tosin,
    Thank you for the question.

    This needs to be done on client side(via js).

    Please remove the above code that you are using and add the followj g php code

    
    
    /**
     * Redirect user on successful php upload and crop.
     */
    add_action( 'bp_enqueue_scripts', function () {
        // you can set the url value to anything.
    	$url = trailingslashit( trailingslashit( bp_get_members_directory_permalink() ) . 'me/' . bp_get_members_invitations_slug() );
    	ob_start();
    	?>
        bp.Avatar.Attachment.on( 'change:url', function( data ) {
            if( data.get('object') == 'user' ) {
                window.location="<?php echo esc_url( $url ); ?>";
            }
        } );
    	<?php
    	$script = ob_get_clean();
    	wp_add_inline_script( 'bp-avatar', $script, 'after' );
    }, 100 );
    

    That will take care of your redirect. Please let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Maurice,
    Thank you for the question.
    There is a setting for this.

    Please visit Dashboard->MediaPress->Settings->BuddyPress and disable creating activity for individual uploads.
    After that, you can publish the bulk media to activity from media manage pages.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Maurice,
    The functionality you are looking for(scaling) will be something you will need to setup with your host. May be you need some load balancer.

    The slowness of upload is beyond control of the plugin as it depends on your number of users server resources, file sizes etc.

    My suggestion will be to look for offloading the media(if there is any media plugin that directly uploads to cloud instead of your server) or get in touch with your server support and get the load balancer setup for scaling your installation.

    Regards
    Brajesh