BuddyDev

Search

[Resolved] BuddyBlog Pro Media Uploader and Article Images

  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #46378

    Hi Brajesh,
    This is a super news.
    Thank you
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #46479

    Hi Cristi,
    Thank you for the patience.

    Please put this in your theme’s functions.php or (wp-content/plugins/bp-custom.php)

    
    
    add_filter( 'bblpro_disable_author_media_listing', '__return_true' );
    
    

    When we release BuddyBlog Pro 1.3.0, the plugin will not list any media to the author other than what they upload on the current post if this filter is enabled.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #46499

    Hi,
    Thank you for the code.
    When do you estimate the new version will be released?
    Regards
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #46507

    Hi Cristi,
    I am waiting to see if we need to make any more change sin BuddyBlog Pro 1.3.0 before Group Blog release. That’s why I haven’t released it. I will be available by the weekend.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #46569

    Hi,
    I have updated the extension but the user can still see all his images.
    I have added in my child theme function.php file the code
    add_filter( ‘bblpro_disable_author_media_listing’, ‘__return_true’ );
    You have said that
    “When we release BuddyBlog Pro 1.3.0, the plugin will not list any media to the author other than what they upload on the current post if this filter is enabled.”
    Do I have to make any extra settings to enable the filter?
    Thank you
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #46576

    Hi Cristi,
    I am sorry, we made a mistake a used another hook name in release.

    Please keep the above line as we will be renaming back to that and you can use this instead for the time being.

    
    add_filter( 'bblpro_disable_media_listing', '__return_true' );
    

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #46577

    Hi,
    No problem.
    Thank you
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #46586

    Hi Cristi,
    Thank you.

    Please do let me know if it worked for you or not?

    Thank you
    Brajesh

  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #46589

    Hi,
    It is perfect.
    It is filtering very well.
    I do not not need some fields ( search and the media-sidebar )and I have hidden the with some CSS codes.
    Thank you so much.
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #46598

    Thank you Cristi.

    Regards
    Brajesh

The topic ‘ [Resolved] BuddyBlog Pro Media Uploader and Article Images’ is closed to new replies.

This topic is: resolved