• I know i’m not the first with this problem, but I updated all my plugins, so I need another solution for exactly the same problem.

    This is great plugin which works seamlessly with Elementor Pro.

    My one regret is that when this plugin is activated, my BuddyBuilder theme stops showing the cover photo of the users, even after they upload them. It uploads with success and is visible on the upload page, but as soon as you reload that or go elsewhere they are gone. They disappear also from the back grounds of the member cards on the member card page. Neither of these elementor pages, to my knowledge suppress the cover images.

    I hope you can help me.

    Kind regards,

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • hello @2comare how are you? I had the same problem and I solved it by doing this:

    In this case, please try and navigate to the Wp-Content \Plugins\ stax-buddy-builder\core\widgets\profile-member\Cover.php file and around line 590, remove the code below:

    <div id="header-cover-image"></div>

    Once this is done, replace it with the code below:

    <?php 
    $cover_url= bp_attachments_get_attachment( 'url', array( 
       'item_id' =>  bp_displayed_user_id(),  
    ) ); ?>
    <div id="header-cover-image" style="background-image: url(' <?php echo esc_url( $cover_url ); ?> ') "></div>

    This immediately solved my problem with profile covers, I believe it works for you too, let me know later.

    Plugin Support john

    (@johnweru)

    Hi there,

    Sorry about the issue.

    In this case, please try and navigate to the Wp-Content \Plugins\ stax-buddy-builder\core\widgets\profile-member\Cover.php file and around line 590, remove the code below:

    <div id="header-cover-image"></div>

    Once this is done, replace it with the code below:

    <?php 
    $cover_url= bp_attachments_get_attachment( 'url', array( 
       'item_id' =>  bp_displayed_user_id(),  
    ) ); ?>
    <div id="header-cover-image" style="background-image: url(' <?php echo esc_url( $cover_url ); ?> ') "></div>

    In addition, as for the group profile page, please carry out the following:

    Navigate to the stax-buddy-builder\core\widgets\profile-group\Cover.php file and around line 649, remove the code below:

    <div id="header-cover-image"></div>
    

    Replace it with the code below:

    <?php 
    $cover_url= bp_attachments_get_attachment( 'url', array( 
       'object_dir' => 'groups',  
       'item_id' => bp_get_current_group_id(),  
    ) ); ?>
    <div id="header-cover-image" style="background-image: url(' <?php echo esc_url( $cover_url ); ?> ') "></div>
    
    

    Let us know if this gets to help.

    Kind Regards,

    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cover photo is not visible’ is closed to new replies.