It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
if it helps, this is the error i get when using the phpbb converter that comes with the installation of bbPress 2.5.14…
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default '0', meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join
hey there. So I’ve been trying to get the import to work for a few weeks and have zero luck whatsoever. I’ve tried the updated script found here:
Hi All,
Had the same issue as described above. The default phpbb.php import script didn’t convert anonymous users of topics and replies and the Pixenated script looped infinately with the conversion of users.
I’ve fixed the script and uploaded to PasteBin. Feel free to share widely.
https://pastebin.com/FpWsxsUG
How To:
1) Upgrade phpBB to v.3.2.5
2) Install BBpress 2.6 RC7
3) Upload to /wp-content/plugins/bbpress/includes/admin/converters/phpbb.php
Remember that real men don’t do backups. They cry a lot. 🙂
but it has not aleviated the import problem. I no longer see errors, but it just sits at “Starting conversion”. Not sure what my next step is…
I was JUST looking for a solution for this! I’d noticed the tab order was off when I was using tab to add a new post in a bbPress forum on my site.
Did a little exploration, and found this post:
WP Accessibility Plugin
In this section about removing tabindex from focusable elements…
WP Accessibility Plugin
…it mentioned this plugin that might help:
WP Accessibility
And I found a few others along similar lines:
WP Accessibility Helper (WAH)
Accessibility by UserWay
Just with installing the WP Accessibility Plugin (without making any tweaks to default settings), I noticed a difference. (Need to explore a bit more to see if my issue is solved.)
By default, when joining a group in BuddyPress, you need to subscribe to associated forums. Is it possible to have it so that when you join a group, you are atomically subscribed to the forums as opposed to having to physically subscribe???
WordPress 5.1.2 . BuddyPress 4.3 . bbPress . 2.5.14
Thanks in advance.
Hello. Is there suppose to be a registration link with the bbPress login form –my main wordpress login form has a registration link below it, but the login form on my bbpress forum pages does not. Here is an example of the forum login page which does not have a registration link (scroll to the bottom of the page): https://cincinnati.unitedresourceconnection.org/financial-assistance
Here is an example of the main login page (that has a registration link): https://cincinnati.unitedresourceconnection.org/wp-login.php
Does it look like I’ve configured something incorrectly, or is this the default behavior? I’m using the most recent version of wordpress and bbpress.
I’m trying to import an old vBulletin (3.8.3) forum to a new bbPress (2.5.14) setupon WordPress 5.1.1 and the initial import looks great. It imports the users (~13k) says something about deleting their WordPress password, then a moment later it seems to hang and no matter how long I leave it we never progress.
Calculating forum hierarchy (0 - 99)
Converting forums (0 - 99)
Delete users WordPress default passwords (12700 - 12799)
Delete users WordPress default passwords (12600 - 12699)
Delete users WordPress default passwords (12500 - 12599)
Delete users WordPress default passwords (12400 - 12499)
Delete users WordPress default passwords (12300 - 12399)
Looking at the forum sections shows that it’s created the 22 forums and correctly set some of them as categories, they also show how many topics and replies are in each one correctly –
— Random Thoughts - Topics: 3,119 Replies: 54,698
But only 27 topics across the entire forum are imported. It’s the same 27 topics every time as well. To the point that if I stop the import, and hit the start button again, it imports these same 27 topics once more now showing 54. Is there an error log I can find that might show me why it’s hanging up? The bit above with the Calculating Hierarchy is the last update I ever get in the window. I added the lines to turn on debug logging in WordPress but nothing every shows up.
define( 'WP_DEBUG', true ); // turn on debug mode
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
define( 'WP_DEBUG_LOG', true ); // log to wp-content/debug.log
}
One of the problems I’ve encountered in trying to use the TinyMCE editor in bbPress is styling the text inside the editor itself. The default fonts are serif, but suppose you want sans?
Attempting to override the font-family in the usual way — by modifying your theme’s CSS file — fails because the editor window of TinyMCE is in it’s own tiny little world as far as CSS is concerned.
In order to get TinyMCE to use your own stylesheet, you have to pass it as an argument when the editor is called. Here’s how to do it in bbPress.
function bbp_enable_visual_editor( $args = array() ) {
$args['tinymce'] = array(
'content_css' => '/wp-content/themes/mytheme/css/tinymce-editor.css',
);
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
In the example above, “tinymce-editor.css” is the CSS file you want the editor to use. It is located in a folder entitled “CSS”, which is located in your theme folder “mytheme”. The code above can be copied and pasted into your functions.php file.
Other options for the editor can be found here. Notice that the value for “tinymce” can be an array. That’s what we’re doing above.
Additional arguments to pass in the array for the TinyMCE editor can be found here.
I hope this helps someone. The documentation for styling the editor text could be improved. I banged my head on this problem for years until I stumbled on the solution elsewhere.
bbpress does not have fixed separators – it has default ones.
you can change simply by putting this in your child theme functions file or using code snippets plugin
function custom_bbp_sub_forum_list() {
$args['separator'] = 'whatever you want' ;
return $args;
}
add_filter('bbp_after_list_forums_parse_args', 'custom_bbp_sub_forum_list' );
You also seem to be confused by templates. Theme and plugin templates are exactly that and designed to be changed if wanted. With bbpress you simply follow
Step by step guide to setting up a bbPress forum – part 3
Topics and Replier are not linked after importing the bbpress forum data from one WP site to another already live WP site using wordpress default importer. (tools -> import).
Imported properly in backend but on frontend topics and replies are not linked.
Forum repair option event did not worked. This makes topics and replies count zero on frontend.
Need solution ASAP.
Thanks
@lucio – I had the same issue, I wanted my topic list to appear above my subforums, here is the easy fix.
go to> wp-content>plugins>bbpress>templates>default>bbpress
Find content-single-forum.php
select lines 28-32:
<?php if ( bbp_has_forums() ) : ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php endif; ?>
Find these lines:
<?php if ( bbp_has_forums() ) : ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php endif; ?>
Paste the 3 lines selected above UNDERNEATH those lines (Line #50)
it will be a change
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Hi,
I am working on a product testimonials project and would like to know if bbpress is the right plugin for the job. Can it do the following:
Visitors can search and view testimonials
Visitors can create an account to post testimonials
Testimonials will include
Title
Text
product name text field: Product used
product url text field: Product link
if text field blank -> default will be used
Account members can post questions under testimonials – original poster will be notified and can reply
Possibly create a paid account where ads are removed.
Thank you!!
Hi Robin! Thanks for the reply.
This is what I am using to reorder replies:
// Reverse forum replies order from newer to older
function custom_bbp_has_replies() {
$args['order'] = 'DESC'; // ‘ASC’ (Ascending, Default), 'DESC' (Descending)
return $args;
}
add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );
function custom_bbp_show_lead_topic( $show_lead ) {
$show_lead[] = 'true';
return $show_lead;
}
add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
hmm
you’ll need to alter several files, so general first
altering bbpress templates
You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.
so if you wanted to amend loop-single-forum you would do the following
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this
files
There may be others, but
loop-forums (forum headings)
loop-single forum (forum content)
loop-topics (single forum heading)
loop-single-topic (single forum content)
will get you most of the way there
can only suggest that something else is putting it there
maybe try
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
Hi everybody,
I would like to creat a home for my forum who loop some forum in blocs. And in this bloc I would like to list sub forum with topic count, post count and freshness.
I make a mockup to be more precise ^^ You can the here: https://ibb.co/zFD60d1
I already try to make these loop but I can’t retrieve the freshness & counts for each sub forum.
And also I need to design differently each row but bbpress retrieve data in columns…
Do you already make something like this ?
I found this function:
//This function adds descriptions to the sub forums
function custom_list_forums( $args = '' ) {
// Define used variables
$output = $sub_forums = $topic_count = $reply_count = $counts = '';
$i = 0;
$count = array();
// Parse arguments against default values
$r = bbp_parse_args( $args, array(
'before' => '<ul class="bbp-forums-list">',
'after' => '</ul>',
'link_before' => '<li class="bbp-forum">',
'link_after' => '</li>',
'count_before' => ' <span class="counts">[ ',
'count_after' => ' réponse(s) ]</span>',
'count_sep' => ' sujet(s), ',
'separator' => ', ',
'forum_id' => '',
'show_topic_count' => true,
'show_reply_count' => true,
), 'list_forums' );
// Loop through forums and create a list
$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
if ( !empty( $sub_forums ) ) {
// Total count (for separator)
$total_subs = count( $sub_forums );
foreach ( $sub_forums as $sub_forum ) {
$i++; // Separator count
// Get forum details
$count = array();
$show_sep = $total_subs > $i ? $r['separator'] : '';
$permalink = bbp_get_forum_permalink( $sub_forum->ID );
$title = bbp_get_forum_title( $sub_forum->ID );
$content = bbp_get_forum_content($sub_forum->ID) ;
// Show topic count
if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
}
// Show reply count
$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
// Counts to show
if ( !empty( $count ) ) {
$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
}
// Build this sub forums link
$output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after'];
}
// Output the list
return $output ;
}
}
add_filter('bbp_list_forums', 'custom_list_forums' );
I got the description of subforum, it’s a good start..
bbpress just uses wordpress login, so
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
If I want to change a default user capability. For example let participants delete their own topics or replies. Am I supposed to edit capabilities.php directly? Or is there some other way to do this? I see a number pages discussing this, but they all seem to talk about editing that file. I also found a reference to something called “keep_gate” but I can’t actually find the documentation on it. Sorry if I’m being dense 🙂
Hi, for future people who may meet this issue, i used this fix but it worked only on one of my 2 websites. However, i could solve it on my website, and i believe that the origin of the problem has been found :
This solution may work for those who have installed a membership plugin (s2member, wishlistmember, optimizepress). The issue seems to be with the way these plugins manage the searches. They seem to catch on the fly the searches to hide content, and can create a conflict of compatibility with some other plugins like bbpress which need to display content based on roles. Plugins like Wishlistmember and S2member (or optimizepress, based on s2member,) allow deactivating of this without creating any major issue for the membership site. For those using optimizepress, it can be done thanks to the alternative view protection feature in OP. I only unchecked “Searches”, and the problem disapeared, which would confirm this idea that the issue comes from the way that searches are handled by the membership plugin.
For those using WLM, here is someone who found where to made a similar configuration (although it may have a bigger impact) :
“The issue on my site had to do with a setting in WishList Member. For me I had to go to WishList Member >> Settings >> Protection Defaults and then set the “Only show content for each membership level:” and set to “No”. After I did that it worked.”
Hi, for future people who may meet this issue, i could solve it on my website :
This solution may work for those who have installed a membership plugin (s2member, wishlistmember, optimizepress). The issue seems to be with the way these plugins manage the searches. They seem to catch on the fly the searches to hide content, and can create a conflict of compatibility with some other plugins like bbpress which need to display content based on roles. Plugins like Wishlistmember and S2member (or optimizepress, based on s2member,) allow deactivating of this without creating any major issue for the membership site. For those using optimizepress, it can be done thanks to the alternative view protection feature in OP. I only unchecked “Searches”, and the problem disapeared, which would confirm this idea that the issue comes from the way that searches are handled by the membership plugin.
For those using WLM, here is someone who found where to made a similar configuration (although it may have a bigger impact) :
“The issue on my site had to do with a setting in WishList Member. For me I had to go to WishList Member >> Settings >> Protection Defaults and then set the “Only show content for each membership level:” and set to “No”. After I did that it worked.”
best way would be to edit the templates
loop_forums
loop-single-forum
loop-topics
loop-single-topic
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-forums.php
bbPress will now use this template instead of the original
and you can amend this
then repeat for the others
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
that is presuming you have run the normal tests
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.