Closed Topic Content\n
\n', '2013-11-03 22:23:27', '10.1.1.8', 0, 1), (3, 2, 2, 1, 'Closed Topic First Reply\n
\n', '2013-11-03 22:23:39', '10.1.1.8', 0, 2), (4, 2, 2, 1, 'Closed Topic Second Reply\n
\n', '2013-11-03 22:23:48', '10.1.1.8', 0, 3), }}} * A topic with two replies all marked as spam, the `post_position` value is changed to `1` for both topic and both replies. {{{#!sql INSERT INTO `bb_posts` (`post_id`, `forum_id`, `topic_id`, `poster_id`, `post_text`, `post_time`, `poster_ip`, `post_status`, `post_position`) VALUES (11, 2, 5, 1, 'Spam Topic Content\n
\n', '2013-11-03 22:26:07', '10.1.1.8', 2, 1), (12, 2, 5, 1, 'Spam Topic First Reply\n
\n', '2013-11-03 22:26:16', '10.1.1.8', 2, 1), (13, 2, 5, 1, 'Spam Topic Second Reply\n
\n', '2013-11-03 22:26:24', '10.1.1.8', 2, 1), }}} * Workaround: After importing delete ALL your spam from WordPress",netweb Future Releases,3200,Converters: Enable incremental conversion started from a date,,API - Importers,,normal,normal,2.8,enhancement,new,,2018-05-25T05:52:59Z,2018-05-25T12:53:46Z,"Not every site is suitable for a 'big bang' or can afford some days of not being online. bbPress converters should be able to perform a first full import and then an incremental one starting from a specific date/time after the new environment has been validated.",casiepa Future Releases,2210,Auto-set role on Multisite creates unusable links in toolbar and my-sites.php,,API - Roles/Capabilities,2.1,normal,normal,2.8,defect (bug),new,dev-feedback,2013-02-13T18:17:08Z,2017-07-11T00:08:38Z,"When _bbp_allow_global_access is set to true and bbPress is network-activated, logged-in users are automatically added to any site they visit in a network, with the bbPress default role of 'participant'. This feature causes unexpected behavior in various parts of WordPress. For my example, user 'boone' has been auto-joined to site 'Foo'. - When viewing the site 'Foo', the 'Foo' top-level menu appears on the toolbar (the 'site-name' menu), as well as the Dashboard submenu item. Clicking on Dashboard leads you to a ""You do not have permission..."" error screen. - In the toolbar, 'Foo' now appoars as one of the 'My Sites' items. On a large network, this can make the menu very unwieldy; moreover, because of recent changes to `get_blog_option()` and the fact that `switch_to_blog()` is used liberally in building 'My Sites', it can easily cause memory timeouts when the My Sites menu gets large. (This is a separate WP bug, but is exacerabted by bbPress's behavior.) Also, the Dashboard menu is added to the 'Foo' flyout. - When 'boone' visits Dashboard > My Sites, 'Foo' is listed, along with a non-functional link to the Dashboard. On large networks, the result can be user confusion and performance issues. I've got a couple suggestions for how to approach the issue. All of the suggestions have problems, but one or more of them might be worth looking into. a. Since all of the problems listed above eventually trace back to `get_blogs_of_user()`, bbPress could filter that function to remove blogs where users are only Participants. This won't fix performance issues (the blog list is still built, and performance takes the hit at `get_blog_details()`), but at least it avoids potential confusion in the interface. b. Manually remove the problematic toolbar items after the toolbar is built. For example, for the 'site-name' menu: {{{ function bbg_remove_dashboard_link_for_participants( $wp_admin_bar ) { if ( ! current_user_can( 'read' ) ) { // If the user can't read, it's almost certainly a bbPress // error. Remove all subnav items to the site-name foreach ( $wp_admin_bar->get_nodes() as $node => $node_object ) { if ( 'site-name' == $node_object->parent ) { $wp_admin_bar->remove_node( $node ); } } } } add_action( 'admin_bar_menu', 'bbg_remove_dashboard_link_for_participants', 1000 ); }}} Something similar could be done for the My Sites > Foo > Dashboard menu item. This doesn't address my-sites.php. c. Stop auto-adding users when they visit sites. Wait until a more opportune moment (when they first visit a forum page; when they first visit the New Forum Post page; when they first attempt to post something). This ensures that users are only added to blogs where they've demonstrated interest (though including them in ""My Sites"" still seems a bit misleading). I know this issue is a tricky one to address, as you need to have the roles in order for bbPress to do a lot of work, and at least part of the problem is in the way `get_blogs_of_user()` works. (It would be nice, for instance, if you could noop it and supply your own checks, or if you could supply a minimum cap.) But I've already seen the issue crop up on three or four client sites, and my workarounds (such as the remove_node() snippet above) only address part of the problem. Thanks for your consideration.",boonebgorges Future Releases,2484,"Marking participants as spam, marks whole Blogs as spam",johnjamesjacoby,API - Roles/Capabilities,,omg sweet tea,critical,2.8,defect (bug),reopened,dev-feedback,2013-11-27T09:49:19Z,2023-11-17T20:25:48Z,"If you mark a user as spam in /wp-admin/network/users.php, it will mark each blog as spam, where the user is participant. It happens if ''bbp_allow_global_access()'' is true in a multisite environment. '''The reason seems to be''' In multisite with ''bbp_allow_global_access'' each participant gets [http://bbpress.trac.wordpress.org/browser/tags/2.5/includes/users/capabilities.php#L292 the participant capability] and [http://core.trac.wordpress.org/browser/tags/3.7.1/src/wp-includes/user.php#L858 get_user_meta($user_id)] will return: {{{ [wp_32_capabilities] => Array ( [0] => a:1:{s:15:""bbp_participant"";b:1;} ) }}} Where 32 is the blog id. [http://core.trac.wordpress.org/browser/tags/3.7.1/src/wp-admin/network/users.php#L147 Marking a user as spam in WordPress] calls this: {{{ $blogs = get_blogs_of_user( $val, true ); foreach ( (array) $blogs as $key => $details ) { if ( $details->userblog_id != $current_site->blog_id ) // main blog not a spam ! update_blog_status( $details->userblog_id, 'spam', '1' ); } update_user_status( $val, 'spam', '1' ); }}} And [http://core.trac.wordpress.org/browser/tags/3.7.1/src/wp-includes/user.php#L712 get_blogs_of_user() uses get_user_meta( $user_id )] to get all 'wp_*_capabilities' keys. Resulting in giving back each blog, where the user is participant and updating it as spam: {{{ foreach ( $keys as $key ) { if ( 'capabilities' !== substr( $key, -12 ) ) continue; if ( $wpdb->base_prefix && 0 !== strpos( $key, $wpdb->base_prefix ) ) continue; $blog_id = str_replace( array( $wpdb->base_prefix, '_capabilities' ), '', $key ); [...] }}} Is this a bbPress Bug? It seems not right to me, to mark every blog as spam where the spamming user has any capabilities at all. On the other hand, in WP itself no one you would mark as spam should have capabilities in the first place. Or am I overlooking something? Definitly it's very bad since you can't notice it if you aren't looking into /wp-admin/network/sites.php or visiting the affected blog(s) by yourself.",wpdennis Future Releases,2592,"When not network-activated, bbPress user capabilities are broken.",,API - Roles/Capabilities,2.5.3,normal,normal,2.8,defect (bug),new,,2014-05-01T19:09:59Z,2014-09-09T19:27:35Z,"I'm using bbPress in conjunction with Buddypress through Commons in a Box. When bbPress is network-activated, we have no problems. But when it's network-disabled and enabled only on our root blog, then user capabilities break. Specifically, the WP_User instance in `$currentuser` and called by `wp_get_current_user()` only contains a subset of `[allcaps]`, and is missing capabilities like `publish_topics`, even though the user may indeed have the ability to publish topics in a given forum. Instantiating `WP_User` manually shows all capabilities, but calling it otherwise shows the subset. This makes it so that some users will join a group and not be able to post topics in that group's forums, even though they should have the permissions to do so. There is even a button at the top of the page for creating a new topic, but clicking this button has no effect. If I run bbp_add_caps() (by adding it to my theme's `functions.php`), this restores their capabilities, but as far as I can tell, updating or disabling/reenabling the plugin causes the capabilities to be restored to this broken state. ",jreeve Future Releases,3247,Improvement of bbp-topic-index shortcode,,API - Shortcodes,,low,normal,2.8,enhancement,new,dev-feedback,2019-01-30T07:48:30Z,2019-02-01T09:40:31Z,"The `bbp-topic-index` shortcode just displays the list of the latest active topics. On many forum there is even the list of the last inserted topic (overall the whole forums) for who want to check new topics to reply to. The shortcode could accept the attribute `orderby` and the modify the query to order by `date` instead of order by the last activity meta key. Since the shortcode filters the query (`shortcodes.php:293` inside the function `display_topic_index`) it should be easy to add that option. PHP since version 5.3 should support this syntax: {{{ if (isset($attrs['orderby'])) { add_filter('bbp_before_has_topics_parse_args', function ($args) { $args['orderby'] = $attrs['orderby']; return $args; }); } }}} which simplifies a lot the filter coding. In the code above `$attrs` is the default attributes array the shortcode function receive from WP. Stefano. ",satollo Future Releases,2480,user forum subscriptions not shown,johnjamesjacoby,API - Subscriptions,trunk,normal,normal,2.8,defect (bug),reopened,reporter-feedback,2013-11-25T19:55:35Z,2014-09-09T19:27:35Z,"Relates to your pretty well new forum subscriptions feature (#2299): includes/user/functions line 639: bbp_get_user_forum_subscriptions() tries to query `bbp_has_forums( array( 'post__in' => $subscriptions ) )`but `'post__in'` is no $arg for bbp_has_forums. It returns false even if user has forum subscriptions. So on user's subscription page no forums show up but 'You are not currently subscribed to any forums.'",wdfee Future Releases,2707,subscription emails with unsubscribe link,,API - Subscriptions,,low,minor,2.8,enhancement,new,,2014-10-16T13:07:37Z,2023-11-17T20:14:14Z,"I've had a lot of issues with users not knowing how to unsubscribe from their subscription emails and have gotten quite worried about people marking them as spam (and eventually blacklisting my domain) instead of figuring out how to do it. Also, it's time consuming to explain how to do it, especially if they have forgotten their username and password. The only thing is that to have a unique one-click unsubscribe link that works the same way as other emails they might get, I have to have the emails sent individually (like in 2.5.3) and know this causes problems for some people. I'm using 2.5.3 because of this issue and just wrote something to manage it for myself. To work properly and not cause delays, it would need to queue the emails also -- I do understand the difficulty in doing that is why 2.5.4 moved to bcc, although bcc has its own problems. But I wanted to mention because I can't be the only person who has to deal with this and thought that as the bcc issue is still active, I'd see what people thought now.",tharsheblows Future Releases,1918,New topics to appear in Recent Replies widget,,API - Widgets,2.0,normal,normal,2.8,enhancement,new,,2012-07-27T08:05:10Z,2019-01-30T14:28:59Z,"When someone creates a new topic, it isn’t shown in the Recent Replies widget, and that way it usually remains unseen and without any replies in a site where the forum is mainly based on the widget.",edinchez Future Releases,2477,"loop-single-reply.php calls bbp_reply_author_link() for topics, too",johnjamesjacoby,Appearance - Included Themes,2.4.1,lowest,trivial,2.8,defect (bug),new,dev-feedback,2013-11-23T11:14:25Z,2014-09-11T14:24:57Z,"A topic detail page loops through each post with [http://bbpress.trac.wordpress.org/browser/tags/2.4.1/templates/default/bbpress/loop-single-reply.php loop-single-reply.php]. Without lead topics enabled, this template file is used for replies '''and topics'''. If you filter something like ''bbp_get_reply_author_display_name'' the following will return false within the filter: {{{ bbp_is_reply($reply_id) }}} for the first post in a topic (the topic itself). To be consistent, maybe the loop should distinguish between post type ""reply"" and post type ""topic"" to call the appropriate function. ",wpdennis Future Releases,2075,Display name missing on profiles when using extras templates,,Appearance - Theme Compatibility,2.2,normal,normal,2.8,defect (bug),new,,2012-11-29T08:28:47Z,2024-03-09T12:39:58Z,Seems that the display names are missing on profile pages.,jaredatch Future Releases,1958,Hierarchical Forum and Category Layout theme,,Appearance - Theme Compatibility,2.1,omg sweet tea,normal,2.8,enhancement,new,,2012-09-26T04:54:16Z,2019-01-22T04:42:09Z,"Topic for reference: http://bbpress.org/forums/topic/hierarchical-forum-and-category-layout/ As discussed, people often want some degree of hierarchy for their theme and right now it would require a completely custom theme. We should help them out. I guess one thing to determine, which would give us a direction to go in, would be what degree of hierarchy should we look to provide? One possible scenario would be what Lynq came up with in his custom theme: http://teamoverpowered.com/forums/ Thoughts?",jaredatch Future Releases,2423,Path for javascripts and custom template,,Appearance - Theme Compatibility,trunk,normal,normal,2.8,enhancement,new,reporter-feedback,2013-09-10T21:17:38Z,2014-09-09T19:27:35Z,The paths for JS (topic.js and reply.js) doesn't look to theme folder first and doesn't look at min version.,sgr33n Future Releases,2579,accessibility / usability in bbpress default theme,,Appearance - Theme Compatibility,,normal,normal,2.8,enhancement,new,,2014-04-05T02:01:22Z,2014-09-09T19:27:35Z,"I had an issue today with a guy who was using a screen reader and couldn't figure out how to start a topic. I've also had this problem with a couple of other people, too. I added in links under the breadcrumbs to anchors at the top of the topic form in topic-form.php and the reply form in reply-form.php and made sure that the focus goes to the appropriate textarea / input. I'm not sure if there's work being done on the default template but thought I'd mention because he was super happy with it and I think it will help other users too. (He was quite complimentary about the usability of the site, which is mainly bbPress, as a whole! This is down to you guys, not me. :) ) Examples here (this is not default bbpress theme but I started from that and the default doesn't have them): forum - http://thefastdiet.co.uk/forums/forum/body/weight-loss/ topic - http://thefastdiet.co.uk/forums/topic/no-weight-loss-please-help/ What I added at the top under the breadcrumbs (this is just to show what's happening - I have custom breadcrumbs and this is called from that function) {{{ //top-nav-bar function bbp_my_top_nav(){ if( bbp_is_single_forum() || bbp_is_single_topic() ){ printf(_x('