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

    Hi Keri,
    Thank you.

    WordPress does not offer any function to check for the role directly. You can use current_user_can(‘some_capability’) in that case to make it possible.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: woocommerce Error #9449

    Hi Ndungu,
    Welcome to BuddyDev and my apologies for the inconvenience.

    It seems very strange to me. When you disable MediaPress, does the above code work? Can you please check and confirm.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Hi Keri,
    Apologies for the inconvenience.

    for now, Please modify the plugin like this

    1. Open bp-profile-visibility.php
    2. Please go to line 392, you will see something like this

    
    		//do not hide users inside the admin 
    		if ( is_admin() && ! defined('DOING_AJAX') ) {
    		   return ;
    		}
    

    3. Please add the following line above it

    
    
    if( is_super_admin()){
    return;
    }
    
    

    That will make all the users visible for super admin all the time and work for you.

    We are unable to fix it as a general issue as we do not know if the ajax request was generated from admin or non admin.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Mailchimp problems #9438

    Thank you for the update. I am glad you have managed to make it work. We will be releasing an update alongside the theme to fix any incompatibility(most probably with new MailChimp API)

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: How to hide element of all post #9437

    Hi Dandy,
    If your theme is using proper class, all the entries should have ‘hentry’ class

    Keeping that in mind, if we have to disable say all blockquotes, we can use something like this

    
    
    .entry blockquote { display:none;}
    
    

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Shortcode search_terms #9431

    Hi Lucia,
    Welcome to BuddyDev.

    I am sorry but this kind of search is not supported by BuddyPress Activity at the moment. The Shortcode plugin provides an easy to use interface to BuddyPress activity functionalities.

    Since it is not supported in BuddyPress, I am sorry but the shortcode won’t be able to do it. I will suggets posting on BuddyPress Trac https://buddypress.trac.wordpress.org/ with the request. If they allow it, we can expose the interface.

    Thank you
    Brajes

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Conditional plugin not working #9430

    Hi,
    Welcome back.
    Please allow me to look at your registration page tomorrow and post the code. The error is expected. BuddyPress does not allow required field to be empty.

    There is a workaround this. We will need to unmark these two field as required and then use custom code to validate.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: There are no galleries available #9429

    Hi Abe,
    Welcome to BuddyDev.

    I am sorry for the inconvenience.

    Something is modifying the query on ‘pre_get_posts’ action.

    Most probably a plugin, theme or code snippet is misbehaving. Can you please search for that action and check if there is some code attaching to it?

    Also, please post me the MediaPress debug settings(from the Dashboard->MediaPress->Tools screen)

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Thank you.
    Please upgrade to 1.0.3
    https://buddydev.com/plugins/buddypress-clear-notifications/

    It marks the notifications as read instead of deleting them.

    Thank you.
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Blog Directory #9416

    Hi Isaac,
    Welcome to BuddyDev.

    If you are comfortable with WordPress templating, I will suggest creating a page template and using WP_Query to accomplish the task.

    Thank you
    Brajesh