[buddypress-trac] [BuddyPress Trac] #5455: bp_ajax_querystring to filter members by role?

buddypress-trac noreply at wordpress.org
Wed Mar 12 19:17:26 UTC 2014

#5455: bp_ajax_querystring to filter members by role?
 Reporter:  landwire     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Members      |     Version:  1.9.2
 Severity:  normal       |  Resolution:
 Keywords:               |
Changes (by boonebgorges):

 * milestone:  Awaiting Review => Future Release


 As for the broader question of whether we can do something to make this
 process easier, the answer is yes, but it's very complicated. AJAX page
 filtering works based on a fairly complicated series of events involving
 cookies and a JS function called `bp_filter_request`. Our JS is not
 written in a way that allows for hooks/filters, so there's not really an
 obvious way we could add a parameter somewhere in this series of events
 that'd help.

 I do think we could provide a more elegant API for reading/modifying the
 contents of `bp_ajax_querystring`. The current method, which requires you
 to look out for query string syntax, requires you to check whether AJAX is
 happening, etc, is fraught with issues.

 I'll put this into Future Release so we can mull it over.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5455#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list