I've been trying to figure this out for weeks now and can't get it figured out. Ideally I like to filter the activity post by: today, week, month, and year. If anyone could please point me in the right direction, I'd greatly appriciate it. Thanks in advance.
migration rejected from stackoverflow.com Aug 6 '14 at 18:43
This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.
This question appears to be off-topic. The users who voted to close gave this specific reason:
One approach you can take is add your options to the dropdown box, then filter into bp_ajax_querystring make sure that you set it up to high enough priority so that you get it pre-populated by the default handler.
In your filter modify the query string to include specific actvity ids, which you can pull from the database directly.
Maybe there's an easier approach but this one is most flexible (allows maximum customization)
below is one of my filters doing something similar note that I have hardcoded the include