Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,528
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,783
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
Last-viewed pages are saved in a cookie. So if I set the filter on the activity stream to “Show Blog Comments”, a cookie to that effect is stored in my browser. Next time I load the page on the same browser, “Show Blog Comments” is shown.
In global.js, I believe the function that handles this is bp_init_activity(). If you comment the call to this function out (around line 15 of global.js), it should stop the cookie from overriding your default settings.
This works! Thank you Boone.
Andy’s approach is also a nice one because it preserves the cookie functionality if you want to use it elsewhere.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS