Feature #3177: Upgrade bbPress to 2.x
Customizable forum views for bbPress 2.x group forums
Boone: "We have some customizations that allow users to modify "posts per page" and "order" when viewing a topic. It should be possible to do the same in bbPress 2.x, but it'll need to be rewritten from scratch. We may decide that this particular task could be postponed if it's going to be a lot of work."
Ray: " I've always wanted to write a plugin that adds a bbPress forum settings page to a BP profile. This page will have settings such as sort order and pagination. Probably a good opportunity to do so."
I like the idea of creating a per-user setting that lets people decide how they'd like to view forums by default. But I don't think we should lose the per-thread, ad hoc settings - it's often only in certain situations that we want to, say, view by ASC rather than DESC.
Ray, I'm going to pass this over to you. I've added a number of other team members to chime in on what they do and don't like about the current implementation.
(I'll also note that, IMHO, this is a lower-priority forums feature. If we were pressed for time, we shouldn't let this one hold up a release.)
Updated by Raymond Hoh over 8 years ago
I've added a first pass at a forum user settings page on 1.7.x branch and is available for testing on cdev.
To test, login on cdev, hover over the WP adminbar and click on "My Settings > Forums". You can configure the sort order and pagination values and the plugin will handle hooking into bbPress to use these values.
One thing I wanted to solve was making sure the
# link in forum posts will always resolve to the correct location when different users have different forum paginated values. I've solved this by changing the
# link to use the WP shortlink and I have done some overrides to ensure that the shortlink will redirect to the forum post depending on the logged-in user's settings.
I haven't implemented the "per-thread, ad-hoc" version that Boone mentions above yet, but that should be trivial.
Updated by Boone Gorges over 8 years ago
Awesome - thanks, Ray! I will check this out shortly.
Just making the connection between this ticket and your comment here: http://redmine.gc.cuny.edu/issues/3177#note-12 We may have to turn off custom pagination if we're going to enable threading across the site.
Updated by Boone Gorges about 8 years ago
- Target version changed from 1.7 to 1.9
Hi Ray - Discussing this in a meeting. We're going to keep this off the individual forum pages for the moment. I'm moving this ticket to a future release so we can discuss how/whether to reintroduce there.