"simply" trying to filter the bp_ajax_querystring via Ajax
-
This is proving to be much more difficult than it would originally seem.
So, I created a php function that loops through all my members and successfully finds only the members that I want it to find. I have gotten the function to return just the user IDs. However, I have tried several times (unsuccessfully) to limit the BP ajax querystring.
I could go over the laundry list of everything I’ve tried, but it gets REALLY long.
What I am wondering is:
if given an array(or comma separated list) of member IDs, is it possible to filter the querystring via Ajax? Let’s pretend that I have cookies I have set myself and am able to read using a basic function in the bp-custom.php file already (because I do). Hell, let’s pretend that I’m able to formulate the string:
"type=active&action=active&include=".$list_of_members."&page=1"
where $list_of_members is a comma separated string of member ids that I want to find.I’ve tried simply editing the bp_dtheme_ajax_querystring function in Ajax.php so that $query_string calls my function and returns the string I put in code above… without any success..
This has been quite an extensive problem for me. Any help would be greatly appreciated.
- The topic ‘"simply" trying to filter the bp_ajax_querystring via Ajax’ is closed to new replies.