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

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

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

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

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

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

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

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi Nick,
    I am sorry for the inconvenience.
    We dropped Moderation tools and Editable Activity from BuddyBoss package as BuddyBoss added their own and It started causing conflicts/confusions.

    It should not have been removed from our existing members but our system does not keep the detail about list of plugins purchased if you buy a membership and the list is determined dynamically at the time you visit your download page based on membership, so it was removed.

    For the time being, I will share a copy with you and in future, if you renewed your membership, we will be happy to offer a coupon for free access to this plugin for 1 year(the duration of membership).

    Should I share it with your account email on Buddydev or do you want to use a different one?

    Regards
    Brajesh

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

    Hi Laurent,
    Thank you.
    I had a look and I can see the issue.

    BuddyPress allows components to register a notification callback. This notification callback is passed either ‘string’ or ‘array’ while being called for preparing notification.

    The best practices for BuddyPress is to use the Link(anchor element) for ‘string’ format and use an array of text/link(this link points to url of the notifiable object).

    It seems your theme or the code used for rendering notifications is using their own custom notification renderer and calling the notification callback incorrectly with ‘string’ instead of array.

    We do have access to Gwangi theme and I will be getting back to you within 24 hours with exact solution/recommendation.

    Regards
    Brajesh