ticket,summary,owner,component,_version,priority,severity,milestone,type,_status,workflow,_created,modified,_description,_reporter 2244,In loop-single-reply.php to replace divs with ul and li,,Appearance - Theme Compatibility,2.2.3,low,minor,Future Release,task (blessed),new,,2013-03-06T21:24:33Z,2013-12-28T07:29:47Z,"In the loop-single-reply.php file there are used div tags instead of ul and li tags. As bbPress use a table less design I think it would be more familiar to use '''everywhere''' is needed. ",alexvorn2 1907,Auto refreshing new replies,,Component - Replies,2.1.2,normal,normal,Future Release,task (blessed),new,,2012-07-18T05:28:36Z,2014-04-27T01:11:47Z,Like in the p2 theme to auto refresh new replies.,alexvorn2 2137,Dedicated register/login/lost-pass pages,,Component - Users,2.1,high,normal,2.8,task (blessed),new,,2012-12-28T23:58:59Z,2016-05-02T05:46:29Z,"It comes up enough where it's worth having the option of letting bbPress manage the sign-up process. We would likely need to: * Add the rewrite rules and tags to the bbPress class. * Loop them in to bbp_parse_query(). * Come up with template tags and _is_ functions for them. * Settings and functions for setting/getting slugs. * Use the existing shortcodes to handle theme compat, similar to other components. Putting in the 2.4 milestone, though a patch could speed this into 2.3.",johnjamesjacoby 1238,Dynamic content doesn't work in IIS 7,,Front-end,,highest omg sweet tea,major,Future Release (Legacy),task (blessed),new,reporter-feedback,2010-01-10T03:30:57Z,2023-11-17T20:25:06Z,"iis 7 doesn't do well with bbpress dynamic content , on topic or forum pages. this is critical for those who use a windows server with iis 7, hasn;t been tested with iis6 yet!",alexandanthony 1721,Moderator control panels,,General - Administration,2.0,normal,normal,Future Release,task (blessed),new,,2012-01-17T20:35:06Z,2019-05-22T07:47:44Z,"I think the ability to keep non-admins out of the scary admin area of WordPress is key to Moderator happiness. Many other forum projects include a 'control panel' where Moderators are able to perform bulk actions and edits to several topics and replies at a time. WordPress provides a built in admin panel for this via wp-admin, but it'd be great to include this in the theme for easy Moderation of many items at a time. A quick and dirty list of what it will take to build this: * ""/moderate"" rewrite rules for forums and topics * Template edits to provide checkboxes, drop downs, and forms needed for bulk actions * Handlers for bulk actions, which could be wrappers for existing single edit functions as a first pass * Integration with the existing 'moderate' capability * !BuddyPress Group Forum integration. See #1669.",johnjamesjacoby 1513,Reduce amount of topic/reply code duplication,johnjamesjacoby,General - Administration,,high,normal,Future Release,task (blessed),new,,2011-05-09T09:34:49Z,2015-03-24T08:36:51Z,"In the process of creating the bbPress plugins topics and replies, there ended up to be quite a bit of code duplication needed between the two post types. A sweep should be done to limit all post meta queries down to 1 definitive set of functions that can handle both topics and replies, with (possibly deprecated) wrapper functions to handle the specifics for each post type.",johnjamesjacoby 2935,"Add a repair tool to repair `ping_status` for forum, topic , and reply post types",,General - Integration,,normal,normal,2.8,task (blessed),new,,2016-05-02T05:43:28Z,2016-05-02T05:43:28Z,"A repair tool should be added to reset and repair bbPress `ping_status` after either #2677 and #1430 ",netweb 1430,Show pingbacks on topic page,MZAWeb,General - Integration,,normal,normal,2.8,task (blessed),assigned,needs-refresh,2010-12-29T12:33:17Z,2016-05-02T05:43:51Z," 1. We can't display pingbacks within the replies loop because replies are posts while pingbacks are comments, so we would probably need to display the pingbacks below the replies. 2. Also add an option to disable pingbacks or use the existing one.",GautamGupta 2516,bbPress WXR Sample Data,,Site - Codex,,normal,normal,Future Release,task (blessed),new,,2014-01-17T08:15:21Z,2020-01-25T19:12:57Z,"A ticket to store bbPress WXR Sample Data This first iteration contains the following: * bbPress Forums Category * Select bbPress Public Forum * bbPress Forum Standard Topic & replies * bbPress Forum Anonymous Topic & replies * bbPress Forum Subscription Topic & replies * bbPress Forum Pending Topic & replies * bbPress Forum Favorite Topic & replies * bbPress Forum Super Sticky Topic & replies * bbPress Forum Sticky Topic & replies * bbPress Forum Closed Topic & replies * bbPress Forum Trash Topic & replies * bbPress Forum Spam Topic & replies * Select bbPress Hidden Forum * Select bbPress Private Forum * Select bbPress Closed Forum Also a group of forums and categories based on the [https://en.wikipedia.org/wiki/Nested_set_model Nested set model]: * Clothing (Category) * Men's (Category) * Suits (Category) * Slacks (Forum) * Jackets (Forum) * Ties (Forum) * Women's (Category) * Blouses (Forum) * Dresses (Category) * Evening Gowns (Forum) * Sun Dresses (Forum) * Skirts (Forum)",netweb 2782,"Make PHPUnit tests work, and make them dependent on BuddyPress",netweb,Tools,,normal,normal,Under Consideration,task (blessed),assigned,has-patch,2015-03-31T21:32:01Z,2017-05-27T01:30:11Z,"I'm seeing a recurrence of #2327 on a client site, and I don't understand bbPress well enough to figure out what's going on without writing some unit tests, but it's not currently possible, so here you go :) The attached patch does the following: - Fixes the bbPress test bootstrap so that it actually loads bbPress - Fixes the bbPress testcases so that it properly installs the (empty) `BBP_UnitTest_Factory` - Provides a bare-bones version of `BBP_UnitTest_Factory_For_Forum`. This is all I needed to debug my specific issue, but you get the idea. - Detects the presence of a BuddyPress checkout, and installs + bootstraps it if found - Loads the BP factory into the `BBP_UnitTestCase` object The patch also includes a couple of tests and a suggested fix for #2327. It looks like the basic problem is bbPress's initial setting of group forum status depends on the forum's having been created inside of the group interface. Forums that are created in any other way - programatically, in my client's case - don't seem to have the proper value set. In the long run, you might want to break this logic out from your `BP_Group_Extension` class and put it somewhere where it'll be enforced in a stricter way. (IMHO, `BP_Group_Extension` classes work best when used only as view/controllers. When used for business logic, you get problems like this one. This is a lesson I have learned the hard way on multiple occasions :) ) Anyway, my suggested fix is airtight, though perhaps it's inefficient. You can take or leave it. Regardless of the #2327 fix, I hope you'll consider adopting the unit test framework, as I personally would be more willing to dive into some of the gnarlier bugs I occassionally come across in bbPress if it were possible to attack them in a TDD fashion.",boonebgorges 3084,PHPUnit 6 compatibility,netweb,Tools - Build,,high,normal,Future Release,task (blessed),new,,2017-03-10T04:29:00Z,2017-06-05T17:19:14Z,"Via #WP39822 PHPUnit no longer supports `PHPUnit_Framework_TestCase` as the base class. https://github.com/sebastianbergmann/phpunit/blob/6.0/ChangeLog-6.0.md#600---2017-02-03 {{{ $ phpunit Installing... Running as single site... To run multisite, use -c tests/phpunit/multisite.xml PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /Users/miyauchi/wp-core/trunk/tests/phpunit/includes/testcase.php on line 15 }}} I wrote aliases for it. It looks woking fine with phpunit 5.6 and phpunit 6. Related: https://github.com/wp-cli/wp-cli/issues/3802",netweb 2357,Design Crashes! - Li button issue - Editor not filtering improper HTML usage.,,API - Formatting,2.1,normal,major,Future Release,idea,new,needs-unit-tests,2013-06-22T06:43:43Z,2018-03-09T19:16:37Z,"When I create a topic or reply for a topic, if I click ""li"" button without ""ul"" or ""ol"" and submit the whole design crashes. When the participant user unknowingly do this this will be a problem. Then I disabled fancy editor and also tried
and so on. Although you can edit, but with a preview others can not see the faulty, unfinished post.
A post preview as a basic feature in bbPress would be great.",Morgensonne
3101,Subscriptions and Moderators have no sense for a Category,,Component - Forums,trunk,normal,normal,Future Release,enhancement,new,,2017-04-11T15:07:09Z,2017-04-12T08:34:16Z,"A forum can have subscriptions and can be moderated, but when it's a category there seems to be little sense to subscribe to it or moderate.
So the 'Subscriptions' and the 'Moderators' meta box could be removed/hidden when editing a forum of type category",casiepa
3461,content cutting Off in small viewport size,,Component - Forums,,low,normal,Awaiting Review,enhancement,new,,2022-05-10T10:56:13Z,2022-05-10T10:56:13Z,"content cutting Off in small viewport size
URL: https://bbpress.org/forums/topic/bbpress-2-6-6/",umesh84
3201,Pagination for threaded comments,,Component - Replies,,normal,normal,Future Release,enhancement,new,,2018-05-27T14:24:10Z,2024-02-20T13:25:01Z,"It would be really great if pagination for threaded comments could be looked into again. I notice there are a lot of people wanting this feature.
@svetoslavd79 came up with a mostly working solution [https://wpup.co/bbpress-threaded-nested-replies-with-paging/] and in the comments section suggested an idea/consideration on how it could be re-done more elegantly to prevent url linking issues:
> ...I’m starting to think that the most elegant way to deal with all this issues surrounding pagination of replies is to create a hidden field in the reply form that saves the page number as a custom field attached to the reply. If you can accomplish that, modifying or filtering anything that needs a link to that particular reply post should be a breeze after that. Anything else will have to involve some wild math to calculate each reply page number and will only weigh in on the execution and ultimately site speed and performance. This is still not super simple but something to consider if you want to pursue such implementation.
Nevertheless, the code outlined below seems to work well with standard bbpress forum, with a couple of issues:
1. There is an issue with a buddypress group forum: after posting reply there, the refreshed url page number is incorrect.
2. When trashing a reply in forum, the pagination breaks... redirect goes to something like this .../?view=all#post-4296 and the pagination does not work and can't navigate pages as their url links are no longer correct.
3. Links may not link to the correct page number for the topic subscription email notifications and the Recent Replies widget.
Below is the extract of @svetoslavd79 code from [https://wpup.co/bbpress-threaded-nested-replies-with-paging/]
Copy the below function to your functions.php file. The modification will allow us to pass the current page and number of replies per page, so the query returns the correct reply posts.
{{{
function wpup_bbp_list_replies( $args = array() ) {
// Reset the reply depth
bbpress()->reply_query->reply_depth = 0;
// In reply loop
bbpress()->reply_query->in_the_loop = true;
$r = bbp_parse_args( $args, array(
'walker' => null,
'max_depth' => bbp_thread_replies_depth(),
'style' => 'ul',
'callback' => null,
'end_callback' => null
), 'list_replies' );
// Get replies to loop through in $_replies
$walker = new BBP_Walker_Reply;
$walker->paged_walk( bbpress()->reply_query->posts, $r['max_depth'], $r['page'], $r['per_page'], $r );
bbpress()->max_num_pages = $walker->max_pages;
bbpress()->reply_query->in_the_loop = false;
}
}}}
Next copy the below function to your functions.php file, right after the previous one from Step 1. This piece of code is responsible for displaying the page number navigation. The 2 important variables here are $numeplies – the total number of replies of the currently displayed topic and $paged – the current page number the visitor is displaying. You will find out how we are going to pass those values in the next few steps.
{{{
//Custom Pagination function
function wpup_custom_pagination($numreplies='', $pagerange='', $paged='', $repliesperpage='') {
/**
* $pagerange
* How many pages to display after the current page
* Used in combination with 'shaw_all' => false
*/
if (empty($pagerange)) {
$pagerange = 3;
}
/**
* $numreplies
* What is the total number of replies in the current topic
* $numpages
* Calculate total number of pages to display based on number of replies and replies per page
*/
if ($numreplies != '') {
$numpages = ceil($numreplies / $repliesperpage);
}
//assign value of 1 to $paged variable in case it's not passed on
global $paged;
if (empty($paged)) {
$paged = 1;
}
/**
* We construct the pagination arguments to enter into our paginate_links
* function.
*/
$pagination_args = array(
'base' => get_pagenum_link(1) . '%_%',
'format' => 'page/%#%',
'total' => $numpages,
'current' => $paged,
'show_all' => False,
'end_size' => 1,
'mid_size' => $pagerange,
'prev_next' => True,
'prev_text' => __('<'),
'next_text' => __('>'),
'type' => 'plain',
'add_args' => false,
'add_fragment' => ''
);
$paginate_links = paginate_links($pagination_args);
if ($paginate_links) {
echo """";
}
}
}}}
This next snippet takes the current page you are on and changes the value of the hidden field in the reply form. This is so after replying, the page doesn't load at page 1.
{{{
//customize the forum reply form redirect to send back to the current page you are on
function wpup_reply_redirect() {
if (bbp_is_single_topic()) {
$redirect_to = '';
}
return $redirect_to;
}
add_filter('bbp_redirect_to_field', 'wpup_reply_redirect', 10, 2);
}}}
However, two other places that may need looking at where the links may not link to the correct page number are the topic subscription email notifications and the Recent Replies widget.
Next, edit loop-replies.php. On top of the file and right after the opening
}}}
and replace it with
{{{
$paged, 'per_page' => 15));
?>
}}}
*Remember to change 15 with the number of replies you want to see per page. Also, please note that only the main replies are considered when specifying the number per page, since the nested replies are children of the main reply.
Next we want to call our pagination function, to display the page navigation. To do that, scroll down to around line 84 and include the following, right after the closing tag:
{{{
reply_query->posts;
$numparentreplies = 0;
foreach($replyposts as $value){
if($value->reply_to == 0) {
$numparentreplies++;
}
}
wpup_custom_pagination($numparentreplies,"""",$paged, 15); ?>
}}}
",MBV
2424,Redirect single replies to parent topic,,Component - Replies,trunk,normal,normal,Future Release,enhancement,new,,2013-09-11T22:20:39Z,2014-06-17T14:15:42Z,"I'm wondering if we should automatically redirect single reply pages to their parent topic.
For example, right now if you go to Replies in the admin and click ""View Reply"" on a reply, you get a standard bbPress forum view of just that one reply.
This view is more or less useless, since a reply has little relevance outside of its parent topic.
How about redirecting these to the parent topic?
I personally ran into this as a problem when I started incorporating bbPress replies and topics into my site's standard WP search. The search results used get_permalink(), which returned the single reply URL, but viewing this page was pointless because the reply didn't mean anything outside of its topic.
I went ahead and wrote a small plugin to do this: https://github.com/pippinsplugins/bbPress-Redirect-Single-Replies-to-Topics",mordauk
2670,Reply to topics and replies in the backend,,Component - Replies,2.5,normal,normal,Future Release,enhancement,new,,2014-08-05T00:35:07Z,2014-08-05T00:35:36Z,"A request via the [http://bbpress.org/forums/topic/reply-to-topics-on-wordpress-backend/ forums] to allow topics to be replied to in the backend.
Basically similar to how you can reply to WordPress comments. (See attached image)
",netweb
3411,Some reply context options are unavailable when topic is marked as spam,,Component - Replies,,normal,normal,Awaiting Review,enhancement,new,,2020-11-18T21:47:41Z,2023-04-26T08:22:46Z,"If you mark a topic as spam, it may have legitimate replies, and spam replies mixed in under it.
Currently, if you mark a topic as spam, the context of the replies is switched. in base bbPress, they are all trashed instantly, and you then need to restore the reply, to then be able to mark it as spam.
To be able to effectively tackle a spam-topic with replies, you therefore need to start by marking any replies as spam, and then mark the topic as spam, which is a backwards route to take.
Would it make sense to still include the spam action on trashed replies?",Clorith
2997,Update the reply headers on user profile replies view,,Component - Replies,,normal,normal,Future Release,enhancement,new,has-patch,2016-09-16T11:29:00Z,2021-12-18T15:09:59Z,"The header for replies on a users profile could do with an update:
* The header fields `Author` and `Posts` really have no relevance to the current view
* [[Image(https://cldup.com/Vkn4OKbgYP.png)]]
Whereas with topics each of the headers matches up to the topic meta nicely:
* [[Image(https://cldup.com/BXAUc8IpBT.png)]]",netweb
1987,Add date option for topics,,Component - Topics,2.1.2,normal,normal,Future Release,enhancement,new,,2012-10-22T01:19:57Z,2012-12-09T13:49:28Z,"Surfing topics on specific date.
http://weburl.com/topics/2012 - to show only topis created in 2012...
http://weburl.com/topics/2012/10 - to show only topis created in October 2012... ",alexvorn2
3427,Add format options for date functions including bbp_topic_post_date,,Component - Topics,,normal,normal,Awaiting Review,enhancement,new,,2021-03-30T12:44:31Z,2021-03-30T12:44:31Z,"The current bbp_topic_post_date and bbp_get_topic_post_date functions do not allow you to set the date format - it just takes the WP default date. It would be great to be able to specify this, with the WP default as the fallback. ",Palagrin
3506,Extract create topic functionality into a reusable class,,Component - Topics,trunk,normal,normal,Awaiting Review,enhancement,new,has-patch,2022-12-14T12:08:42Z,2022-12-14T20:22:05Z,"Extract create topic functionality out of `bbp_new_topic_handler` into a `BBP_Topic` class that can be reused when folks need to create topics outside of the bbPress frontend, eg. an API call.
This is my first attempt at contributing to a WP plugin, please let me know how this looks and if there is anything else I should do, thanks.",undemian
1937,Read/unread posts,,Component - Topics,2.1.2,low,normal,Future Release,enhancement,new,,2012-08-14T21:06:34Z,2016-09-01T04:23:17Z,"I'm essentially talking about mirroring the functionality of the [http://wordpress.org/extend/plugins/bp-unread-posts/ BP Unread Posts] plugin.
There's plenty of additional features to consider for read/unread, for instance filters to show only unread posts, or only unread posts that you've posted in and so forth. But such extra features are for plugins or future releases imo.",Sadr
2570,Default User Profile Fields,,Component - Users,trunk,low,normal,2.8,enhancement,new,dev-feedback,2014-03-26T03:12:35Z,2014-09-09T19:27:35Z,"I couldn't work out why a users profile URL wasn't being displayed on their profile and realized it is because we don't actually include it in `user-profile.php`
I'm conflicted on if we should or shouldn't include this by default.
If we do then should we also include user registration date?
What about `user_contactmethods`? Should we create a new function `bbp_user_contact_methods` similar to `bbp_edit_user_contact_methods` and output each to the user profile?
Related: #2055 Include member page",netweb
2965,Feature Request - Disable 'Change forum role' select when Users list is empty,,Component - Users,2.2,normal,normal,Future Release,enhancement,new,,2016-06-16T20:57:24Z,2017-03-03T14:38:22Z,"Hello,
I noticed on the Users table if there's no users in your search that Wordpress disables it's 'Change role' select and Bulk Actions as there's no users for these actions to be executed upon.
Would like to suggest that bbPress adopt this functionality so that the 'Change forum role' select is removed when the Users table is empty.
Thank you",garrett-eclipse
2507,Retain topics and replies for deleted users,,Component - Users,2.5,normal,normal,Future Release,enhancement,new,,2014-01-07T06:42:59Z,2017-06-14T05:45:22Z,"When a user account is deleted an option to delete or retain the users topics and replies should be available to keep the original context of a topic and replies.
''In #2347 support was added for imported phpBB topics and replies to support posts where the original author had been deleted by assigning the original user name to `_bbp_anonymous_name ` for each topic or reply and a similar method could be used for this.''",netweb
2582,Update user favorites and subscription profile templates with dashicons,,Component - Users,2.5,low,minor,Future Release,enhancement,new,,2014-04-08T03:36:11Z,2023-11-17T20:13:02Z,"In `loop-single-topic.php` and `loop-single-forum.php`
* replace `+` with `dashicons-plus` or `content: ""\f132"";`
* replace `×` with `dashicons-no` or `content: ""\f158"";`
Some CSS tweaks will also be required in `bbpress.css`",netweb
2775,Add check for spam button on topics and replies section,,Extend - Akismet,,normal,normal,Future Release,enhancement,new,dev-feedback,2015-03-22T10:14:53Z,2015-03-23T03:23:32Z,"I was browsing for some plugins on Github and i came across this little plugin.
https://github.com/lenrsmith/bbpress-spam-cleaner
The plugin requires Akismet and also adds a settings area in the Tools section and basically re-scans the topics and replies for spam that wasn't caught by Akismet on its first scan through.
I think this basically works like the Check for Spam button on the comments section in the WordPress backend.
Would be neat if this was added to core for better Akismet integration. ",Robkk
3519,Send 'recheck_reason' parameter to Akismet during edits,,Extend - Akismet,,normal,normal,Awaiting Review,enhancement,new,dev-feedback,2023-02-01T00:16:21Z,2023-02-01T00:16:21Z,"We've been seeing a lot of false positive reports from Akismet recently, which made me look into the Akismet API docs some more: https://akismet.com/development/api/#comment-check.
One thing that stood out is the `'recheck_reason'` parameter, which is supposed to be used when rechecking older content or edits. We currently do not send this parameter during forum post edits, which might make the forum post more susceptible for Akismet to return a spam response.
I'll try and work up a patch when I have a bit of time.",r-a-y
3014,BuddyPress group deletion not deleting bbPress Forum,,Extend - BuddyPress,2.0,normal,normal,Future Release,enhancement,new,,2016-10-28T16:28:42Z,2017-06-05T17:17:52Z,"When a BP Group that has a forum is deleted, the forum is not deleted. This can cause issues since the only people who can delete that group are the site admin.
Could it be arranged for the forum to be deleted with the rest of the group please?",Venutius
3025,Hide bbPress/BuddyPress group forums from the forum list unless the viewer is a member of the group,,Extend - BuddyPress,,high,normal,Future Release,enhancement,new,,2016-11-26T23:31:46Z,2017-01-23T17:54:07Z,"I would like to have the option to hide group forums from the forum list unless the individual concerned is a member of that group.
I'd like there to be an option for forum visibility for each of the types of groups in BuddyPress, in other words I'd like To be able to individually control whether a public or a private group forum shows up in the forum list.",Venutius
2184,Marking a topic or a reply private in the front-end,,Front-end,2.2.3,normal,normal,Future Release,enhancement,new,,2013-01-27T15:01:04Z,2013-09-19T13:16:01Z,"Allowing users to mark a topic or a reply as a private to be shown only for admins and forum moderators,
[image] http://s-plugins.wordpress.org/bbpress-private-replies/assets/screenshot-1.png?rev=625843
[image] http://s-plugins.wordpress.org/bbpress-private-replies/assets/screenshot-4.png?rev=625843
like what this plugin does: http://wordpress.org/extend/plugins/bbpress-private-replies/",alexvorn2
1473,Request to improve email subscription formatting,johnjamesjacoby,Front-end,1.1-alpha,low,minor,Future Release (Legacy),enhancement,new,,2011-02-16T13:21:51Z,2023-11-17T20:13:06Z,"Forum subscription emails don't seem to respect line breaks. For example, this:
http://en.forums.wordpress.com/topic/authors-rss-feeds?replies=3#post-558826
Looks like this in the forums:
{{{
Andrew,
Thank you for pointing that out.
}}}
But the email shows:
{{{
Andrew,
Thank you for pointing that out.
}}}
Not a big deal with short responses like that but I can see longer replies getting ugly.
The subject line of the email was “Authors' RSS Feeds” Any chance the HTML entity there could be output as a ‘ instead?
Props andrewspittle for the suggestions.",designsimply
677,Search Page styling,,Front-end,,normal,normal,Future Release (Legacy),enhancement,new,has-patch,2007-06-27T17:57:27Z,2011-09-20T22:32:21Z,THe search page needs some love.,mdawaffe
1979,integrate quickedit option,,Front-end,2.1.2,normal,normal,Future Release,enhancement,new,,2012-10-16T12:14:33Z,2013-03-29T03:38:45Z,"Editing a reply should be fast as a click...
Maybe to remove the edit files and use only quickedit option.",alexvorn2
3196,Improve bbp_get_statistics() to use registered statuses,,General,trunk,normal,normal,2.8,enhancement,new,,2018-03-24T12:42:45Z,2018-03-24T20:00:16Z,"The `bbp_get_statistics()` function is one of our oldest, and is used to populate the ""At a Glance"" Dashboard meta-box with counts for forums, topics, replies, etc...
Internally, this function does not care about what statuses are made available to post types, but rather is hard-coded to only support specific post types (the purpose of the original function was to only show public counts.)
Though custom post status support is still not completely implemented inside of WordPress, we do include our own helper functions for getting the appropriate statuses for them. We should use these functions, objects, and labels, to show counts by status for what the user is able to view. We should also cache these results based on the combination of counts made available to the user, so these statistics can be used in a more traditional forum type way.",casiepa
3225,Move all data from postmeta into own database tables,,General,trunk,high,major,Future Release,enhancement,reopened,,2018-11-01T09:01:36Z,2024-03-22T17:33:08Z,"bbPress has a great potential to be a great forum software, but that is not going to happen until bbPress can be scaled to work with large forums, and allow for some more complex features to work without the burden of bad database design.
bbPress stores all the data into the postmeta table that can't be indexed and that can't be used in complex queries without the performance hit. Yes, it works fine for the rather simple queries bbPress has now (well, that is not true completely, there so many reports of imports from other forums failing, or repair operations failing), but if you need to make queries that will get latest posts for a period of time, in specific forums, based on the last activity, and run it in forum with 250.000 or more topics, that can be very slow (query execution can take 5 or more seconds, even on fast servers).
So, I have created the proposal database schema using 8 database tables based on the metadata currently stored in postmeta, with few more columns added, that can be discussed and that should be implemented into the bbPress core. I was thinking about building a plugin for that, but there is no way to easily replace core queries bbPress uses with the plugin, or replace complete import system. Database schema needs to be in the core. Here is the GitHub repository with schema and few for starters queries to load the tables: [https://github.com/dev4press/db-updates-for-bbpress].",GDragoN
3125,`bbp_get_topic_id()` might incorrectly return a reply_id or forum_id,johnjamesjacoby,General,,normal,normal,2.8,enhancement,new,needs-unit-tests,2017-07-05T13:40:07Z,2018-04-23T04:16:59Z,"Calling the `bbp_get_topic_id()` function will check if $id is a valid number by using `( ! empty( $topic_id ) && is_numeric( $topic_id ) )`.
If function `bbp_get_topic_id()` is called with a `forum_id` or a `reply_id`, it will still accept the value.
This behaviour should be changed, but there might be 2 ways:
1) if $id is a topic, return $id, otherwise 0 (so add the logic of bbp_is_topic to make sure $id is indeed a topic)
or
2) if $id is an ID for a reply, return the corresponding ID for the topic this reply is part of (ID crawling)
Regardless of choosing 1) or 2) apply the same logic to `bbp_get_forum_id()` and `bbp_get_reply_id()`.",casiepa
2514,features as plugins for bbPress,,General,,normal,normal,bbPress.org,enhancement,new,,2014-01-14T08:05:17Z,2015-01-31T19:39:41Z,"As WordPress team implements some plugins into WP core, I think the same tactics can be applied to bbPress, to create a list of plugins that should be added to bbPress.
As seen here: http://make.wordpress.org/core/features-as-plugins/
This will help make bbPress more professional and increase plugin development for bbPress.
",alexvorn2
1838,Add option to move topics to other forums in the Bulk Edit settings,,General - Administration,2.0,normal,normal,Future Release,enhancement,new,,2012-06-01T04:35:22Z,2017-07-06T19:08:21Z,Make possible to move a lot of topics to other forums adding some settings to Bulk Edit.,alexvorn2
1439,Admin Bar Support,,General - Administration,,normal,normal,Future Release,enhancement,new,,2011-01-05T14:59:12Z,2013-08-29T00:23:58Z,"I think we should add some type of specific admin-bar menu in for the plugin in 3.1. What exactly that entails is up for debate, but it'd be great to see something more than the default post type links.",anthonycole
1148,Better Bozo Notfication on Dashboard,,General - Administration,,normal,minor,Future Release (Legacy),enhancement,new,,2009-07-13T02:12:39Z,2023-11-17T20:13:08Z,"Perhaps it might be helpful to add a better notification system to the bbPress Dashboard when a new user has been automatically marked as a bozo.
It is not very easy to see when this happens (especially for those new to bbPress), and new forum posters will be frustrated if they are mistakenly marked as bozos and no one notices and fixes their status.
How about an orange notification button popping up next to the ""Users"" botton on the left side of the dashboard similar to how Wordpress notifies users that a new plugin is available or comments need to be approved?
Example: Orange ""1"" button if someone just got marked as a bozo.
Perhaps once clicked on a list would show up with the people that have been marked as Bozos and not acted on (Similar to Comment Moderation). One would then have the options of ""Keep As Bozo"" or ""Un-Bozo"". This way the site admin will always know if someone has been flagged and easily be able to keep tabs on things.",grassrootspa
1298,Better post author layout management,,General - Administration,,normal,normal,Future Release (Legacy),enhancement,new,has-patch,2010-06-26T22:10:25Z,2013-08-29T00:25:33Z,"With so many plugins trying to override each other and change post_author_title to insert things that aren’t the post author’s title, it just makes sense to let users choose where everything goes.
It's also easier on forum admins that don't know how to use PHP or don't want to edit their theme's files, but want to change the layout of the post author box.
It's simple for a plugin or theme to work both ways:
{{{
if ( function_exists( 'bb_post_author_layout' ) ) {
// Old logic, same as always.
} else {
// THEMES:
bb_post_author_layout();
// PLUGINS:
function my_plugin_section_foo() {
echo 'Foo';
}
function my_plugin_section_bar() {
echo 'Bar';
}
function my_plugin_post_author_sections_add( $sections ) {
$sections[] = 'my_plugin_section_foo';
$sections[] = 'my_plugin_section_bar';
return $sections;
}
add_filter( 'bb_post_author_layout_sections', 'my_plugin_post_author_sections_add' );
}
}}}",Nightgunner5
1723,Bulk actions for forums,,General - Administration,2.0,normal,normal,Future Release,enhancement,new,has-patch,2012-01-20T10:10:20Z,2015-06-14T17:01:29Z,I think bulk actions for forums could be improved. It is not possible to change multiple forums from public to hidden for example.,ChantalC
2258,Custom (pretty) permalinks for bbPress,,General - Administration,2.2.3,low,minor,Future Release,enhancement,new,,2013-03-14T01:47:21Z,2014-10-02T10:57:30Z,"To add option to edit bbPress permalinks.
(To make possible to have descriptive URLs).
Add such structure variables as:
%forumname%,
%forumparentname%,
%forumparentsnames%,
%topicname%,
%replyname%
For topics:
1) pretty url: http://example.com/forum/subforum/custom_topic_title
structure will be: [http://example.com/%forumparentsnames%/%topicname%]
.
2) for http://example.com/forum1/custom_topic_title
structure will be: [http://example.com/%forumparentname%/%topicname%]
OR [example.com/%forumname%/%topicname%]
.
3) http://example.com/custom_topic_title
structure will be: [http://example.com/%topicname%]
.
4) http://example.com/forum1/2013/custom_topic_title
structure will be: [http://example.com/%forumname%/%year%/%topicname%] ..
etc
",alexvorn2
1394,Quick Edit forums and topics on dashboard,,General - Administration,,normal,normal,Future Release,enhancement,new,reporter-feedback,2010-12-07T10:03:55Z,2024-03-27T06:08:59Z,"1) When editing forum title or forum slug on ""Quick edit"" on administration (wp-admin/edit.php?post_type=bbp_forum) and when i click ""update"" i get msg ""You are not allowed to edit this post"" i am login as admin.
2) On administration topics (wp-admin/edit.php?post_type=bbp_topic) i havn't ""Quick edit"" option like on forum admin ( large forum need this to administrate quickly multiple topics ...)
",dudd
2275,Quick access the parent topic from the reply edit screen in the admin,,General - Administration,trunk,normal,normal,Future Release,enhancement,new,has-patch,2013-03-23T05:48:55Z,2013-11-06T20:47:56Z,"Two options:
1) Add a 3rd button in the permalink row: http://screenshots.mzaweb.com/kXVU
It's a bit hacky to get that button placed there with the current available filters in core.
2) http://screenshots.mzaweb.com/kXW8",MZAWeb
3480,Same name for two menu entries,,General - Administration,,normal,trivial,Awaiting Review,enhancement,new,,2022-09-01T08:00:47Z,2022-09-01T08:00:47Z,"Two menu entries have the same name and appear one after another: https://github.com/bbpress/bbPress/blob/trunk/src/includes/admin/classes/class-bbp-admin.php#L485-L505
Maybe they should be named ""Welcome to bbPress"" and ""Credits"" in order to avoid confusion.
See https://user-images.githubusercontent.com/167611/187854279-b48d273b-56b0-40a3-9919-0a312180978b.png",zaerl
3403,Support the Gutenberg Block Editor.,georgestephanis,General - Administration,,normal,normal,Under Consideration,enhancement,assigned,has-patch,2020-10-05T16:44:26Z,2024-03-20T01:00:47Z,"Very much a work in progress, but this issue's goal is to add support for all existing bbPress shortcodes as blocks in the block editor.
https://codex.bbpress.org/features/shortcodes/",georgestephanis
960,Users list improvements,,General - Administration,,high,major,Future Release (Legacy),enhancement,new,,2008-09-03T17:42:46Z,2011-09-20T22:31:35Z,"I think it is good idea to extend users list with
* topics count
* posts count
* mass deleting function
* sorting by one ""field""",wiseacre
1720,Add resolved and not resolved option in the forms,,General - Content Creation,2.0,normal,normal,Future Release,enhancement,new,,2012-01-17T15:55:30Z,2018-08-14T03:16:01Z,"To built in the option to mark topics resolved or not resolved in reply and topic form.
I think this is a must feature for the plugin as most of users use bbPress for support forums.
And allow to create custom options in the form if it is not available yet - I tried to do by myself but with no result.",alexvorn2
3359,Allow anonymous users to edit their content (for N minutes after posting),,General - Content Creation,,normal,normal,Awaiting Review,enhancement,new,has-patch,2020-03-26T17:45:27Z,2020-03-26T17:45:27Z,"This patch extends to anonymous users the ability to edit their topics and replies, if and when the existing ''Editing'' settings allow that.
",dontdream
2313,Allow users to upload/insert images using TinyMCE,,General - Content Creation,,normal,normal,Future Release,enhancement,new,,2013-04-22T21:11:58Z,2015-05-20T17:32:22Z,Member can insert an image by URL like now and: uploading from their computer via uploader to insert the image in the content. Possibility to set size and align.,tbermudas
1767,Quick quotes for replies,,General - Content Creation,2.0,normal,normal,Future Release,enhancement,new,,2012-03-02T15:38:11Z,2015-02-01T10:48:07Z,Most forum software have the facility to clip quotes from previous post with the click of a button. Would be nice to have this in bbPress.,sooskriszta
1623,Send user roles along to Akismet for better handling of submitted comments,,General - Content Creation,1.1-alpha,normal,normal,Future Release (Legacy),enhancement,new,has-patch,2011-09-02T14:29:36Z,2011-09-20T22:46:23Z,The Akismet folk have suggested that adding user roles to the info submitted to Akismet would allow them to do a better job of checking comments for spam. The forthcoming patch adds the appropriate info.,dllh
2133,add pre tag buttom to fancy html editor of the reply and topic form,,General - Content Creation,trunk,normal,normal,Future Release,enhancement,new,,2012-12-27T02:28:05Z,2012-12-27T03:22:48Z,"QTags.addButton( 'my_id_pre', 'pre' ... etc",alexvorn2
3264,Forum > Create New Forum > Missing bottom padding for the div,johnjamesjacoby,General - UI/UX,2.5.14,normal,minor,Future Release,enhancement,assigned,reporter-feedback,2019-10-11T12:00:31Z,2019-11-13T06:41:06Z,"Follow the below steps to replicate the issue:
1. Go to Dashboard
2. Click on Forum > New Forum
3. Check the preview block, it needs bottom padding
Compare the actual.png screenshot with expected.png screenshot find the difference.",krupajnanda
3567,When i click on create new page it show me warning message tab.,,Site - Codex,,normal,normal,Awaiting Review,enhancement,new,,2023-06-08T07:29:04Z,2024-02-16T09:47:30Z,"When I click on ""Create New Page"" on this page [https://codex.bbpress.org/] it showed the warning message tab if this is not for all users I suggest removing this for all users and only showing this who have privileged access to create a new page.
Issue screen recording video : [https://share.cleanshot.com/Y6LxXLZrMd1SmV6ZJq20]",himshekhar07
3460,comments code Cutting Off in small viewport size and Horizontal scroll bar is coming,,Site - Codex,,low,normal,Awaiting Review,enhancement,new,reporter-feedback,2022-05-10T10:23:09Z,2024-03-16T11:34:58Z,"comments code Cutting Off in small viewport size and Horizontal scroll bar is coming
URL: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/",umesh84
3450,A lot of white space is coming in tablet and mobile size,,Site - bbPress.org,2.6.9,normal,normal,bbPress.org,enhancement,new,has-patch,2022-03-16T07:28:33Z,2024-02-21T19:23:03Z,"In the [https://bbpress.org/] site, resize the screen and check it in small screen resolution.
White spaces are shown on tablet and mobile screens.
Site Link => [https://bbpress.org/]
I have created a video of the issue. its link is given below.
[https://www.loom.com/share/86311abac96d4491bc05e625de041a59]
",aezazshekh
3381,Responsive issue on bbpress.org Home page,johnjamesjacoby,Site - bbPress.org,,normal,normal,bbPress.org,enhancement,assigned,,2020-07-02T07:00:35Z,2020-07-02T14:21:27Z,"I found a bbpress homepage responsive issue on mobile devices.
Issue page URL - https://bbpress.org/
Screenshot - https://www.screenpresso.com/=1ub0f
",rkradadiya
3451,The content of the site in the small size screen of the mobile is coming out of the content box.,,Site - bbPress.org,2.6.9,normal,normal,bbPress.org,enhancement,new,has-patch,2022-03-17T06:04:59Z,2022-03-17T06:25:52Z,"When you open the [https://bbpress.trac.wordpress.org/] site on small size screen of the mobile. The content of the site on a screen of fewer than 370 pixels is coming out of the content box. Because of this, the design is getting a bit messy.
Site Link => [https://bbpress.trac.wordpress.org/]
I have created a video of the issue. its link is given below.
[https://www.loom.com/share/21805280912f4e9d93904de07c70155f]",aezazshekh
3449,margin issue in footer content,,Site - bbPress.org,,normal,normal,Awaiting Review,enhancement,new,,2022-03-15T13:29:35Z,2022-03-15T13:29:35Z,"In ([https://bbpress.trac.wordpress.org/newticket]) page, the footer content should have margin, so that the content is visible properly, right now the content is stick with body.
For better understanding I provide the screenshot",kajalgohel
3035,Add a dry-run option to Tools,,Tools,,normal,normal,Future Release,enhancement,new,dev-feedback,2016-12-18T16:48:29Z,2016-12-18T16:48:29Z,"In creating additional tools for #2959, it felt like it would be nice to have a dry-run options for the repair & upgrade tools.
We may need to extend WPDB to more easily accomplish this, otherwise we'd need to refactor all of our tools with individual dry-run variants, which seems like a lot of work for a universal concept.",johnjamesjacoby
2664,Repair functions don't reset the post cache,,Tools,,high,normal,2.8,enhancement,new,,2014-07-22T14:49:33Z,2017-06-19T14:02:15Z,"After a considerable amount of head scratching, I've realised that the repair functions do not reset the post cache, which I think they ideally should when making direct changes to the database via `$wpdb->query`.
In my particular situation this was necessary for recalculating reply counts as the site that I'm working on is already live (we have migrated data from a bbPress 1 installation).
Alternatively, perhaps the repair functions could be rewritten to work with loops and `update_post_meta()` etc. This would make them significantly slower but at the same time safer and less memory intensive.
For reference, I'm referring to the repair functions located in: `includes/admin/tools.php`",jacklenox
3100,System information page for support people,,Tools,,normal,normal,Future Release,enhancement,new,,2017-04-11T11:08:10Z,2017-04-12T08:30:04Z,"Working as a moderator on bbPress.org/forums I have to ask a lot: 'What is your WP and bbPress version', 'What is your theme', 'PHP version' ?
I think it would be a great idea to have a page inside bbPress that people could just open and copy/paste the info onto the support forum.
Proposal:
- /wp-admin/tools.php?page=bbp-sysinfo
- Data needed: WP version, bbPress version, Theme, PHP version, DB info, plugins installed, site URL (see picture)
Code for all of this could be found in my bbP Toolkit plugin as I'm doing the same there.",casiepa
2117,Topic Tag Admin Repair Tools,,Tools,2.2,normal,normal,2.8,enhancement,new,,2012-12-20T07:42:14Z,2017-01-30T06:25:11Z,"Currently bbPress 2.x has no 'Repair Tools' for Topic Tags
1. Count tags for every topic
2. Count topics for every tag
3. Remove empty topic tags (i.e Topic Count = 0)
bbPress 1.x includes 1. & 2. for re-counts http://bbpress.trac.wordpress.org/browser/tags/1.2",netweb
2584,Customise link text in paginate_links() for accessibility,,Tools - Code Improvements,trunk,normal,normal,2.8,enhancement,new,,2014-04-12T02:25:05Z,2014-09-09T19:27:35Z,"WordPress 3.9 introduced `before_page_number` and `after_page_number` arguments for `paginate_links()`, we should add these to bbPress' `paginate_links()` in search, replies and topics templates.
See #WP24709/[wp27600]",netweb
3528,This blank arrow is of no use. This should be removed.,,Tools - Code Improvements,,normal,normal,Awaiting Review,enhancement,new,,2023-02-08T13:47:27Z,2023-02-08T13:47:27Z,"When we open [https://codex.bbpress.org/getting-started/before-installing/backing-up-your-database-and-files/] page, the blank arrow in the sidebar's last menu on the left side of this page is of no use. So we should remove this unnecessary arrow menu.
Page Link => [https://codex.bbpress.org/getting-started/before-installing/backing-up-your-database-and-files/]",aezazshekh
3363,Use wp_die() instead of die() function,,Tools - Code Improvements,trunk,normal,normal,Under Consideration,enhancement,new,reporter-feedback,2020-04-05T16:57:20Z,2020-04-06T16:38:44Z,For plugin and coding standard need to use WordPress wp_die() instead of die(). ,immeet94
2341,Show a notice if the topic or reply auto spammed,,Tools - Warnings/Notices,2.3.2,normal,normal,2.8,enhancement,new,dev-feedback,2013-05-27T09:26:36Z,2014-09-09T19:27:35Z,"Hi, This become a really trouble in our forums... bbPress and Akismet are doing a great job to detect the spam topics/replies.
The problem is when a ""human"" post a reply/topic that marked automatically as a spam by Akismet, he think that something goes wrong and tried to post the topic/reply again and again !
Some users write the same topic/reply more than 10 times! and some users think that the key-master removes the topics/replies! So the admins always have to say that topic/reply was auto spammed.
An idea I can think about, Is to show the spammed topics/replies for the author with a red background ( the colour not important ) and a notice that says something like ""This Topic/Reply is auto spammed by Akismet""
What's your opinion?",alex-ye
1883,Smarter template notices,,Tools - Warnings/Notices,2.0,normal,normal,2.8,enhancement,new,,2012-07-03T19:23:52Z,2016-10-29T09:27:47Z,"Currently, the themes include several hardcoded template notices at the top of various forms and pages. Ideally, these should fall under one dedicated action or template tag, with a loose convention on how to add/remove/modify notices.
This has the positive side-effect of eliminating duplicate code, and strings in the template files themselves. For example, when searching for ""account has the ability to post unrestricted HTML"" - six results are displayed. This means changing it in 6 different places instead of only once in a function.
",alexvorn2
3318,"Add rel=""nofollow ugc"" to links in topics and replies",,API - Formatting,trunk,high,major,,enhancement,reopened,dev-feedback,2020-01-12T17:56:50Z,2021-01-03T11:31:32Z,Currently bbpress adds `rel=nofollow` to links in topics and replies. Following recent changes referenced at https://webmasters.googleblog.com/2019/09/evolving-nofollow-new-ways-to-identify.html and the precedent by WordPress Core at https://core.trac.wordpress.org/ticket/48022 we should add to the `rel` attribute the additional `ugc` value to indicate User-Generated Content. Attached is a patch to do just this based in part on WordPress Core's implementation.,diddledani
3321,Coding Standard: Duplicate Array Keys Found - src/includes/forums/functions.php,,General,2.6.3,normal,normal,,enhancement,reopened,has-patch,2020-01-13T09:37:16Z,2024-02-22T22:31:23Z,Coding Standard: Duplicate Array Keys Found - src/includes/forums/functions.php,ankitmaru
2649,Repair tools should also repair/recount sub forum count meta,,Tools,trunk,normal,major,,defect (bug),reopened,,2014-07-04T08:13:08Z,2019-08-10T14:11:35Z,"Currently the repair tools do not repair/recount `_bbp_forum_subforum_count` counts.
To ensure the accuracy/integrity of our forum meta we should do this.
The most common occurrence of forums not having this meta data is if the forums were imported.
",netweb
3457,bbp_get_total_users is wrong on multisite,,API,,normal,normal,Awaiting Review,defect (bug),new,,2022-04-07T03:24:59Z,2024-03-17T13:08:21Z,"bbp_get_total_users returns the total number of use4rs in the wordpress database. But this is extremely confusing on multisite as this is not the actual number of users on the site. Why not use:
$user_count = count_users();
return apply_filters( 'bbp_get_total_users', (int) $user_count['total_users'] );
This would lead to a much more logical number that does not confuse local administrators
",shawfactor
3436,register_meta() calls should use 'object_subtype' argument,,API,2.6.0,normal,normal,Awaiting Review,defect (bug),new,has-patch,2021-09-22T20:39:14Z,2024-02-24T03:51:16Z,"bbPress registers various meta keys, but doesn't set the 'object_subtype' argument:
https://bbpress.trac.wordpress.org/browser/branches/2.6/src/bbpress.php?marks=778-787#L768
Currently, this means any post that is published will receive the following meta keys regardless of bbPress post type:
- _bbp_topic_count
- _bbp_reply_count
- _bbp_total_topic_count
- _bbp_total_reply_count
- _bbp_voice_count
- _bbp_anonymous_reply_count
- _bbp_topic_count_hidden
- _bbp_reply_count_hidden
- _bbp_forum_subforum_count
I've attached a patch that only registers meta keys for the correct bbPress forum and topic post types.",r-a-y
3578,`$topic_author` may be incorrect after the 'bbp_new_topic_pre_insert' filter,,API - Actions/Filters,,normal,minor,Awaiting Review,defect (bug),new,,2023-08-03T03:13:13Z,2023-08-03T03:19:13Z,"If you use the `bbp_new_topic_pre_insert` filter to change the authorship of a post (See https://meta.trac.wordpress.org/ticket/6839 for a use-case) the following `bbp_new_topic` hook will fire with the incorrect data passed.
This is because the hook uses the data from before the filter was run.
As a workaround, one can simply use `bbp_get_topic_author_id( $topic_id )` instead of the passed `$topic_author` of the function.
Note: This applies equally to replies.
I've set the severity to minor, as although it's not ideal, this is not overly unexpected.",dd32
3401,Subscriptions still loading from user_meta,johnjamesjacoby,API - Engagements,2.6.5,normal,normal,Under Consideration,defect (bug),assigned,reporter-feedback,2020-09-29T11:03:25Z,2023-11-17T20:10:11Z,"We followed the forum tools data update for subscriptions by copying them from user_meta to post_meta but when debugging the code we find that it still loads the subscriptions from the user_meta table.
And when running the bbp_get_user_forum_subscriptions at the forum user profile page the function get_user_option_key in common/engagements.php returns the wrong key for forum_subscriptions since $object_id is 0. Instead it returns the topic_subscriptions key and later on then returns no forum subscriptions since it only gets topic_subscriptions in the return value.",Dermes
1816,feed title starts with the author and so you can't sort by title in feed reader,,API - Feeds,1.1,normal,normal,Future Release (Legacy),defect (bug),new,has-patch,2012-04-24T08:55:29Z,2017-01-11T20:07:26Z,"The topic title in bbpress rss feeds is “(author) on (title)” (or similar) which is really bad, because I can’t sort on title anymore. This is sort by author, because the author is the first string in the title.
And it is redundant, because there is a author field which I can see in my feed reader.
Maybe you can change this to “(title) – (author)” (or similar) - but with title in front, for sorting on title.",zodiac1978
3107,Parenthesis `(` / `)` in URLs causes unintended duplicate links,johnjamesjacoby,API - Formatting,2.0,normal,normal,Future Release,defect (bug),new,needs-unit-tests,2017-05-22T04:08:44Z,2017-05-22T17:51:59Z,"In the support forums, if you use this:
* `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx`
It escapes to this:
* `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx`
Originall reported by @cybr in Slack #meta https://wordpress.slack.com/archives/C02QB8GMM/p1495374031432056
----
A standard WordPress post results in the correct formatting:
* `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx`
When looking closer bbPress in fact is turning it into two links:
* ``
* and
* `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx`
I suspect the parenthesis might be getting tripped up in `bbp_make_clickable()`",netweb
2089,BuddyPress: bbPress1 importer doesn't check BP group status,netweb,API - Importers,2.2,normal,major,Future Release,defect (bug),new,has-patch,2012-12-07T23:38:52Z,2015-05-27T08:38:47Z,"The bbPress1 importer doesn't check to see what the BP group status is when it imports the forum.
So, the forum visibility for a private or hidden BP group forum will be imported as 'Public'.
After importing, if you navigate to a BP user's ""Forums > Topics Started"" or ""Forums > Replies Created"", you will be able to view private and hidden forum items.",r-a-y
2293,Group forums not working correctly,netweb,API - Importers,trunk,normal,normal,Future Release,defect (bug),new,reporter-feedback,2013-04-08T16:40:26Z,2015-03-23T23:27:34Z,"It looks like the issue can be created by:
1. Converting my vbulletin database to bbpress (2,000 users, 100k topics)
2. Turning on buddypress
3. Make a new parent forum for the groups. ( Usually called it “The Nation”)
4. Select group forums to be placed in “The Nation” in the buddypress options
5. Create 2 groups.
6. Move/create topic in each group.
You will see each group will share the same topics. If I make a new group, that group will have all the topics of the previous groups.
It’s not duplicating the topics, but rather the group forums just contain every thread from other group forums.
I have been testing everything for months with brand new installs, converting my database over several times with each release. The issue is consistent no matter which version.
I’d be happy to work with someone so that we can figure out the issue.
BBpress 2.3-rc1
Buddypress 2.7 beta 2
Wordpress 3.5.1
Multi site
Topic is also posted on the buddypress trac here:
http://buddypress.trac.wordpress.org/ticket/4886#comment:4
I’m not sure whether or not it’s a bbpress issue or a buddypress issue and I keep getting sent all over the place.",limitx3m
2600,Include docs and example custom callbacks in example.php importer,,API - Importers,2.5,low,minor,Future Release,defect (bug),new,,2014-05-15T04:16:34Z,2023-11-17T20:14:10Z,"Our `example.php` could do with some examples of the callbacks used throughout the other bbPress importers.
",netweb
2941,"Repair Tool notices should use WP's notices error, warning, success color scheme",,API - Importers,,normal,normal,Future Release,defect (bug),new,,2016-05-02T08:55:10Z,2016-05-02T09:07:21Z,"[[Image(https://cldup.com/L7rjQ7Zk8Q.png)]]
[[Image(https://cldup.com/k0NRI7HGDY.png)]]
Currently bbPress only supports `failed` and `success` statuses returned for each repair tool, that said, both failed and success both use `#46b450` green for the left border notice highlight.
The notices should reflect existing WordPress notices color scheme via [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/css/common.css#L1291 /wp-admin/css/common.css#L1291]
{{{
#!css
.notice-success,
div.updated {
border-left-color: #46b450;
}
.notice-success.notice-alt {
background-color: #ecf7ed;
}
.notice-warning {
border-left-color: #ffb900;
}
.notice-warning.notice-alt {
background-color: #fff8e5;
}
.notice-error,
div.error {
border-left-color: #dc3232;
}
.notice-error.notice-alt {
background-color: #fbeaea;
}
.notice-info {
border-left-color: #00a0d2;
}
.notice-info.notice-alt {
background-color: #e5f5fa;
}
}}}",netweb
3102,Reset forum showing a failed for Deleting Conversion Table,,API - Importers,trunk,normal,normal,Future Release,defect (bug),new,,2017-04-14T08:49:01Z,2017-04-14T09:33:59Z,"bbPress 2.6-Beta-2
I only created very few topics and replies, but a forum reset seemed the fastest way to get back to a clean install.
I was surprised to see a 'Failed' in the list. I suppose the message is because I have never done any conversion to bbPress so probably some tables do not exist, but still, seeing a 'Failed' for me means that something went wrong.
Is this intended ?",casiepa
2461,bbPress1.php importing spam topics & replies,netweb,API - Importers,2.4.1,low,normal,2.8,defect (bug),new,,2013-11-04T07:11:10Z,2014-09-09T19:27:35Z,"When importing with bbPress1.php (Either bbPress v1.2 or BuddyPress Group Forums) if a topic or reply is marked as spam then the importer will import all three as individual topics instead of one topic and two replies.
As we use `'join_expression' => 'USING (topic_id) WHERE posts.post_position IN (0,1)',` as the main expression to distinguish between topics and replies this is not ideal.
* A typical topic with two replies (you only need to take note of the last value for `post_position` on each line)
{{{#!sql
INSERT INTO `bb_posts` (`post_id`, `forum_id`, `topic_id`, `poster_id`, `post_text`, `post_time`, `poster_ip`, `post_status`, `post_position`) VALUES
(2, 2, 2, 1, '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
3202,import kunena forum version 5.0.11 to bbpress 2.5.14,netweb,API - Importers,,high,normal,Under Consideration,defect (bug),assigned,,2018-05-28T08:02:05Z,2019-11-09T19:08:14Z,"I am using the bbPress import tool but not work Below is the error we get when running the import tool that is provided in WordPress/bbPress.
********
Erreur de la base de données WordPress : [Table 'joomla.cp724_TagDiscussion' doesn't exist]
SELECT convert(TagDiscussion.DiscussionID USING ""utf8mb4"") AS DiscussionID,convert(TagDiscussion.TagID USING ""utf8mb4"") AS TagID,convert(Tag.Name USING ""utf8mb4"") AS Name FROM cp724_TagDiscussion AS TagDiscussion INNER JOIN cp724_Tag AS Tag USING (tagid) LIMIT 0, 100
",simou136
1928,nonrehashed user passwords,netweb,API - Importers,2.1.2,high,normal,Future Release,defect (bug),new,,2012-08-08T15:32:54Z,2012-08-20T01:39:15Z,"nonrehashed user passwords
in the phpBB user table there is a row named ""user_pass_convert"" - and this must be taken into account
it has a value 1 if user password is not fully rehashed
it means, that after user posted password, it will be hashed with md5, and only after that compared to the password hash
for example - when user first time log in to phpbb after that phpbb was upgraded from 2 to 3 - password is compared in that way (with md5 hash), and after that it is changed to the new password hash from password without md5 and updated in the database, also user_pass_convert is set to 0
now - if forum is updated from 2->3 - and that forum is converted to phpBB - password comparing always will fail
temporary fix for that (cause ALL user passwords are nonrehashed - no one logged in) is to put in converters/phpBB.php line $password = md5($password);
public function authenticate_pass($password, $serialized_pass) {
$password = md5($password);
$itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
$pass_array = unserialize($serialized_pass);
if (strlen($pass_array['hash']) == 34) {
return ($this->_hash_crypt_private($password, $pass_array['hash'], $itoa64) === $pass_array['hash']) ? true : false;
}
return (md5($password) === $pass_array['hash']) ? true : false;
}
in that function is check for old style passwords:
""if (strlen($pass_array['hash']) == 34) {""
but passwords are new hashes, and lenght will be 34 symbols, only those hashes will be from phpbbhashfunction(md5(password)) - sou comparing against phpbbhashfunction(password) will always fail, and converted users will not log in
",capsx
3392,Tool execution removes the single forums from the forum overview.,johnjamesjacoby,API - Installation/Upgrade,,normal,normal,Under Consideration,defect (bug),assigned,has-patch,2020-08-17T04:42:41Z,2020-12-01T07:06:12Z,"I run all tools of bbPress together. (WP Dashboard -> Menu -> Tools -> Forums)
After this, on the forum overview (http://mydomain.com/forums/) there are only the categories shown, not the single forums inside like before.
Should I make screenshots of this or did I explain it good enough?",peterkueger
2755,Banning,johnjamesjacoby,API - Moderation,,normal,normal,Under Consideration,defect (bug),assigned,dev-feedback,2015-02-09T00:37:23Z,2019-11-09T19:12:12Z,"I saw a review of the plugin [https://wordpress.org/plugins/thoughtful-comments/ Thoughtful Comments] on [http://wptavern.com/thoughtful-comments-plugin-adds-comment-moderation-links-to-the-frontend-of-wordpress WP Tavern]
A couple of the capabilities stood out that we currently do not offer, but could:
* Delete and Ban IP
* Delete Thread and Ban IP
When spamming a topic or reply we could add the IP to the banned list, though I think this might be ""too heavy handed"" behaviour by default.
Thinking a link for moderators/keymasters (maybe only keymasters) under the IP address of the topic/reply to ban said IP. Clicking said link would ban the IP and change all topic/reply statuses to spam.
",netweb
3353,Template notice not shown when a forum post is moderated,,API - Moderation,2.6.0,normal,normal,Awaiting Review,defect (bug),new,has-patch,2020-03-10T01:19:22Z,2021-01-03T09:25:42Z,"Related: #3349, #3352
When a forum post is auto-moderated (a.k.a. post status is `pending`), the user is not informed as to why the forum post failed to post. It just looks like the page refreshed.
Looks like this issue has been this way since v2.1.0, but hasn't really surfaced until now due to how the blog comment moderation settings are now inherited in v2.6.0.
To duplicate:
1. When logged-in as a regular user, attempt to create a forum post with two links on separate lines:
- * As a forum reply to a topic in any forum (BuddyPress group or regular forum)
- * As a forum topic in a BuddyPress group forum
2. Submit the form and you'll see no notice or forum post.
For regular forum topics that are moderated (those not connected to a BuddyPress group forum), a notice **does** show though.
----
There are two problems:
1. When `wp_insert_post()` is used in the post handlers, a `pending` post is still considered successful and no error checks are added.
2. When redirection occurs after the post is created (such as for BuddyPress group forums), the template notice will not persist because it's only meant for the initial pageload.
----
The attached patch fixes this for forum replies. There is one issue though; the template notice is displayed in the form and not above the fold:
[[Image(https://i.postimg.cc/HxX5HkhK/mod-reply-notice.png)]]
The notice should probably show up above the fold like the other template notices.
I haven't had time to look into the BuddyPress group topic problem yet, but I'll look into it soon.
",r-a-y
2660,bbpress Discussion Settings?,,API - Moderation,2.5.4,normal,minor,Future Release,defect (bug),new,,2014-07-21T01:27:12Z,2024-02-21T19:32:11Z,"I don't know if this is a bug or bbpress just don't use the rules within Discussion Settings of wordpress.
For example, ""Comment Moderation"" works perfectly and set the user reply in the forum to pending instead of public if one of the keyword is posted.
But if i want to do this:
'''Before a comment appears'''
Comment must be manually approved
Comment author must have a previously approved comment
The forum would set the reply to public even when those rules are applied?",echiomega
3365,variable mismatch on topic split,johnjamesjacoby,API - Moderation,trunk,normal,normal,Under Consideration,defect (bug),assigned,,2020-04-08T17:37:41Z,2021-01-12T11:24:14Z,"With the plugin 'theme my login' enabled, splitting a topic causes an error 'A variable mismatch has been detected'
Theme my login support state :
I’d suggest filing a bug report with bbPress. The issue is that TML registers ‘action’ as a public query variable with WP. WP has a check in WP::parse_request(), which ensures that all GET and POST values of public query variables match. If they don’t, it dies with the error message you are seeing. For whatever reason, bbPress uses a different action key depending on GET/POST context. In this specific instance, the GET value of ‘action’ is ‘split’. However, the POST value (set via hidden field in the form) is ‘bbp-split-topic’. This difference is causing the condition described above. In code:
{{{#!php
0,
'link_before' => '',
'link_after' => '',
'split_text' => esc_html__( 'Split', 'bbpress' ),
'split_title' => esc_attr__( 'Split the topic from this reply', 'bbpress' )
), 'get_topic_split_link' );
// Get IDs
$reply_id = bbp_get_reply_id( $r['id'] );
$topic_id = bbp_get_reply_topic_id( $reply_id );
// Bail if no reply/topic ID, or user cannot moderate
if ( empty( $reply_id ) || empty( $topic_id ) || ! current_user_can( 'moderate', $topic_id ) ) {
return;
}
$uri = add_query_arg( array(
'action' => 'bbp-split-topic',
'reply_id' => $reply_id
), bbp_get_topic_edit_url( $topic_id ) );
$retval = $r['link_before'] . '' . $r['split_text'] . '' . $r['link_after'];
// Filter & return
return apply_filters( 'rew_get_topic_split_link', $retval, $r, $args );
}
add_filter ('bbp_get_topic_split_link', 'rew_get_topic_split_link' , 10 , 3) ;
function rew_is_topic_split() {
// Assume false
$retval = false;
// Check topic edit and GET params
if ( bbp_is_topic_edit() && ! empty( $_GET['action'] ) && ( 'bbp-split-topic' === $_GET['action'] ) ) {
$retval = true;
}
// Filter & return
return (bool) apply_filters( 'rew_is_topic_split', $retval );
}
add_filter ('bbp_is_topic_split' , 'rew_is_topic_split' ) ;
}}}
",Robin W
2069,Anonymous users can always spectate,,API - Roles/Capabilities,2.2.2,normal,normal,Future Release,defect (bug),reopened,,2012-11-26T20:59:33Z,2013-11-07T01:21:55Z,"The spectate capability is not useful because anonymous users have it implicitly. Blocked users lose all forum access (including viewing) but can again read public forums after logging out. In addition to this nonsensical anonymous > blocked behavior, the inconsistent handing of the spectate cap means it cannot be withheld from anonymous users nor verified via allcaps or current_user_can().
This could be remedied by including the spectate capability in the blocked role and mapping that role to anonymous users. The role map and caps could of course be filtered for sites that need to prevent both anon and blocked users from spectating (or need blocked users to have some additional access beyond anonymous).",kevinB
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
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
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
2175,New Topic Form Shortcode Issue,,API - Shortcodes,2.2.3,normal,normal,Future Release,defect (bug),new,has-patch,2013-01-22T17:13:56Z,2016-01-11T20:50:10Z,"""I’m trying to implement a “Quick Post” box using the New Topic Form shortcode, [bbp-topic-form], but it seems non-admin users cannot post using the form (it says, “You cannot create new topics at this time.”). The same users can post a topic by actually going into the forums."" - original thread author
I am having this same issue; I created a “partner” page for /forums/ and put in the bbp-topic-index as well as the bbp-topic-form, but only admin users can use the create new topic form. I tried creating a custom template for this page but
{{{
echo do_shortcode('[bbp-topic-form]');
}}}
does nothing.",allenmccabe
2720,Can't filter email notification per user,,API - Subscriptions,,normal,normal,Future Release,defect (bug),new,,2014-11-11T01:56:14Z,2016-05-30T19:54:25Z,"Take a look here: https://bbpress.trac.wordpress.org/browser/trunk/src/includes/common/functions.php#L1278
{{{
$message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );
}}}
{{{
$subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, $user_id );
}}}
At that point, $user_id hasn't been set yet, so you can't access it inside the filter. It also triggers an ""Undefined Variable"" notice",alexander.rohmann
3360,Conflict in bbp_unsubscribe action with Buddypress,,API - Subscriptions,trunk,normal,normal,Awaiting Review,defect (bug),new,,2020-03-27T20:49:27Z,2020-03-27T20:49:27Z,"By default, **bbp_unsubscribe** action works fine both AJAX and link versions
For example:
The subscribe button on top of a forum is an AJAX version
The unsubscribe button in the ""subscription"" section within a user profile is a link version
By installing Buddypress the AJAX version works fine, but the link version breaks
This can be tested after installing Buddypress by subscribing to a forum and trying to unsubscribe by using the current nonce and the forum ID using the full URL with the adequate parameters (or just by going to the ->members->forums->subscription and trying to unsubscribe by pressing the button.
{{{
?action=bbp_unsubscribe&object_id=xxx&object_type=post&_wpnonce=xxxxxxxx
}}}
",SirLouen
3474,Subscriptions don't trigger for moderation-held topics/replies,,API - Subscriptions,,normal,normal,Awaiting Review,defect (bug),new,,2022-07-19T06:04:08Z,2024-03-20T00:59:04Z,"This was [https://meta.trac.wordpress.org/ticket/3674 reported 4 years ago for the WordPress.org Support Forums], but I believe it's a bug within the way forum/topic subscriptions work within bbPress with relation to moderation/anti-spam. I was unable to find a relevant bbPress ticket describing this.
In short..
- Forum notifications (`bbp_notify_forum_subscribers()`) is hooked to `bbp_new_topic` (and nothing else, nor is it called from elsewhere)
- `bbp_notify_forum_subscribers()` checks a topic is public before notifying, via [https://github.com/bbpress/bbPress/blob/4178cbf665674c128c928fabdc0322badacad06b/src/includes/common/functions.php#L1267-L1270 bbp_is_topic_public]
- `bbp_new_topic` is triggered from within `bbp_new_topic_handler()`, which is not called during unspam/approve flows.
Replies have a similar flow.
It seems like there needs to be a new action, `bbp_new_topic_published` which is triggered by being hooked to `bbp_{new,unspammed,approved}_topic`.
Alternatively, `bbp_notify_forum_subscribers()` should be hooked to `bbp_{unspammed,approved}_topic`. However, there is also the case where those actions should only run once per topic (ie. if it's published, unapproved, then re-approved, it wouldn't make sense to send a notification).
On WordPress.org, I've worked around this by triggering the action `bbp_new_topic` after unspamming/approving if it wasn't run with a published topic the first time. This is achieved by adding postmeta that specifies the action needs to be re-run. I took the direction of re-running actions, as we have a number of plugins which are hooked to that and bail if the topic isn't public. See https://meta.trac.wordpress.org/changeset/11978 for this implementation.",dd32
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
2725,bbp_has_topics is broken on the tag page,,API - Widgets,,normal,normal,Future Release,defect (bug),new,dev-feedback,2014-12-03T18:19:05Z,2017-06-08T01:07:41Z,"Hi,
There is a bug with bbp_has_topics loop. This loop works fine on all pages except the page of tag archive:
(http://www.???.com/forums/topic-tag/news/)
{{{
if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'paged' => 1 ) ) ) :
bbp_get_template_part( 'loop', 'topics' );
else :
bbp_get_template_part( 'feedback', 'no-topics' );
endif;
}}}
It doesn't show all recent global topic but it shows topics of 1 tag only.",Diabolique
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
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
3322,Login Widget: display issues with Twenty Nineteen/Twenty Themes,,Appearance - Theme Compatibility,,normal,normal,Awaiting Review,defect (bug),new,,2020-01-13T12:04:11Z,2020-01-14T00:27:02Z,"### Steps to reproduce
1. On a brand new site using the Twenty Nineteen or Twenty Twenty Theme, install bbPress
2. Add the login widget to your sidebar
3. While logged in, visit your site and view the sidebar.
You'll notice that the button text color is problematic (see attached gif).
I think it would be nice if the widget looked good out of the box with the current default WordPress theme.",jeherve
2823,User avatar in top left corner of topic at 480px or less if Reply Threading is enabled,,Appearance - Theme Compatibility,,normal,minor,Future Release,defect (bug),new,,2015-06-30T16:12:22Z,2016-05-31T07:00:17Z,"This issue has been mentioned before in the support forums by users. I initially thought it was because of the users theme conflicting with bbPress's stylesheet, but after messing with threaded replies lately this issue shows up because of the bbPress plugin.
[[Image(https://cldup.com/9-o4XAJwMW.jpg)]]",Robkk
1852,[Accessibility] Revert loop_topics.php and loop-forums.php back to using data tables in bbt-compat,,Appearance - Theme Compatibility,,high,major,Future Release,defect (bug),new,,2012-06-15T11:20:30Z,2023-11-17T20:25:56Z,"For accessibility, a mixture of the two approaches tables vs. lists would have been the optimum. And maybe that's still possible to do?
My suggestion would be this:
1. On the forums overview page, where there are forums, topics in each forum, etc., a table is '''the''' appropriate form to use. It has column headers, and each row consists of a data record AKA a single forum. For this, a data table, semantically a table with appropriate tags, is indeed the correct way to go! Not '''all''' tables are bad per se!
2. Same goes for the listings of topics within each forum. These have column headers, too, and each row tells the story about each topic. A perfectly legal and sanctioned use of tables!
3. The only part where a table is '''not''' appropriate for usage is when displaying a single topic with its replies. The TwentyTen bbPress theme definitely uses a data table semantics for layout purposes here, e. g. grouping a reply header, content, and footer together in a way that is clearly meant for layout. There are no column headers, and not every row tells a story about a single post. Instead, a post spans multiple rows, each with different information. '''This''' is what accessibility folks call layout tables, and these are banned by the W3C and hated passionately by each screen reader user on this planet. Topics and replies lump together in a big spaghetti-like table without a real distinction where one post ends and the next begins.
Converting this to more appropriate markup was the '''right''' thing to do. Converting the forums and topics listings, was '''not'''. A list item is a list item, and '''not a column header or table cell'''. In data tables, browsers' accessibility APIs can create correct linkage between a column header and the relating cell down in the table. The user can therefore hear if the number they're hearing is the number of voices, replies, the title or what. If these are done by lists as it is now, there is no way on this planet that this kind of essential linkage can be provided. There is simply no technique to do this.
The bbPress support forum uses a '''correct''' combination of data tables for the forum listing and topic listings, and otherwise appropriate markup for a topic and its replies.
I strongly request that this be put into the theme-compat of 2.1, or accessibility of bbPress will be '''significantly''' reduced in forum and topic listings!",MarcoZ
3487,bbPress block theme support,,Appearance - Theme Compatibility,2.6.9,normal,major,Awaiting Review,defect (bug),new,has-patch,2022-10-05T10:21:19Z,2023-04-17T10:10:23Z,"bbPress doesn't seem to currently support block themes. When testing with Twenty Twenty-Three and Twenty Twenty-Two, bbPress pages render a WSOD.
I believe it's related to the index.php file that's included with the theme, as it looks like it's possible to (sort of) fix some of the pages by including the following in this file:
{{{
wp_head();
block_header_area();
block_template_part( 'page-inner' );
wp_footer();
block_footer_area();
}}}
There is a related discussion in the support forums: https://bbpress.org/forums/topic/template-in-block-themes/
There is also a similar ticket for the BuddyPress plugin, which seemed to be related to the index.php file as well. I'm not sure if it helps as I can't find any similar logic in bbPress, but here's the ticket: https://buddypress.trac.wordpress.org/ticket/8474#comment:31
(Apologies if this has already been reported, I couldn't find a related issue.)",mikachan
1322,Post searches sometimes do not show results,,Back-end,1.1-alpha,normal,normal,Future Release (Legacy),defect (bug),new,,2010-08-05T12:32:06Z,2011-09-20T22:34:47Z,"Admin post listings are sometimes not showing the actual posts.
Attached a screenshot showing what I mean. You can see ""1 to 12 of 12"" in the corner (which is correct) yet the results pane shows ""no posts found"".
This does not just happen for the specific search shown, it also affects blank searches, or e.g. spam post status searches.",mrmist
1182,Register a view without a query,,Back-end,,normal,normal,Future Release (Legacy),defect (bug),new,has-patch,2009-08-20T16:00:03Z,2011-09-20T22:33:13Z,"On custom views I've been using a hacked up query to try to short-circuit the query. However there's no real way to prevent bbPress from doing some kind of query, which is a waste.
I'd like to see something like if a boolean ""false"" is passed, no query is executed for the view and the view handler simply is allowed to take over.",_ck_
1981,Update topic/replies count after subforums changed location,,Back-end,2.1,normal,normal,Future Release,defect (bug),new,,2012-10-17T19:57:49Z,2012-10-17T21:21:09Z,"Example:
We have a Forum A and it's only Subforum B.
If we change the parent of the Subforum B from Forum A to (No Parent), now Forum A (that is empty) has the count of topics and replies of the Subforum A. This is a bug.
",alexvorn2
1183,function bb_latest_topics_pages doesn't obey $bb_db_override,,Back-end,,normal,normal,Future Release (Legacy),defect (bug),new,has-patch,2009-08-20T17:48:28Z,2011-09-20T22:33:54Z,"When $bb_db_override is true, function bb_latest_topics_pages calculated the topic pages on it's own anyway, with it's own query, that doesn't even obey filters.
I propose when override is in effect, it looks at the old 0.9 bbpress global value `$total` which holds the total count.
(it's a huge waste in the first place to be re-doing that query when it's already calculated in the main query for the latest-discussions call. You aren't even obeying any filters that are active)
",_ck_
1501,slash and backslash problem on windows,,Back-end,1.1-alpha,normal,major,Future Release (Legacy),defect (bug),new,,2011-04-21T12:28:12Z,2023-11-17T20:25:58Z,"Some plugins that rely on bb_register_plugin_activation_hook have problems on Windows (such as [http://bbpress.org/plugins/topic/bb-attachments bbPress Attachments]).
The hook is called for user#plugin-folder/plugin-file.php, but the activation is made with user#plugin-folder\plugin-file.php. Slash - backslash problem.
bb_basename function returns the ""right"" path, but BB_Dir_Map class used in admin uses DIRECTORY_SEPARATOR constant to construct the path.
As far as I know, Windows doesnt mind if you're using slashes.",de-ce
3018,Invalid pagination or incorrect page is not giving 404 error,,Component - Any/All,2.0,high,normal,Future Release,defect (bug),new,,2016-11-07T12:45:42Z,2019-02-12T09:45:56Z,"Let say there are 28 topics in a forum and 10 are displayed per page. This means page 3 is the last page.
If there is somewhere a mistake in the theme or I try to go to /page/4 then I would expect a 404 or so (Core is giving a 404!), but no, I'm just getting the 'Oh bother'.
Also some SEO are not so happy about this either as it can create strange loops.",casiepa
2151,BuddyPress: Disabling search engines from indexing blocks activity items from recording,,Component - Forums,2.2,normal,normal,Future Release,defect (bug),new,dev-feedback,2013-01-06T04:48:30Z,2014-02-04T20:33:48Z,"The `bbp_is_site_public()` function is used in the `BBP_BuddyPress_Activity` class to determine if an activity item should be recorded into BuddyPress.
The problem with this is if a site owner chooses to hide their site by disabling search engines from indexing (under ""Reading Settings"" in the WP dashboard), no forum-related activity content will be recorded.
Note: This was tested on a single site install.
I chose not to submit a patch because I wasn't sure what the original intention behind this was. Let me know!",r-a-y
2957,"Can only edit ""top level forums on the front end, cannot edit nested forums",,Component - Forums,,normal,normal,Future Release,defect (bug),new,,2016-05-31T05:23:41Z,2016-05-31T05:23:41Z,"I just created a three level nest of category forums:
• `http://src.wordpress-develop.dev/forums/forum/top-category`
• `http://src.wordpress-develop.dev/forums/forum/top-category/second-category`
• `http://src.wordpress-develop.dev/forums/forum/top-category/second-category/third-category/`
Adding `/edit` only works for
• `http://src.wordpress-develop.dev/forums/forum/top-level-category/edit`
It does not work for:
• `http://src.wordpress-develop.dev/forums/forum/top-category/second-category/edit`
• `http://src.wordpress-develop.dev/forums/forum/top-category/second-category/third-category/edit`
Was thinking maybe this should work, but it also does not:
• `http://src.wordpress-develop.dev/forums/forum/second-category/edit`
• `http://src.wordpress-develop.dev/forums/forum/third-category/edit`
The same is replicated when using forums instead of categories.
Related: #2925",netweb
2338,Can't edit forums when forum count > 4000,,Component - Forums,2.1,high,normal,Future Release,defect (bug),new,reporter-feedback,2013-05-19T22:14:28Z,2013-05-23T14:50:02Z,"
I have bbPress installed that has 1 forum for each stock ticker (symbol). I currently have about 4500 forums each dedicated to a single stock.
When I go to: Dashboard -> Forums -> All Forums I get:
{{{
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
}}}
using Chrome.
Same result when using FireFox, IE, Safari, Opera (all current versions).
When I enter the url of the forum I want to edit into the address bar (i.e. https://www.***.com/forums/forum/n/nabd-north-american-building-inc/) and click ""Edit Forum"" in the toolbar, elements of the menu do not work or are missing (see attached image).
Accessing any existing forums still works and posting to existing forums is still possible.
I have tried everything I can think of, including:
1. Try default themes TwentyTwelve, TwentyEleven.
2. Barebones .htaccess file with only default WordPress section.
3. Moved wp-config.php back to default location (was moved ""up"" a level out of public_html).
4. Deactivated all plugins.
5. Reinstalled bbPress.
I did NOT make any configuration changes during the period of this error (except to add more forums).
=========================
WordPress Version: 3.5.1
bbPress Version: 2.3.2
Posts: ~24,000
Plugins:
1. Akismet
2. Bad Behavior
3. Configure SMTP
4. Duo Two-Factor Authentication
5. Quform
6. s2Member® Framework
7. Strictly Google Sitemap
8. WordPress Importer
9. WP-reCAPTCHA
10. WP to Twitter
11. Yet Another Related Posts Plugin
Thanks",joe.davola
2939,"Single forum view missing moderator ""view=all"" link to view forums trashed topics",,Component - Forums,,normal,normal,Future Release,defect (bug),new,,2016-05-02T07:47:12Z,2016-05-02T07:47:12Z,"If a forum contains only trashed topics the `+4 Hidden` ""view=all"" link is not included in the forum description template notice. This issue only occurs when all topics in a forum are trashed.
Below is a single forum with 4 trashed topics.
[[Image(https://cldup.com/g6ufocGkyG.png)]]
If 1 of the 4 topics is published, spam, or unapproved the correct `+3 Hidden` link to the `&view=all` single forum view works as expected.
[[Image(https://cldup.com/czymQjou8N.png)]]
The end result should be a view of the single forums 4 trashed topics:
[[Image(https://cldup.com/HyySXIDXpo.png)]]",netweb
2925,This forum is a category. No forums can be created in this forum.,,Component - Forums,2.5.8,normal,normal,Future Release,defect (bug),new,,2016-04-05T15:32:19Z,2016-05-31T05:24:12Z,"I am trying to add the interface using the shortcode to [bbp-forum-form], its working but when try to add the forum with a category as parent, it gives following error:
""This forum is a category. No forums can be created in this forum.""
Is it a bug or I am missing any thing here?",markt2016
3431,Twenty TwentyTheme Causes bbPress Main Forum Page to Display Text,,Component - Forums,2.6.6,high,critical,Awaiting Review,defect (bug),new,,2021-06-07T13:46:06Z,2023-11-17T20:25:50Z,"When the Twenty Twenty them is used and blog posts are set to excerpt, the forums display text instead of the forum posts.
I originally contacted the Twenty-Twenty theme creators about the issue. This is their response:
https://core.trac.wordpress.org/ticket/53147#comment:16",deborah86
3416,bbPress Date Issue on Search Results,,Component - Forums,2.6.6,normal,major,Awaiting Review,defect (bug),new,,2021-01-11T22:13:05Z,2023-11-17T20:26:03Z,"Our website is - https://www.thetreeofawakening.com/
Google does not see our date updates on the main forums - https://prnt.sc/ssescy
If we manually update the forum page in the backend, then Google recognizes the new date. https://prnt.sc/rmh2wy
New topics are added daily, but the search results only show the original date a forum was updated in the backend, not recognizing the daily topics that are added, which means the page has changed.
This page changes daily, but the date in the search results does not - https://prnt.sc/rmh1hs
We have a sitemap and rich snippets.
Any help would be much appreciated.
Thank you.",SamahAmber
2453,Search results and user's list of replies show replies from protected topics to everyone,,Component - Replies,2.4.1,normal,normal,2.8,defect (bug),new,,2013-10-21T09:54:24Z,2014-09-09T19:27:35Z,"The issue is about the replies in the password protected topics.
When a person enters the password protected topic name (or a part of it, or just some words that hidden replies can include) in the Search field, the forum shows the list of replies without any restrictions. While the title says that the topic is protected, the content of the reply is not hidden at all, and anyone can read it.
The link is like that: http://example.com/forum/search/my-search-words
The same is with the list of user's replies in their profile. Everyone can read all the replies, even those in protected topics.
The link is like that: http://example.com/forum/users/user_name/replies
I possess that replies from hidden topics should be either excluded from the search results and replies list at all, or their content should be hidden.",tatiana_k
3383,bbPress metadata not updated when using Oasis Workflow to publish replies,,Component - Replies,2.6.5,normal,normal,Awaiting Review,defect (bug),new,,2020-07-20T20:55:47Z,2020-07-20T20:55:47Z,"I am using bbPress version 2.6.5 and Oasis Workflow version 5.0 to develop a workflow that allows an admin to moderate and review a reply posted to a topic as pending before being allowed to be published. Everything works except for updating the meta data for the containing topic and forum once the reply is approved and published. In order to correct the topic and forum metadata I have added the following to a self-developed plugin that enables the bbPress rest-api and adds some additional fields to the returned rest-api JSON data. While this fixes it for me, I think that one or the other plugin should handle this problem so that others don't have the same problem and need to debug these issues.
{{{
/**
* Fires once a post has been saved.
*
* @param int $post_ID Post ID.
* @param WP_Post $post Post object.
* @param bool $update Whether this is an existing post being updated or not.
*/
function bbpress_update_post_meta($post_ID, $post, $updated = true) {
if ($updated) {
if ($post && ($post->post_type == bbp_get_reply_post_type())) {
bbp_update_reply($post_ID);
bbp_update_topic_reply_count($post_ID);
bbp_update_forum_reply_count(bbp_get_reply_forum_id($post_ID));
}
}
}
add_action( 'wp_insert_post', 'bbpress_update_post_meta', 10, 3 );
}}}
I am submitting this ticket to both bbPress and Oasis Workflow as I am not certain where the responsibility for this code should reside and I am not sure if I have captured all that needs to be done. Please let me know if you require more information.
Thank you for your help with this.
Vern Badham",vbadham
3524,Search is not working in the profile's engagement.,,Component - Search,,normal,normal,Awaiting Review,defect (bug),new,,2023-02-03T13:12:51Z,2024-02-12T17:49:03Z,"When we search from the engagement page of the profile, it is not working properly.
Page Link => [https://bbpress.org/forums/profile/robin-w/engagements/]
Issue Video Link => [https://share.cleanshot.com/DFTFWLk0myGDp98PHhFz]",aezazshekh
3516,The search functionality only works for single words,,Component - Search,,normal,normal,Awaiting Review,defect (bug),new,,2023-01-24T14:06:50Z,2023-01-31T06:01:59Z,"If we search the title of the topic in the forum search of [https://bbpress.org/forums/forum/plugins/] page, the result is not properly displayed.
URL => [https://bbpress.org/forums/forum/plugins/]
Issue Video Link => [https://share.cleanshot.com/Fhj9dqJbV1y4nj8mvDt7]",aezazshekh
3021,bbpress.org/forums search : Error with pagination,,Component - Search,,normal,normal,Future Release,defect (bug),new,needs-unit-tests,2016-11-17T19:36:31Z,2017-03-03T15:18:36Z,"When e.g. looking for 'RSS' on https://bbpress.org/forums (https://bbpress.org/forums/search/rss/), and then clicking the 2nd page, I'm redirected to https://bbpress.org/forums/search/page/2/ , but that's not the 2nd page of the search.",casiepa
2564,Topic Tags beginning with %,,Component - Topic Tags,2.5,low,minor,Future Release,defect (bug),new,,2014-03-14T22:02:25Z,2014-05-17T22:51:25Z,"If you try to assign a topic tag `%category%` the `%ca` will be stripped and the resulting topic tag will be `tegory%`
* `%cat` results in `t`
* `%cart% results in `rt%`
* `%feed%` results in `ed%`
* `%dead%` results in `ad%`
Yet `%heart%` and `%qwerty%` work as expected
Too early on Sat'day morning for me to think of a common denominator here
",netweb
2684,Depreciate function bbp_update_topic_topic_id(),,Component - Topics,,normal,normal,Future Release,defect (bug),new,,2014-09-10T22:41:43Z,2015-05-23T23:26:40Z,"Following on from a previos IRC chat on bbPress meta where we have posts saving their own post ID as meta.
----
Depreciate `bbp_update_topic_topic_id()` introduced in r2955
Called only by `bbp_move_reply_handler()`, `bbp_update_topic()` and `bbp_split_topic_handler()`
bbPress does not make any queries to get a topics `_bbp_topic_id` from postmeta
We should use `bbp_update_topic()` instead to update a topic",netweb
3268,Intentionally/permanently archived forum threads should return a 410 status,johnjamesjacoby,Component - Topics,,high,normal,Future Release,defect (bug),assigned,reporter-feedback,2019-10-31T12:08:23Z,2019-11-09T18:03:26Z,See https://meta.trac.wordpress.org/ticket/4458,jonoaldersonwp
3269,Invalid paginated support topic requests should return a 404,,Component - Topics,,normal,normal,Future Release,defect (bug),new,,2019-10-31T12:09:10Z,2019-11-09T17:49:25Z,See https://meta.trac.wordpress.org/ticket/4412,jonoaldersonwp
1642,Problems with pagination and sticky topics,,Component - Topics,2.0,normal,normal,Future Release,defect (bug),new,,2011-09-19T15:35:52Z,2015-02-23T10:17:49Z,"I have 3 topics and I set up 2 topics per page. One of three topics is also Sticky.
On first page there are shown all 3 topics (one is Sticky) and also link to second page (not needed - I can see all available topics on first page). Above topics is following problematic text:
{{{
Viewing 3 topics - 1 through 2 (of 4 total)
}}}
But I should see only 2 topics (not 3) and there are not 4 total topics (only 3).
This behaviour (combination of pagination and sticky topics) is very buggy, I guess...",pavelevap
3491,The content that is in the support topic in mobile size is not being displayed properly.,,Component - Topics,,normal,normal,Awaiting Review,defect (bug),new,,2022-10-18T11:43:53Z,2022-10-18T11:43:53Z,"When we open this [https://bbpress.org/forums/topic/disappearance-of-the-menu/] support topic in mobile size, then the text of the content gets cut a little bit. Because of this, the content is not displaying properly.",aezazshekh
2264,Why closed topics are not displaying properly?,,Component - Topics,2.2.3,normal,normal,Future Release,defect (bug),new,,2013-03-17T18:10:30Z,2013-03-18T18:39:29Z,"When you close a topic to new comments, topic display is totally changing. I tried with different themes, i tried on latest revision from trac but still same.
How to produce:
* Create a topic
* Close this topic to new replies
* Copy topic url
* Open a different browser or incognito window and go topic url
You will see only title and post content without any bbpress related info/style
",unsalkorkmaz
3429,bbp_increase_user_topic_count incorrect for first user post,,Component - Topics,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2021-05-17T17:02:35Z,2022-10-27T10:07:33Z,"bbp_increase_user_topic_count and bbp_increase_user_reply_count both incorrectly calculate the count for a first post by an author making it 2 not 1.
This is because the function looks at the user reply count, and if empty (as it will be for a first post) uses bbp_get_user_topic_count_raw to count the topics or bbp_get_user_reply_count_raw to count the replies.
It then increments this count by 1.
However since the topic or reply for that author has already been created by the time this bbp_get_user_topic_count_raw count happens, then it is counted here and then incremeted by 1 which makes it 2.
",Robin W
3230,scheduled stickies appear immediately,,Component - Topics,2.0,normal,normal,Future Release,defect (bug),new,needs-unit-tests,2018-11-20T19:27:30Z,2018-11-20T21:05:24Z,"If you schedule a sticky, it appears in the forum list immediately
{{{#!php
[https://bbpress.org/download/]",aezazshekh
1483,User search has problems with no role on large usersets,,Component - Users,1.1-alpha,normal,normal,Future Release (Legacy),defect (bug),new,,2011-02-26T18:52:49Z,2011-09-20T22:36:39Z,"Tested on bbPress 1.1-alpha-2855 (have not tested trunk).
For large user-lists, user search on the bb-admin/users.php screen doesn't work unless you choose a role. This is caused by a couple layers of code expecting something other than what they're getting.
Searching for ""otto"" for example, produces a URL like this:
bb-admin/users.php?usersearch=otto&userrole[]=
In users.php, this produces an input of $_GET['usersearch'] = ""otto"" and $_GET['userrole'] = array(0=>''). In other words, the userrole is not an empty array, but an array with a single empty string in it.
This in turn passes to BB_User_Search like so:
{{{
$bb_user_search = new BB_User_Search( @$_GET['usersearch'], @$_GET['page'], @$_GET['userrole'] );
}}}
Which then becomes the same non-empty array passed down through this code:
{{{
$roles = (array) $roles;
$_roles = array();
foreach ( $roles as $role ) {
if ( false !== $role ) {
$_roles[] = stripslashes( $role );
}
}
$this->roles = empty( $_roles ) ? false : $_roles;
}}}
Which then is passed to the bb_user_search function in functions.bb-core.php. Since the $roles is not empty, it doesn't pass false. End result is that it ends up querying the usermeta table for meta_value LIKE '%%'.
In MySQL, this basically returns every row with capabilities for the site in question. If the number of users returned happens to be vary large, then this bit:
{{{
if ( $user_ids ) {
$user_ids_sql = ""AND ID IN ("". join(',', $user_ids) . "")"";
}
}}}
Will produce a query way too big for mySQL to handle.
In the case I'm testing, it produced a query with about 1.7 million users in that IN statement. You can see the problem, I'm sure.
Using this code in a plugin fixed the problem by converting the ""no-role"" case into an empty case, thus preventing the role from playing any part in the query:
{{{
$role = @$_GET['userrole'];
if ( is_array( $role ) && $role[0] == '' ) {
unset($_GET['userrole']);
}
}}}
However, this is a hacky workaround. The query shouldn't be pulling the user list and stuffing into an IN selection like that. A JOIN would be better, or at least a LIMIT selection based on the viewed page would be preferable.
",Otto42
3570,Check PHPcs Coding standard,,Extend,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2023-06-16T07:42:13Z,2023-06-16T07:42:13Z,"Hello Team,
I have reviewed the code and found PHPcs errors & warnings in some of the files:
Here, I mentioned all those files:
src/bbpress.php
src/templates/default/extras/taxonomy-topic-tag.php
src/templates/default/extras/taxonomy-topic-tag-edit.php
src/templates/default/bbpress-functions.php
src/includes/admin/settings.php
Thanks,",viralsampat
3434,"Akismet catches spam for moderator, but moderators are able to bypass spam",,Extend - Akismet,2.0,normal,normal,Awaiting Review,defect (bug),new,dev-feedback,2021-07-28T05:12:16Z,2021-07-28T05:12:30Z,"In the Akismet module, moderators are able to bypass Akismet checks:
https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211
However, if Akismet catches a post written by a moderator as spam, the following is listed in the ""Akismet History"" metabox with two entries:
- Akismet caught this post as spam.
- Post status was changed to publish.
See:
https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L578-L599
Perhaps changing the second log entry from ""Post status was changed to publish"" to ""Akismet spam check overruled. Post status was published because user is a moderator"" would be more clear and appropriate.
",r-a-y
3580,delete_orphaned_spam_meta() has a bug that causes it to loop forever whenever it runs,,Extend - Akismet,2.6.9,high,major,Awaiting Review,defect (bug),new,has-patch,2023-08-08T09:45:48Z,2024-02-15T07:38:05Z,"The {{{delete_orphaned_spam_meta()}}} function inside {{{bbpress/includes/extend/akismet.php}}} will run forever when there are orphaned post meta keys, because the query keeps searching for orphaned post meta keys by batches of 1000 and deleting them. But there is a check to ignore meta keys that do not start with {{{akismet_}}}.
What happens then is that, if you have any orphaned post meta keys that do not start with 'akismet_', the method will run forever until the max_execution_time expires, because the query finds the rows, but is unable to delete it.
I propose to add the 'akismet_' check into the SQL query, like so:
{{{ AND m.meta_key LIKE 'akismet\\_%' }}}
And removing the following check:
{{{#!php
// Skip if not an Akismet key
if ( 'akismet_' !== substr( $spam_meta->meta_key, 0, 8 ) ) {
continue;
}
}}}
This will prevent the function from looping forever.
Also, since this function finds orphaned {{{bbp_}}} post meta too, we may want to add this so that it finds both orphaned Akismet and BBP post metas:
{{{ AND m.meta_key LIKE 'akismet\\_%' OR m.meta_key LIKE '\\_bbp\\_%')}}}
Here is the final edited code:
{{{#!php
public function delete_orphaned_spam_meta() {
global $wpdb;
// Get the deletion limit
$delete_limit = $this->get_delete_limit( '_bbp_akismet_delete_spam_orphaned_limit' );
// Default last meta ID
$last_meta_id = 0;
// Start time (float)
$start_time = isset( $_SERVER['REQUEST_TIME_FLOAT'] )
? (float) $_SERVER['REQUEST_TIME_FLOAT']
: microtime( true );
// Maximum time
$max_exec_time = (float) max( ini_get( 'max_execution_time' ) - 5, 3 );
// Setup the query
$sql = ""SELECT m.meta_id, m.post_id, m.meta_key FROM {$wpdb->postmeta} as m LEFT JOIN {$wpdb->posts} as p ON m.post_id = p.ID WHERE p.ID IS NULL AND m.meta_id > %d AND (m.meta_key LIKE 'akismet\\_%' OR m.meta_key LIKE '\\_bbp\\_%' ORDER BY m.meta_id LIMIT %d"";
// Query loop of topic & reply IDs
while ( $spam_meta_results = $wpdb->get_results( $wpdb->prepare( $sql, $last_meta_id, $delete_limit ) ) ) {
// Exit loop if no spam IDs
if ( empty( $spam_meta_results ) ) {
break;
}
// Reset queries
$wpdb->queries = array();
// Reset deleted meta count
$spam_meta_deleted = array();
// Loop through each of the metas
foreach ( $spam_meta_results as $spam_meta ) {
// Skip if not an Akismet key
__if ( 'akismet_' !== substr( $spam_meta->meta_key, 0, 8 ) ) {
continue;
}__
// Delete the meta
delete_post_meta( $spam_meta->post_id, $spam_meta->meta_key );
/**
* Perform a single action on the single topic/reply ID for
* simpler batch processing.
*
* @param string The current function.
* @param int The current topic/reply ID.
*/
do_action( '_bbp_akismet_batch_delete', __FUNCTION__, $spam_meta );
// Stash the meta ID being deleted
$spam_meta_deleted[] = $last_meta_id = $spam_meta->meta_id;
}
/**
* Single action that encompasses all topic/reply IDs after the
* delete queries have been run.
*
* @param int Count of spam meta IDs
* @param array Array of spam meta IDs
*/
do_action( '_bbp_akismet_delete_spam_meta_count', count( $spam_meta_deleted ), $spam_meta_deleted );
// Break if getting close to max_execution_time.
if ( ( microtime( true ) - $start_time ) > $max_exec_time ) {
break;
}
}
// Maybe optimize
$this->maybe_optimize_postmeta();
}
}}}
",terresquall
3587,param Should Add After global as per as per PHP Documentation Standards,,Extend - Akismet,trunk,normal,minor,Awaiting Review,defect (bug),new,has-patch,2023-11-14T14:42:13Z,2023-11-17T10:02:33Z,In includes/extend/akismet.php file **@param** Should Add After **@global** Instead of before **@global** as per [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php PHP Documentation Standards],shailu25
2888,BuddyPress Group Forum Feeds Are Not Using Correct URL,,Extend - BuddyPress,,normal,normal,Future Release,defect (bug),new,,2015-10-30T09:12:27Z,2024-02-12T17:20:19Z,"A user has discussed in the forums [https://bbpress.org/forums/topic/where-is-rss-for-topics/ here] wondering where is the feed for the forum in the group.
I was wondering the same thing as going to
{{{
localhost/groups/groupname/forum/feed/
}}}
seemed like it should work...but it doesn't. The user has to go to the original forum feed url, which would be something like this.
{{{
localhost/forums/forum/feed/
}}}
",Robkk
3328,BuddyPress activity update not working when editing topic or replies,r-a-y,Extend - BuddyPress,2.6.0,normal,normal,Under Consideration,defect (bug),assigned,dev-feedback,2020-01-18T03:10:17Z,2021-01-04T06:40:36Z,"If you edit a bbpress topic or reply the corresponding BuddyPress activity entry is not updated. The bug is in includes/extend/buddypress/activity.php lines 507, 645.
Even if revisions are enabled !post_type_supports( bbp_get_reply_post_type(), ‘revisions’ ) is true.",michael8888
2869,BuddyPress notification bug for hierarchy replies,,Extend - BuddyPress,,normal,normal,Future Release,defect (bug),new,needs-unit-tests,2015-09-30T23:23:02Z,2016-05-31T06:46:13Z,"A user has seemed to find a bug where they get BuddyPress notifications for when they reply while reply threading is enabled.
While testing it seems to be more buggy than I thought at first.
Here is the topic the user reported the issue.
https://bbpress.org/forums/topic/problem-with-forum-reply-notifications/",Robkk
3430,BuddyPress: Pending group topics cannot be viewed,,Extend - BuddyPress,2.2,normal,normal,Awaiting Review,defect (bug),new,has-patch,2021-06-02T23:36:31Z,2021-06-03T21:18:51Z,"One of our users reported that pending group topics cannot be viewed on the frontend.
The problem is the topic lookup within a BuddyPress group forum looks against the post name: https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/buddypress/groups.php#L1033. A pending topic does not have a post name, so the lookup fails.
Attached is a patch, which fixes this by changing a pending group topic's slug to `'pending-{$topic_id}'` and switches up the logic to query pending group topics by the post ID.
This is related to the other moderation tickets: #3349, #3353.",r-a-y
3426,Fatal error: Uncaught Error: Class 'BBP_BuddyPress_Activity' not found,johnjamesjacoby,Extend - BuddyPress,2.6.6,normal,normal,Under Consideration,defect (bug),assigned,reporter-feedback,2021-03-16T14:55:47Z,2021-03-25T03:46:55Z,"WordPress version: 5.7
bbPress Version 2.6.6
Client wanted to disable the activity stream, went to Dashboard > Settings > BuddyPress > Components > Activity Streams and Unticked the option. When he hit save it said There has been a critical error on this website and the entire website (including admin dashboard) was unreachable/unusable (only returning this error).
After enabling debugging info, I received the following error (paths sanitized for security):
{{{
Fatal error: Uncaught Error: Class 'BBP_BuddyPress_Activity' not found in public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php:153 Stack trace:
#0 public_html/wp-includes/class-wp-hook.php(292): BBP_Forums_Component->setup_components('')
#1 public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#2 public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(267): do_action('bp_init')
#4 public_html/wp-includes/class-wp-hook.php(292): bp_init('')
#5 public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#6 public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#7 public_html/wp-settings.php(560): do_action('init')
#8 public_html/wp-co in public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 153
}}}
I was able to temporarily resolve the issue by patching the following function (wp-content/plugins/bbpress/includes/extend/buddypress/loader.php):
Line 153 being the ""new BBP_BuddyPress_Activity()"" line.
{{{
/**
* Instantiate classes for BuddyPress integration
*
* @since 2.0.0 bbPress (r3395)
*/
public function setup_components() {
// Always load the members component
bbpress()->extend->buddypress->members = new BBP_BuddyPress_Members();
// Create new activity class
if ( bp_is_active( 'activity' ) ) {
bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity();
}
// Register the group extension only if groups are active
if ( bbp_is_group_forums_active() && bp_is_active( 'groups' ) ) {
bp_register_group_extension( 'BBP_Forums_Group_Extension' );
}
}
}}}
Patched code:
{{{
// Create new activity class
if ( bp_is_active( 'activity' ) ) {
// Temporary patch!
if ( ! class_exists( 'BBP_BuddyPress_Activity' ) ){
require_once(dirname(__FILE__).'/activity.php');
}
bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity();
}
}}}
Let me know if there's any additional information that would be helpful.
",jasonrush
3004,Participants can't view topics list when using bbp-single-forum shortcode of a Private Group Forum from a Private Group,,Extend - BuddyPress,2.5.10,normal,normal,Future Release,defect (bug),new,needs-unit-tests,2016-09-30T03:41:21Z,2017-03-03T14:12:43Z,"Hello,
Ran into this obscure bug with my configuration and confirmed on a fresh install.
If you have a Private Group associated with a Private Forum and embed that forum in a page using the shortcode ([bbp-single-forum id=#]) then members of that group (forum participants) can't see the Topics listing. Admins and Mods seem to be able to.
To reproduce;
Install Wordpress, bbPress, Buddypress
Enable Groups
Create Group w/ Forum
Make Group Private
Make Forum Private
Create some Topics on Forum
Embed Forum in Page - [bbp-single-forum id=#]
Add member to Group with participant role.
Switch to group member
Navigate to page
You should see the Topic listing (If you go to the Group Forum Directly you will), but instead it's not rendered because bbp_has_topics is false)
The forum embed does show the topic form so you can create topics but you won't see them listed unless you go to the group forum.
Potential correlation - @netweb pointed out this possibly related issues - #2639, #2599, #459
Let me know if you need help reproducing or investigating.
Thanks",garrett-eclipse
3435,Please use _n() in order to handle plural forms correctly,,Extend - BuddyPress,trunk,normal,normal,Awaiting Review,defect (bug),new,,2021-08-19T23:20:03Z,2021-08-19T23:20:03Z,"English has a very simple structure for plural handling when there is a number in a string that count stuff:
If ''n'' = 1 then use singular. In all other cases, use plural.
So many developers tend to just ""test for 1 or more than 1"" and if the number is higher than 1, then they'll create something with printf(), like ""You've got ''n'' new emails!""
However, this will create problems with many languages that have more complicated structures for handling of strings that include numbers to count stuff.
In Russian, for instance, there are three cases:
""Singular"" is used not only for 1, but also for 21, 31, 41, i.e. anything that ends in 1 (except the special case 11)
""Dual"" is used for numbers that end in 2, 3, 4, 22, 23, 24, i.e. anything that ends in 2, 3 or 4 (except the special cases 12-14).
""Plural"" is used for everything else 0, 5-20, 25-30...
If you think this is complicated, then have a look at Arabic. For every string with _n() they translate it into 6 (six!) different versions, depending on the number. See for yourself at https://translate.wordpress.org/projects/wp/dev/ar/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=12071412&sort%5Bby%5D=translation_date_added&sort%5Bhow%5D=asc
So with our example string above, the translator would be forced to choose one of these three forms and accept that the translation will be incorrect in many cases... or try to rebuild the string, perhaps by saying something like ""You've got new mails: ''n''"".
But there IS a good and elegant solution for this. _n()
(And nowadays we can use a similar function in Javascript!)
I stumbled upon a place in bbPress trunk where this needs to be fixed:
https://plugins.trac.wordpress.org/browser/bbpress/trunk/includes/extend/buddypress/notifications.php#L89
{{{#!php
1 ) {
filter = 'bbp_multiple_new_subscription_notification';
$text = sprintf( esc_html__( 'You have %1$d new replies to %2$s', 'bbpress' ), $action_item_count, $topic_title );
}}}
Note: It's still often nice to keep the test for ""1"" in the code and have a different string in that case. Something like ""Hey, there's a new mail waiting for you.""
I was verbose here so that this ticket could be used for reference in the future. There may be more occurrences of this problem in bbPress, I didn't search for more.",tobifjellner
3576,Prepare bbPress for BuddyPress 12.0.0,,Extend - BuddyPress,trunk,normal,normal,Awaiting Review,defect (bug),new,has-patch,2023-07-23T16:43:59Z,2024-02-27T18:41:04Z,"BuddyPress 12.0.0 will change how URL parsing is done / BP Links are built using the WordPress Rewrite API.
You'll find in the attached patch my suggestions to have bbPress ready for BuddyPress 12.0.0 and still back compatible with previous versions of BuddyPress.",imath
2929,Redirect Original Topic URL to New URL when Topic Moved (Buddypress Group Forum),,Extend - BuddyPress,,normal,normal,Future Release,defect (bug),new,needs-unit-tests,2016-04-13T20:05:17Z,2017-03-03T14:41:30Z,"Hello,
Discussed this with @thebandonallen over slack so will share that conversation.
Basically I have a topic that resided within a Buddypress Group Forum which I moved to a bbPress stand-alone forum. The url for the original topic doesn't redirect to the new location and just shows the no topics message 'OH BOTHER! NO TOPICS WERE FOUND HERE!'.
Would love the system to either auto-forward to the topics new location, or provide a contextual notice indicating this topic has been moved and provide a link to the new location within the message.
Full Slack Thread with @thebrandonallen;
garrett-eclipse [12:25 PM]
Hey Guys, wondering if there’s anyway to redirect an original topic url to a moved topic url. So I move a topic from one forum to another, but when people go to the original url right now it says oh bother no topics found, would like to either auto redirect or provide a link to the new location. Is this even possible?
thebrandonallen [12:32 PM]
Is this in a BuddyPress group forum?
[12:32]
If you’re using default /topic/topic-title/ pretty urls, everything should be fine.
garrett-eclipse [12:32 PM]
I moved it from a BP Group Forum into a BBP standalone forum
thebrandonallen [12:33 PM]
Hmm…
[12:33]
So you moved just the topic, right?
garrett-eclipse [12:34 PM]
And yes should be that way.
Original URL - https://ljlee.ca/groups/attendee/a_series_vancouver_2015/forum/topic/course-organization-comments/
*Not accessible unless logged in
New URL - https://ljlee.ca/forums/topic/course-organization-comments/
*Is private topic
[12:34]
Yup just the one topic, topic-slug stays the same, etc.
[12:35]
I found a trac ticket about merging topics and the _wp_old_slug meta and wp_old_slug_redirect
https://bbpress.trac.wordpress.org/ticket/2329
But I don’t see that meta in my instance
thebrandonallen [12:36 PM]
I believe that meta would only be there if you merged the topic, not if you moved it to another forum
garrett-eclipse [12:37 PM]
thx, and I guess even if it existed the original url wouldn’t have any reference to know what topic used to live there
thebrandonallen [12:41 PM]
I think the problem is the group still exists, it’s just that the topic was moved.
[12:42]
bbPress filters `redirect_canonical` to handle the group links, but doesn’t account for the topic to have been moved somewhere else.
[12:43]
Which is why `redirect_canonical` isn’t redirecting to the new location.
[12:43]
Sounds like a bug to me. Can you open a ticket on Trac so we can investigate further?
garrett-eclipse [12:44 PM]
Thanks Brandon, definitely can. Would I open under bbPress or BuddyPress?
thebrandonallen [12:47 PM]
I think it’s on bbPress’ end, so do it there. Thanks!
Appreciated,
Cheers",garrett-eclipse
3452,Spacing missing in the whole main container.,,Extend - BuddyPress,,normal,normal,Awaiting Review,defect (bug),new,,2022-03-17T07:22:31Z,2022-03-17T07:22:31Z,On checking the whole site you will notice that the main container has no left and proper spacing due to which the content will touch the left and right part of the screen.,hilayt24
3454,Unsubscription action does not work when used with BuddyPress,,Extend - BuddyPress,,normal,normal,Awaiting Review,defect (bug),new,,2022-03-22T11:55:20Z,2022-09-23T14:48:48Z,"On the susbcriptions page, the tables of subscribed topics and forums contain ""x"" links to unsubscribe. These appear not to work when Buddypress is installed. On click the subscription reloads with no action having been taken.
The class `BBP_BuddyPress_Members` contains this code:
{{{#!php
// Move handler to 'bp_actions' - BuddyPress bypasses template_loader
remove_action( 'bbp_get_request', 'bbp_subscriptions_handler', 1 );
add_action( 'bp_actions', 'bbp_subscriptions_handler', 1 );
}}}
The method `bbp_subscriptions_handler` takes a single argument `$action`. However, this is not set in a buddypress context as the `bp_actions` action is called as `do_action( 'bp_actions' );` without arguments.
An easy fix would be to read the `$_GET` directly in `bbp_subscriptions_handler`.
",bradleyt
2590,bbp_body_class filter incorrectly marking BuddyPress user account screens,,Extend - BuddyPress,,low,normal,2.8,defect (bug),new,,2014-05-01T12:21:42Z,2014-09-09T19:27:35Z,"In the rendered wp body classes output we see the class .bbpress when we are looking at bp_is_user() screens ( buddypress user accounts) which causes issues if one is using that class for any layout management.
In templates.php bp_body_class() L:905 the function ends on a generic class .bbpress if $bbp_classes[] is not empty so at a guess one of the previous checks under the 'User' section perhaps needs modifying?
{{{#!php
elseif ( bbp_is_single_user() && 'forums' == bp_current_component() ) {
$bbp_classes[] = 'bbp-user-page';
}}}
However not entirely sure the purpose of that 'User' section if I do above then I get the second block 'bbp_is_user_home()' push through 'bp-user-home' not previously visible.
Although I suspect not, if this 'User' section in the class filter is in respect of BP user account screens only I think the logic in determining what classes are shown might be flawed or at least need the above mentioned component check to prevent the classes appearing on all bp_is_user() screens.
",hnla
2287,private site: No activity recorded on new topics/replies,,Extend - BuddyPress,trunk,low,minor,Future Release,defect (bug),reopened,,2013-04-03T12:08:40Z,2023-11-17T20:13:04Z,with r4831 there is no buddypress activity for new topics and new replies recorded anymore.,wdfee
1565,HTTPS URLs aren't generated as expected,,Front-end,1.1-alpha,high,major,Future Release (Legacy),defect (bug),new,,2011-06-22T18:54:39Z,2023-11-17T20:25:02Z,"bbPress doesn't generate HTTPS URLs if page is visited over HTTPS and SSL is not forced. This is very different that in WordPress where in cases like this all internal URLs generated by WordPress core functions are over HTTPS.
You can compare https://wordpress.org/news/ and https://wordpress.org/support/ . As you can see, at the first page all URLs are over HTTPS except those that are hardcoded.
This means that even if user visits page over HTTPS, bbPress will still generate HTTP URLs which makes it even worse than with plain HTTP.
Yesterdays issue over at wp.org shows that this is a serious thing and this should be fixed no matter what is a future of bbPress standalone since its still heavily used on wordpress.(org|com).
By inspecting the code, I believe that this will be solved with a change in bb_get_uri() function since URL generation depends on this. After [https://bbpress.trac.wordpress.org/browser/trunk/bb-includes/functions.bb-core.php?rev=2451#L564 this logic] there should be elseif function with a [https://core.trac.wordpress.org/browser/trunk/wp-includes/link-template.php?rev=18254#L2106 code] from WordPress.
I can't test this right now (and create a patch) so take that into account.
Related ticket: #715",dimadin
1159,XSS XHR Security Violation on SSL/HTTPS.,,Front-end,,normal,major,Future Release (Legacy),defect (bug),new,,2009-07-21T16:07:20Z,2023-11-17T20:25:04Z,"XSS XHR Security Violation on SSL/HTTPS.
I understand SSL with the current release is NOT guaranteed yet however when the time comes this should be looked at.
I've flagged this with 'major' severity as it's a security issue and I believe these by default should be above normal.
'''Ajax triggers XSS security violation in the following browsers:'''
Opera
Chrome (current stable - trunk as of 7.21.2009)
Safari (current stable - trunk as of 7.21.2009)
WebKit (current stable - nightly build as of 7.21.2009)
'''Browsers that allow ajax to run:'''
I.E. 6
FireFox 2.X
'''Untested:'''
I.E. 7, 8, 9 :-)
'''Types of Ajax Actions which this occurs:'''
- Favorites add/remove
- User topic reply delete/undelete Ajax triggers WebKit Browsers and others.
'''Stack (Latest Stable as of 7.21.2009):'''
WPMU 2.8.1 >> bbpress 1.0.1 >> Integration Plugin
'''Additional Notes:'''
- You need to define both SSL options in both wp-config, bb-config.
- You need to edit integration plugin, manually flagging secure=true as secure cookies aren't generated in current version.
'''Debugging Info:'''
- I've only (at this time) debugged upto the xhr.send().
- Error is caught by jQuery in catch block, with ""Security Violation"" being the only indicator.
- Will continue debugging when there is free time.
'''Forum Post with additional info:'''
http://bbpress.org/forums/topic/chromesafari-webkit-javascriptajax-issues
- Jason Giedymin",Jason_Jm
3033,Add PHP 7 compatibility for existing bbpress sites,xknown,General,,normal,normal,Future Release (Legacy),defect (bug),new,,2016-12-09T13:27:48Z,2017-01-06T06:01:09Z,"There are a few compile time errors in the codebase as well as a bunch of deprecated notices when bbpress is used under PHP 7.
This happens on the latest bbpress version (see #2973) as well as the 1.1 and 1.2 branches.",xknown
3307,Add `README.md` file to the project root,,General,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2019-12-15T01:20:53Z,2019-12-21T00:56:09Z,"It would be good to have a README.md file in the project root as shortly there will be a Git mirror of `git://bbpress.git.wordpress.org/` at https://github.com/bbPress/bbPress and it looks a little bare without this file on GitHub
Uploading the previous file I had on my mirror, it's out of date, but has some info we may want to copy over before I delete my mirror
https://github.com/ntwb/bbPress/blob/master/README.md",netweb
3558,BBPress iframe does not responsive on mobile device.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-05-18T16:25:01Z,2023-05-18T16:25:01Z,"I have reviewed many pages on mobile devices and found the iframe does not responsive. Please check below all the attached a screenshot for more understanding.
Also, check the below all pages.
Screenshot: https://share.cleanshot.com/qLrmkKRqXPRB9YP1xL4W
Pages:
- https://bbpress.org/forums/topic/bbpress-2-6-5-is-out/
- https://bbpress.org/forums/topic/before-posting/
- https://bbpress.org/forums/topic/bbpress-2-6-6/",upadalavipul
3494,"Bump ""Tested up to"" version to the latest WordPress version",,General,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2022-10-22T15:36:40Z,2023-06-09T16:16:05Z,"bbPress plugin url: https://wordpress.org/plugins/bbpress/
Currently in this plugin page, Tested up to is 5.9.5
We need to bump this version to the latest version of WordPress (which is 6.0.3) at the moment.
Note: 6.1 is coming on November 1, 2022.",robinwpdeveloper
3571,Check PHPcs Coding standard not having proper escaping function,,General,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2023-06-16T08:55:21Z,2024-02-16T09:47:42Z,"Hello Team,
I have reviewed the code and found PHPcs errors & warnings in some of the files:
Here, I mentioned all those files:
/wp-content/themes/bbpress-org/bbpress/form-topic.php
/wp-content/themes/bbpress-org/header-front.php
/wp-content/themes/bbpress-org/page-plugins.php
/wp-content/themes/bbpress-org/sidebar.php",himshekhar07
3589,Deprecated Warning,,General,2.6.9,normal,normal,Awaiting Review,defect (bug),new,,2023-12-06T13:23:36Z,2023-12-06T13:23:36Z,"
Deprecated Creation of dynamic property BBP_Forums_Component::$members is deprecated
wp-content/plugins/bbpress/includes/extend/buddypress/loader.php:149
Deprecated Creation of dynamic property BBP_Forums_Component::$activity is deprecated
wp-content/plugins/bbpress/includes/extend/buddypress/loader.php:153
Active plugin set
bbPress
BuddyPress
Query Monitor
https://prnt.sc/GbzH3V6xy-Ac",vapvarun
3556,"Docs: Improve various globals documentation, as per docblock standards.",,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-05-09T14:07:27Z,2023-05-09T14:07:27Z,"Function commenting details needs to improve.
File Names:
- src/includes/core/update.php
- src/includes/extend/akismet.php
- src/includes/extend/buddypress/members.php",upadalavipul
2418,Error in bbp_get_user_subscribe_link function,,General,trunk,normal,normal,Future Release,defect (bug),new,,2013-09-10T09:09:09Z,2013-09-14T00:26:03Z,"Hi,
the ""before arg"" doesn't really work. Infact if you declare it, then, when you will press ""favorite"" link, it will come back to its default value in includes/users/template.php, "" | ""
To try use the following code:
bbp_user_subscribe_link( array( 'before' => 'hi' ) );
then click on subscribe link, and you will see that ""hi"" will become the default ""|"".",sgr33n
2302,Favorite/Subscribe AJAX doesn't work inside BP Group Forums,MZAWeb,General,2.1,normal,normal,2.8,defect (bug),new,,2013-04-14T10:51:52Z,2014-09-09T19:27:35Z,"In #1905 we introduced the pure wp_ajax handlers in the theme. Seems that the correct scripts are not loading in BP group forums.
Reported here: http://bbpress.org/forums/topic/enqueue-ajax-script-in-buddypress-groups-forum/
",MZAWeb
3593,Fire Engineering Consultancy,,General,,normal,normal,Awaiting Review,defect (bug),new,,2024-03-28T13:06:23Z,2024-03-28T13:06:23Z,"pricing in addition to a motivation in order that Each {{{#!html
Fire Engineering Consultancy
}}} Leeds individual and each buyer is pleased with their buy.",abdulmateenr
3370,FluxBB import,,General,,normal,normal,Awaiting Review,defect (bug),new,,2020-05-10T07:35:15Z,2020-05-10T07:35:15Z,"Replies are not imported.
FluxBB 1.5.11, WordPress 5.4.1, bbPress 2.6.4.",fraph24
3355,Forum Pagination links are broken,,General,,normal,normal,Awaiting Review,defect (bug),new,,2020-03-14T13:28:17Z,2024-01-26T15:09:31Z,"I posted this issue in buddypress trac some weeks ago:
I've found that forum pagination links are broken:
Check this user for example:
https://buddypress.org/members/modemlooper/forums/
In the bottom pagination links:
[[Image(https://i.imgur.com/4D6qDpX.png)]]
But they commented that it could be an issue on bbpress
https://buddypress.trac.wordpress.org/ticket/8237#comment:3",SirLouen
3439,Icons used for panels in BBPress don't show the alt tag.,johnjamesjacoby,General,,normal,normal,Awaiting Review,defect (bug),assigned,reporter-feedback,2021-10-12T07:39:48Z,2022-03-07T21:46:13Z,"The situation:
On our website we have a tab view of different subjects for the youth to open in order to find more information about these subjects (t. ex. living on own, well-being & health, relationships & dating...). On each tab we have an icon for them. We have made this tab view with bbPress-forums.
The issue:
These icons in tabs don't show the alt text at all and it messes up the accessibility-rating of our whole site. The icons are loaded from our WordPress library and have alt texts there, so the problem isn't in the icons themselves. This leads me to believe that the cause is your plugin. Is there a way for me to fix this or is this something that you have to do yourselves?",hemeba47
3467,Left - Right padding is absent.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-06-03T05:15:58Z,2024-03-17T13:09:43Z,"On the about page in the smaller devices (I attached a screenshot for the 830px device).
The padding is missing in the main container due to which the texts are touched on the sides.",hilayt24
3466,Missing padding and Horizontal scroll in smaller devices,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-05-27T05:14:02Z,2024-03-17T13:10:58Z,"On the smaller devices, the padding is missing in and the horizontal scroll is appearing due to the overflow.
Screen shot of issue : https://prnt.sc/4KLm-aR0uCJz",hilayt24
3529,Mobile menu does not proper manage padding on the https://bbpress.trac.wordpress.org/ticket page.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-02-09T12:14:50Z,2024-02-21T19:32:24Z,I have reviewed the https://bbpress.trac.wordpress.org/newticket page on a mobile device and found this site menu does not show properly Also below footer menus need to be left and right padding. Please check it below and the attached screenshot.,upadalavipul
3555,Need to removed unused variable.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-05-09T12:29:06Z,2024-02-15T07:38:09Z,"I have reviewed the BBPress site code and found that one of the files in unused variables define and it's not used anywhere. Please check the below file.
File: src/includes/extend/buddypress/groups.php",upadalavipul
3505,Need to wrap text in footer section,,General,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2022-12-09T09:45:38Z,2022-12-09T09:45:38Z,"
We need to wrap text in footer section in 820px (Ipad air).
here is the link:[https://codex.bbpress.org/]
screenshot:
[https://share.cleanshot.com/KC4bfDhDFldUeDcBO0zl]
",multidots1896
3509,Needs to padding or margin in the bbpress.org/download/ page some of the section.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-12-30T10:32:12Z,2023-01-16T12:59:22Z,"I have reviewed BBPress on mobile devices and found bbpress.org/download/ page some of the sections need to improve the design.
Please check the attached screenshot.
URL: https://share.cleanshot.com/zTrRPkPRJlxh5NY2S4BL",upadalavipul
2434,Page Break not Working when Nested Replies Enabled (2.4),jmdodd,General,trunk,high,major,Future Release,defect (bug),new,,2013-09-23T19:13:51Z,2023-11-17T20:25:08Z,"The newly released Nested Replies feature disables the page break functionality. While I have set it to display 15 posts per page, it is showing all the posts on the same page without any breaks.
",singhnsk
3536,Pagination count text not displaying on mobile responsive devices.,,General,,normal,normal,Awaiting Review,defect (bug),new,dev-feedback,2023-03-03T07:44:59Z,2023-03-03T07:44:59Z,"Hello Team,
I have checked the [https://bbpress.org/forums/] page and tried to find something using its search functionality and found that its pagination text is hidden on mobile responsive devices.
For better understanding, I have prepared its video.
[https://share.cleanshot.com/V8cGNRRLHlFk59n6hhq0]
Thanks,",viralsampat
2517,Password on most recent blog post causes forum search to require same password,,General,2.5.3,normal,normal,2.8,defect (bug),new,,2014-01-17T12:46:20Z,2014-09-09T19:27:35Z,"I password protected my most recent blog post [http://talked.tv/2013/12/18/assessment-close-reading-and-opinion-writing/] and it is causing my BBPress forum searches (using the search widget on this page [http://talked.tv/forums/forum/talkedtv-forums/]) to require the same password used for that post in order to return the search results. If I remove the password, the BBPress search no longer requires the password.",talkedtv
3543,RSS Feed: use bbpress functions for post and reply authors,,General,,normal,normal,Awaiting Review,defect (bug),new,has-patch,2023-03-30T16:25:44Z,2023-03-30T16:25:44Z,"Currently, the RSS feed output from `bbp_display_replies_feed_rss2` uses `the_author()` to output the display name for the topic and reply authors.
This prevents any filters added to bbpress core functions from being applied to the display names.
We should use `bbp_author_display_name()` had `bbp_reply_author_display_name()` instead.
",yoavf
3448,Right side white space is coming in bbPress site in mobile and tablet size,,General,2.6.9,normal,normal,Awaiting Review,defect (bug),new,has-patch,2022-03-14T06:52:52Z,2022-03-22T12:44:00Z,"When you open the bbpress.org site in tablet and mobile size, then white space is coming on the right side of the site. Because of this, the design of the site is deteriorating.
And at 320 pixels the Download bbpress button is coming out of the site.
Site Link => https://bbpress.org/
I have created a video of the issue. its link is given below.
[https://www.loom.com/share/d3fd431e093043cb8fbd13d47264242b]",aezazshekh
3504,Spacing is missing in responsive.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-12-08T16:32:19Z,2024-01-08T00:34:51Z,"Steps to reproduce the issue :-
1. Click the URL :- https://bbpress.org/about/
2. Check between 960 to 783.
The spacing is missing for left and right both side.",nidhidhandhukiya
3469,Spacing is missing in whole site in the main container,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-06-08T05:07:44Z,2024-03-17T13:09:35Z,"On checking the whole site for the responsive issues I found that the spacing issue on the smaller device is appearing on each and every page. And due to this, the fonts are touching the page sides in the smaller devices.
Steps :
1. Visit any page on the https://bbpress.org/
2. Open the page in the responsive mode.
3. You will notice that in the smaller devices the text is touching the sides.
solution :
{{{
@media and (max-screen:1024px){
#main {
padding-left :10px;
padding-right : 10px;
}
}
}}}
The above CSS will add the padding left and right in the smaller devices. Due to this, there will be spacing in the smaller devices.
",hilayt24
2329,The URLs of merged topics do not forward to the updated topic URL,jmdodd,General,2.1,normal,minor,Future Release,defect (bug),new,dev-feedback,2013-05-07T18:10:56Z,2016-04-13T19:35:50Z,"When you merge thread A into thread B, any URLs for thread A break.
This causes an issue for forum members participating in topic A who are following along via email notification.
Here's the flow:
1. Member responds to topic A and opts to receive email notfications
2. Other members respond. Member is sent email notifications about responses to topic A.
3. A moderator merges topic A into topic B
4. Member goes to check email, sees notifications about topic A, and clicks URL in notification email.
5. Member is directed to topic A's URL, which is now a 404. Member does not know that topic A is now part of topic B.
To keep notifications functioning effectively, it makes sense to have merged topic A's URL forward to topic B's URL.",arielmeadow
3592,"The closing tag """" is not properly positioned",,General,trunk,high,normal,Awaiting Review,defect (bug),new,has-patch,2024-03-26T07:26:13Z,2024-03-28T09:13:28Z,"I have submitted a pull request. Could you please review it by checking the URL provided and update your response accordingly?
https://github.com/bbpress/bbPress/pull/15",utsav72640
3586,Topics aren't hierarchical but still treated this way,,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-11-14T13:33:08Z,2024-02-16T09:48:35Z,"When `bbp_get_topic_post_type()` is registered, it has the argument `'hierarchical'` set to `false`.
Yet, in every `WP_Query` for topics, `post_parent` is populated with a forum ID.
This meta key is also stored via `bbp_update_topic_forum_id()`.
So, the hierarchical behavior is hacked into Topics and then rerouted to another post type: Forums.
I'm unsure how to interpret this: Are they hierarchical, and should this value be changed? Or aren't they, and should we consider relying on a non-standard meta key?",Cybr
3583,Updates to support PHP 8,,General,trunk,normal,normal,Awaiting Review,defect (bug),new,has-patch,2023-09-13T22:49:38Z,2024-02-24T03:50:48Z,"This is my pass at making bbPress code work correctly with PHP 8.
One specific thing I want to highlight is includes/admin/parser.php - which is a generated file. My patch includes updates to it as well, since it seems to be long out of sync with NBBC.
I used Rector to identify what needed to be changed, and generally took the suggested patches it generated.",josephscott
3149,Usability: Understanding the Tools / Forums / Upgrade tab,johnjamesjacoby,General,trunk,normal,normal,2.8,defect (bug),new,,2017-08-20T14:54:25Z,2018-04-23T04:00:17Z,"I've got a few questions about the Tools -> Forums ""Upgrade"" tab from a usability perspective.
On a brand new bbPress install, i.e. the tables have just been created and are still (mostly) empty, the tab displays and lists a number of actions.
Running each of these actions - of course - gives ""nothing to do"" responses, but the actions are not taken off the page.
1. Why do actions display when they will have no effect / are unnecessary to run ?
2. Why does the tab display when there are no actions which would have any effect ?
As a user, the tab feels like something I'd ""need to do"" as keeping up to date is important, but as the tab, nor the actions, do not go away after having run them, their importance is diminished.
For me, this would mean that I would in the future disregard the tab / not look at it again and not action anything on it (unless maybe specifically pointed to it through an admin notice).
This net effect seem to be to counter to the importance of keeping the database schema up to date and to have the opposite of the intended effect.
",jrf
3470,User Profiles don't display the user description,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-06-13T20:01:35Z,2024-03-17T13:09:28Z,"The profile template (bbpress/templates/default/bbpress/user-profile.php) has the following code (lines 21 to 25):
{{{#!php
}}}
Except the user description does not display the content entered by the user in the user bio.
",coopersita
2233,bbPress Topic or Replies states bugs !,,General,2.2.3,normal,normal,Future Release,defect (bug),new,,2013-02-28T19:02:59Z,2016-08-10T05:58:36Z,"Hi , I had been reviewing how bbPress handle the post status like private,closed...etc , There are many bugs I will publish about them soon most of them need some WordPress modifications since WordPress core have a many bugs too in the post states system ...
This is a simple list of some bugs I have founding them nowdays :
1 ---[User Posts Counter]:[[BR]]
The user topics or replies count functions like bbp_get_user_topic_count_raw() , bbp_get_user_reply_count_raw() ...etc
a - Not exclude the private posts , Even for those users they can't read the private posts .
b - ~~Not include the closed~~ or spam ... etc topics or replies .
... etc
2 -- [The Back-end Interface][[BR]]
There are some bugs in the wp-admin too , because WordPress core doesn't handle the post states in right way as I said a above .:
a - Try to edit a closed topic from the back-end , You will be surprised that the submit button text is ""Publish"" instead of ""Save"" , and even after this ""Publish"" button , the topic being ""Open"" instead of ""Closed"" and you need to close it a again !
... etc
I want from you to be aware about theses problems so we can help WordPress to make this easier to us especially for BuddyPress and bbPress developers .
Edit: The first part of item 1b has been extracted to ticket #2978",alex-ye
3498,bbPress logout links point to the previous page by default,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-11-11T04:23:33Z,2024-02-21T19:30:16Z,"`bbp_logout_url()` claims the following:
{{{
* This function is used to filter `logout_url`. If no $redirect_to value is
* passed, it will default to the request uri, then the forum root.
}}}
However, this is incorrect, the code actually does..
{{{
* This function is used to filter `logout_url`. If no $redirect_to value is
* passed, it will default to the referrer, then the request uri, then the forum root.
}}}
This is because the code uses the value of `wp_get_referer()` prior to using the current URI.
For a real-world example of this:
1. Visit https://bbpress.org/forums/ and check the logout link in the header, you should see a URL like this:
`https://bbpress.org/wp-login.php?action=logout&_wpnonce=...&redirect_to=https%3A%2F%2Fbbpress.org%2Fforums%2F%3Floggedout%3Dtrue` - It correctly refers to `/forums/` because the Trac referer is invalid for a redirect from bbpress.org.
2. Now open a Support Thread, Note the logout URL is still set to `/forums/` (where we just came from).
3. Now click ANY support link, for example, the forum the topic is posted in. NOT the back button. Check the logout link, observe it points to the thread you were just viewing in step 2.
The usage of `wp_get_referer()` would only be correct here, if the function was hooked to `logout_redirect` (which is run on `wp-login.php?action=logout`), but instead this is hooked to `logout_url` (`wp_logout_url()`) which means it filters the logout links visible in the toolbar.
",dd32
3458,bbpress does not work with twenty twenty two theme,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-04-09T20:15:04Z,2024-03-28T02:39:35Z,"You just get a blank page - no error, no display - nothing
If you create a page with [bbp-forum-index], then that page displays, but anything clicked on it just again goes to a white page.",Robin W
3510,bbpress site mobile menu is not working,,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-01-06T05:13:31Z,2023-01-06T05:13:31Z,"bbpress mobile menu toggle is not working below 768px screen.
here is recording: [https://share.cleanshot.com/SYtVqmMMCjrcN06HDxSr]",multidots1896
3502,bbpress.org & codex.bbpress.org mobile menu does not close after second time click.,,General,,normal,normal,Awaiting Review,defect (bug),new,,2022-12-01T12:38:55Z,2022-12-01T12:38:55Z,"bbpress.org & codex.bbpress.org mobile menu does not close after a second time click. please check the added below video for a better understanding.
URL: https://share.cleanshot.com/Fj1miEEbaZkjoi9wypKe",upadalavipul
3538,blacklist_keys deprecated,,General,,normal,normal,Awaiting Review,defect (bug),new,,2023-03-10T13:02:19Z,2023-03-10T19:33:24Z,"bbpress/includes/common/functions.php line 821 states
{{{#!php
""Create New Topic in “Developers – General” [pause] Topic Title (Maximum Length: 80)""
This is pretty verbose and, in this case, not necessary, because it is pretty obvious what the purpose of the form is.
A heading is better:
> Create New Topic in “Developers – General”
Current:
{{{
#!text/html