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

    Hi Mary,
    Thank you.

    I have simplified your function

    
    
    function SearchFilter($query) {
    
    	// if not main query, don't cause any issue.
    	if ( ! $query->is_main_query() || is_admin() ) {
    		return ;
    	}
    
    	if ( $query->is_search && function_exists( 'is_woocommerce' ) && is_woocommerce() ) {
    		$query->set( 'post_type', 'product' );
    	} elseif( $query->is_search ) {
    		$query->set( 'post_type', 'post,page' );
    	}
    }
    add_action( 'pre_get_posts','SearchFilter' );
    

    It checks and modifies only the main query. It will still break the search pages for other plugins but should work for all other things.

    Please try it and let me know if it works or not?

    PS: I too like Query Monitor. It’s a great tool 🙂

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278

    Hi Lisa,
    I am sorry about the confusion. I believe our description is confusing there. It does not provide privacy.

    It restricts the view of “My Stream” tab to the logged in user’s own.

    I am sorry for the confusion. Please send me a mail with the username of your client or the order id or transaction id and I will issue a refund. will also be updating the plugin description and adding the text that it does not provide privacy related unctions.

    For privacy, I will suggest looking at BuddyPress privacy plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278

    Hi Darren,
    Thank you.

    Please upgrade to 1.0.7 and let me know if it works for you or not?
    https://buddydev.com/plugins/wordpress-restrict-email-domains/

    Please do note that I have changed the name of the plugin zip file(to allow us support future automatic upgrade, It was required).

    You will need to delete the old plugin and reupload/activate it. If you have BuddyDev dashboard installed, It will allow you to easily upgrade from now onwards.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    Brajesh Singh on in reply to: [Resolved] BP Clear Notifications #9796

    Please do let me know if that worked for you or not.

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    Brajesh Singh on in reply to: [Resolved] BP Clear Notifications #9789

    is the attached child theme your custom one? If Yes, I can modify the header-profile.php(add one action) and send it to you. That can make it work.

  • Keymaster
    (BuddyDev Team)
    Posts: 25278

    Hi MargaritaS ,

    We have our moderation plugin scheduled for release soon and that will allow you do the point 1.

    2/3. It is not efficient to count gallerias/photos. We are working on a middle ground and should have something ready by next week.

    If you want code help, you should look at mpp_user_can_upload filter.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    Brajesh Singh on in reply to: [Resolved] BP Force Profile Photo #9786

    Hi MargaritaS ,
    I am sorry but it is not feasible with this plugin. It is way beyond the scope.

    You will need someone to do that as a custom job.

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    Brajesh Singh on in reply to: [Resolved] BP Clear Notifications #9785

    Hi Layndon,
    With the new update of the Boss theme by BuddyBoss, It is not possible to inject the “Clear Notification” link.

    If you look at their header-profile.php , you will see there is no hook to add anything extra to the menu. I am sorry but the plugin needs some way to inject link.

  • Keymaster
    (BuddyDev Team)
    Posts: 25278

    Hi Lisa,
    Welcome to BuddyDev.

    This plugin doe not have any settings.

    After activating the plugin if you visit your own profile, what do you see there? It should list all activities from your groups, your friends there.

    Can you please confirm if that is not happening?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278

    Hi Darren,
    We haven’t tested it with Paid Memberships Pro. Seems they have their own signup handling. Please give us to put an update today and make it compatible with Paid Memberships pro.

    Thank you
    Brajesh