Re: Hooking the bp_ajax_querystring
BP ajax is super slick, but a huge pain-in-the-ass when you’re trying to customize anything. That said, all the ajax goes through this file: /buddypress/bp-themes/bp-default/_inc/ajax.php so you can try to filter bp_dtheme_ajax_querystring in the default theme or bp_ajax_querystring in your own theme. Then there is the function just below that relating to wp_ajax_members_filter that might be useful to hook into. There is some magic happening in loading the template, which I tend to work around but dont fully understand. Good luck.