Hi – I have a WordPress site that has been operational for 5 years.
I wanted to add a Discussion Forum using bbPress, and I have been successful in installing the bbPress plug-in.
Using the bbPress Shortcode Codex, I wanted to create a requirement for people to log into my new Discussion Forum using
[bbp-register] – Display the register screen.
[bbp-lost-pass] – Display the lost password screen.
However, when I test these two options, it appears that these two options actually create a new WordPress account – with no connection to my existing WordPress site at all. When I test the Register facility, a new page opens with the WordPress create account box (create username and password).
What is wrong with the Shortcode usage, please?
WordPress 5.4.1 running Enterprise theme.
Who and What I Find – About this site
bbPress Version 2.6.5
I can see that – I’ve logged a trac ticket for this 7
https://bbpress.trac.wordpress.org/ticket/3379
Topic views are not standard in bbPress.
By default, the problem with Views is they trigger database writes on pages that should only be performing database reads.
We’ve considered ways of circumventing this, but have never seriously attempted to build it.
Is there a simple fix for a non-programmer type guy?
You could try installing: https://wordpress.org/plugins/gd-bbpress-tools/
I forget if it offers it, but it does so much other stuff that maybe it will tide you over? 😁
WordPress Version 5.4.1
bbPress Version 2.6.5
Mizan Therapy
I have no links to Forum in the dashboard. I have no forum options for users.
I can see the forums exist from the front end but I cannot get to them from the admin
I have disabled all plugins apart from bbPress and tried another theme. The problem still exists.
I have installed the User Role Editor but no options for forums exist there either.
I have cleared caches on the site and in the browser.
https://snipboard.io/C4xL6M.jpg
I know the Yoast SEO has many problems with BBpress. I wrote a small plugin to help Yoast SEO working better with BBPress.
This plugin improved the following problem with yoast wordpress seo in bbpress:
1, Canonical lost on single forum
2, Canonical lost on single topic page
3, Canonical lost on user profile page
4, Canonical lost on topic tag page
5, Meta title incorrect on user profile page
6, Meta title incorrect on topic tag
7, Meta description lost on topic archive
8, Meta description lost on user profile page
9, Meta description lost topic tag page
10, Meta description lost on single topic page
11, Meta description lost on single forum page
I know this is an old thread but if I install this plugin, would it automatically pull all the meta data (meta title & description) or would I have to manually write the titles and descriptions for each page?
TBH, right now I don’t have the budget to hire an SEO consultant. Plus, I’ve had bad experiences with them before. So I’d prefer if this is something that I could resolve on my own.
Let me know.
Thanks.
Hi, I just installed bbpress and have the latest version of wordpress (5.4). I see “voices” and “posts” but no “views”.
Is this standard? I would like to see the number of views by topic.
Is there a simple fix for a non-programmer type guy?
MySQL 8 removing support for zero dates is the problem.
WordPress is incompatible with NO_ZERO_DATE
mode, but it being dropped entirely means these errors are going to pop up.
See: https://bbpress.trac.wordpress.org/ticket/3354
Going to patch and fix for 2.6.6, likely for a release next week.
I upgraded to 2.6.5 . In WordPress menu Settings->Forums, I checked Super Moderators(Allow Moderators and Keymasters to edit users) .I tested setting the user role Editor / Keymaster. In WordPress menu can’t look the Users menu.
How can i do ?
Thx.
I have set up the bbpress forum and have Admins created through my WordPress site. When other admins try to access the Forum settings via Tools and then Plugins they do not see the options for bbpress (Forum, Replies, Topics). Help with where to update settings so others besides myself can access these settings!
This allows any length title
add_filter( 'bbp_is_title_too_long', 'rew_dont_bother', 10 , 4 ) ;
function rew_dont_bother ($result, $title, $max, $len ){
return false ;
}
and this reduces content
//code to limit number of characters in topic contents to 500 characters
add_filter( 'bbp_new_topic_pre_content', 'rew_limit_topic_content' );
add_filter( 'bbp_edit_topic_pre_content', 'rew_limit_topic_content' );
function rew_limit_topic_content( $topic_content )
{
/* Check for number of characters in topic contents */
if (strlen($topic_content) > 500) {
$revised_content = substr($topic_content, 0, 500);
}
else {
$revised_content = $topic_content ;
}
return $revised_content ;
}
Put this in your child theme’s function file – or use
Code Snippets
Just had a chance to dig further into this – bbpress will only let a keymaster set another keymaster, so if you’re not a keymaster yourself then by default you can’t do this.
However this code should allow any admin to set a keymaster
add_filter( 'bbp_is_user_keymaster', 'rew_allow_keymaster', 10 , 3 );
function rew_allow_keymaster ($retval, $_user_id, $user_id) {
if (current_user_can( 'manage_options' )) $retval = true ;
return $retval ;
}
Put this in your child theme’s function file – or use
Code Snippets
BUT THEN TAKE IT OUT AFTER you have set up another – as it makes all admins in effect keymasters.
Hi. I am not sure if this is the right place to post this, but I need some help getting started with BuddyPress and BBPress. I just created my first website, which is a community for people living with multiple disabilities. I am hoping to turn this into a nonprofit organization. I have installed both BBPress and BuddyPress, so I will be posting this in both forums. The website is livingwithmultipledisabilities.org, and I have WordPress version 5.4.1, BBPress version 2.6.5, and BuddyPress version 6.0.0. I have BBPress set up with several forums I created, and I think I’m going to use BuddyPress to allow users to create groups. I have a few questions. Is there anything I should do to make BBPress and BuddyPress work well together? Second, how do I set up the register and activate pages for BuddyPress to use? These pages seem to exist, but I think they are blank since I do not see anything when I edit them, and trying to review them redirects me back to my website’s homepage. Finally, is there anything else I might not know about that I need to do to set both plugins up? Thanks.
yes it is buddypress
you can change the text as per below
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
' ) {
$translated_text = 'new text';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
so just put what you want in place of ‘new text’
Put this in your child theme’s function file – or use
Code Snippets
slow down comes from a flood check function.
The flood time is set is
dashboard>settings>forums>flooding.
for this specific issue, I’d try setting that to a longer period and see if it makes a difference
Then you can disable this function using
add_filter( 'bbp_bypass_check_for_flood', 'rew_bypass_flood' ) ;
function rew_bypass_flood () {
return true ;
}
Put this in your child theme’s function file – or use
Code Snippets
great – it may well be buddypress or WordPress.
If you give me a link, I’ll register and might be able to tell from the code sent to the browser
Oh wow I waited soon 4 days to hear this?
I only reported what I did so far to troubleshoot this error. And by the way “you are too fast, slow down” is a popular bbPress error. After disabling the flood protection I am able to post but every posts appears as anonymous. This can’t be normal and I think is definitely a bbPress error. Also I can’t reset the database through settings > forums like I said before.
The error log is empty, only one error: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 1 for query SELECT term_id, taxonomy FROM wpOF_term_taxonomy WHERE term_taxonomy_id IN () made by require_once(‘wp-admin/admin.php’), do_action(‘load-tools_page_bbp-repair’), WP_Hook->do_action, WP_Hook->apply_filters, bbp_admin_repair_handler, bbp_admin_repair_topic_tag_count, clean_term_cache
I’m not sure where this message is coming from.
It is not in bbpress, and bbpress just uses WordPress registration.
It may well be WordPress (I haven’t got auto registration on any of my test sites so can’t say)
Or are you running and registration plugins, or does your theme do this, or is it WordPress.
You’ll need to do a bit more digging.
that may be true, but it was probably not deleting that user that is behind the problem.
WordPress and bbpress roles are stored in the options table in the database under wp_user_roles.
Something (possibly a roles plugin?) has deleted or changed this role.
If you go into the database and copy what is on there, I may be able to help.
are you looking at WordPress roles or bbpress roles?
bbpress just uses WordPress registration,so will use whatever WordPress does
I installed bb press on my wordpress site, created the register screen, however when the user enters in the username and email there is no email received.
It is not in the junk email and all my other wordpress emails seem to be working. The only thing not working is the bbpress activation email
@robin-w
I installed the plugin
BP Emails for BBP
and it works
with the bonus that emails borrow the buddypress model of emails
So I think there is a problem with the bbp Style pack extension. It should be added a non-activation option to avoid conflict.
Hi @robin-w
I don’t think it’s related to the mail servers.
From one the mails on the other functionalities work: registration, quote, buddypress, etc …
Two, I try with several services: hotmail, gmail, etc …
The proposed plugin does not seem to solve the problem …
I will try the plugins
BP Emails for BBP
and
bbPress Notify (No Spam)
I’m sorry. It was a misunderstanding.
I’m using WordPress in Japanese now, so that’s a somewhat confusing thing to say.
Thank you.