BuddyBoss Home – Web Support Forums Themes Boss. theme Disable Cover Photo Stock Image generation

Viewing 10 posts - 1 through 10 (of 10 total)
  • Question

    #48834
    @gimmedia

    After a profile is activated an image is generated in the media folder, called Cover Photo Stock Image. I have disabled the function (not using cover images). How can I stop getting images in the media folder I don't want?

    Answers

    #48870
    @vapvarun

    Hi @gimmedia

    I have notified developers about it, buddyboss-inc/cover-photo.php need to be modified

    Regards
    Varun Dubey

    #48872
    @gimmedia

    Alright, is it a bug (and if so, when will this be fixed?) or can I comment out the code somewhere around row 293?

    #48892
    @vapvarun

    Hey @gimmedia

    for mean while
    you can modify function buddyboss_cover_photo_get_stock_sample() inside buddyboss-inc/cover-photo.php

    
    $attach_id = wp_insert_attachment( $attachment, $filename, 0 );
    

    with

    
       //$attach_id = wp_insert_attachment( $attachment, $filename, 0 );
       $attach_id = 0;
    

    it will pause to insert new media into media library
    Regards
    Varun Dubey

    #48910
    @gimmedia

    thanks!

    #48921
    @giacomo

    Hi, but this modify, stops generation of cover photo if this feature is enabled?
    And how i can set a custom stock of cover photos, to use it automatically? I'd like personalize the cover photos in my site 🙂
    It's possible?
    And there is a similar option for the avatar? So the user that not sets a profile photo, have one random photo of a pool pre-selected from me 🙂
    Thanks

    #49013
    @gimmedia

    I adjusted this code in the main boss theme, but it is not working. New profiles being activated still gets the stock image generated. Do I need to adjust it in my child theme or media plugin?

    #49108
    @vapvarun

    Hi @gimmedia Above fix will work fine, i have tested them on my instance, Please PM your login details, i will make those temp edits.
    Regards

    #49202
    @gimmedia

    it works now, I forgot to comment-out the original code 😉

    #49261
    @vapvarun

    Great 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • The question ‘Disable Cover Photo Stock Image generation’ is closed to new replies.