Hello,
Easiest way would be to override the bbpress’s content-single-topic.php
file and move bbp_get_template_part( 'form', 'reply' );
to above bbp_get_template_part( 'loop', 'replies' );
within that file.
For another option, I’ve tried the below on a few different themes without any issues. You’d add the below code to your theme’s functions.php
file. Best if you add to child theme so that you don’t have to re-add if you update your theme, same would apply for the first option above.
if ( !function_exists( 'oscowordpress1_move_bbpress_reply_form_filter' ) ) {
function oscowordpress1_move_bbpress_reply_form_filter( $template , $slug , $name ) {
if ( is_array( $template ) && in_array( 'form-reply.php', $template ) ) {
remove_filter( 'bbp_get_template_part', 'oscowordpress1_move_bbpress_reply_form_filter', 10 );
return array();
}
return $template;
}
}
if ( !function_exists('oscowordpress1_move_bbpress_reply_form')){
function oscowordpress1_move_bbpress_reply_form( $slug, $name ){
if ( isset( $name ) && $name == 'replies' ) {
bbp_get_template_part( 'form', 'reply' );
add_filter( 'bbp_get_template_part', 'oscowordpress1_move_bbpress_reply_form_filter', 10, 3 );
}
}
add_action( 'get_template_part_loop', 'oscowordpress1_move_bbpress_reply_form', 10 ,2 );
}
Best of luck, and hope one of those work out for you. 🙂
I have zero knowledge of GamiPress…but let’s park that part of the question for a moment 🙂
Like WordPress itself, bbPress supplies a plethora of hooks that will let you write code that listens for various events—such a new topics being created or replies being added—at which point your code can scan for keywords and interact in various ways. I’m not sure exactly what you’re picturing, but having the bot add replies of its own or perhaps even trigger currency transfers in the context of GamiPress are all possibilities.
How easy this would be I guess really depends on what sort of tasks you want your bot to perform and what conditions you wish to be met before it performs them, but certainly bbPress/WordPress by themselves provide a nice foundation to build on top of.
The topics & replies within forums you can change in your WordPress admin area at Settings > Forums below “Topics and Replies Per Page”.
If you want to change the displayed forum amount(shortcode you mentioned), try adding the below code to your functions.php
file of your WordPress theme.
if(!function_exists('poco06_bbpress_change_forum_count_display')){
function poco06_bbpress_change_forum_count_display( $args ){
if( is_array( $args ) && array_key_exists( 'post_type', $args ) && $args['post_type'] == 'forum'){
$args['posts_per_page'] = 100; //Change to number of displayed you want
}
return $args;
}
add_filter( 'bbp_after_has_forums_parse_args', 'poco06_bbpress_change_forum_count_display' ,10 );
}
That should increase it to 100, change as needed. There might be a plugin for that as well that others may be able to point you to.
🙂
bbpress just uses WordPress login, so the issue lies with your site/wordpress
Buongiorno,
ho un problema con il forum: alcuni utenti che appaiono iscritti non riescono a fare login utilizzando i dati da loro impostati, pur facendo molti tentativi.
Ecco le info sul mio sito:
Mi è stata installata la versione 5.3.2 di WordPress.
Da poco mi è stata installata la versione 2.6.4 di BBpress.
Il link al forum nel mio sito è questo: https://www.nuovicontesti.com/forum/forum/
Sto usando il tema Twenty Twenty di WordPress.
Grazie,
Federica
hello
i am using bb-press plugin in my theme
i have to add short code in my page with word-press function like this in .php page
“<?php echo do_shortcode(‘[bbp-forum-index]‘); ?>”
it’s not working on .php page
—————————————
but when i create page in wordpress admin section and add shortcode on page it’s working
but on .php page it’s not working
can you please help me what i am doing wrong
Thanks 🙂
Hello,
I’m using bbpress with the DIVI theme and got an issue : the [bbp-forum-index] shortcode returns only 50 forums end no more !
I have also tried with the Twenty Twenty theme and got the same issue.
Any idea how I could display more than 50 forums with this shortcode?
Wordpress 5.3.2 and bbpress 2.6.4
Regards
Pat
In WordPress? Yes, my domain provider has previously given me guidance on that. I try that if it is what you mean?
I just googled ‘A variable mismatch has been detected’ (googling an error is always a good start)
and got this as a thread
https://wordpress.org/support/topic/a-variable-mismatch-has-been-detected-6/
which suggests might be worth you looking at php versions
Hi I wonder if anyone knows a good template for a multilanguage site? I need both English left>right and Arabic right<left. I tried to have a site in Wix but it didn’t work so I will try WordPress but can’t find a template that can handle both languages without problems.
thanks for your help!
Henry
Dear friends,
At some point disappeared text from topics. Cannot say exactly at which moment, because it’s not my web-site, but that of a friend of mine.
All content is present in the database (forums, topics, replies). The TOC of a forum is displayed correctly:
Фотосъемку
But when I click on any link to see the topic with replies, I see the following:
Макросъёмка
No text, but the rest is displayed well, including images.
Settings:
1. bbpress 2.6.4. All other plugins are disabled at the moment (except GD bbPress Attachments, which does not affect). Deleted and reinstalled it from the scratch. Before reinstallation deleted all the settings of bbpress manually from the table wp_options (DELETE FROM on_options WHERE option_name LIKE “bb%”;). No result.
2. WordPress 4.9.9 with generic theme Twentyseventeen. Change the theme to others – no result either.
Please help. Thank you in advance.
I have wordpress site and want to add “accept term and conditions ” to the forum registration form” in bbPress. How to do this?
I am using the latest WordPress and BBPress as of 2/29/2020
I don’t know if this is intentional or a bug, but I am throwing it out there.
If you go to the WordPress dashboard, all Topics, and post a new topic with no forum, it will actually post but not show up anywhere. It won’t even show in topics.
If another user knows the URL of the topic post, he/she can reply. But, that reply won’t show up in replies in the dashboard.
If you attempt to delete it by going to the URL and clicking Trash, the browser will start processing it but after 45 seconds it says “This page is not working” but it does delete the post.
Lately, since the first of the year, Akismet has occasionally been flagging valid replies (posts) and topics as Spam. Thus, not publishing the posts until I manually go in and “unspam” them. These false positives are very frustrating. It is doing this to people that have posted in my bbPress forum for years. What gives?
I am running WordPress 5.32, bbPress 2.64 and no changes to the Twenty-Fourteen theme in years.
In Akismet, I only see settings to basically run, or disconnect. I am tempted to do the latter.
probably site issue – bbpress just uses WordPress registration
my style pack plugin has an unread section which I think is what you want
bbp style pack
once activated go to
dashboard>settings>bbp style pack>
dashboard>settings>bbp style pack>unread posts
my style pack plugin has an unread section which I think is what you want
bbp style pack
once activated go to
dashboard>settings>bbp style pack>
dashboard>settings>bbp style pack>unread posts
ok, put this in your child theme’s function file – or use
Code Snippets
add_filter( 'bbp_register_topic_post_type', 'rew') ;
function rew ($rew) {
$rew = array(
'labels' => bbp_get_topic_post_type_labels(),
'rewrite' => bbp_get_topic_post_type_rewrite(),
'supports' => bbp_get_topic_post_type_supports(),
'description' => esc_html__( 'bbPress Topics', 'bbpress' ),
'capabilities' => bbp_get_topic_caps(),
'capability_type' => array( 'topic', 'topics' ),
'menu_position' => 555555,
'has_archive' => ( 'forums' === bbp_show_on_root() ) ? bbp_get_topic_archive_slug() : false,
'exclude_from_search' => true,
'show_in_nav_menus' => true,
'public' => true,
'show_ui' => current_user_can( 'bbp_topics_admin' ),
'can_export' => true,
'hierarchical' => false,
'query_var' => true,
'menu_icon' => '',
'source' => 'bbpress',
) ;
return $rew ;
}
add_filter( 'bbp_register_reply_post_type', 'rew2') ;
function rew2 ($rew) {
$rew2 = array(
'labels' => bbp_get_reply_post_type_labels(),
'rewrite' => bbp_get_reply_post_type_rewrite(),
'supports' => bbp_get_reply_post_type_supports(),
'description' => esc_html__( 'bbPress Replies', 'bbpress' ),
'capabilities' => bbp_get_reply_caps(),
'capability_type' => array( 'reply', 'replies' ),
'menu_position' => 555555,
'exclude_from_search' => true,
'has_archive' => false,
'show_in_nav_menus' => true,
'public' => true,
'show_ui' => current_user_can( 'bbp_replies_admin' ),
'can_export' => true,
'hierarchical' => false,
'query_var' => true,
'menu_icon' => '',
'source' => 'bbpress',
) ;
return $rew2 ;
}
Sometimes, in our forums, a post shows up twice or even three times. Is there a fix for this?
Version 5.3.2 of WordPress
The most recent version of BBPress
Download the zip file in Robin’s link. Upload and activate to your WordPress website as a plugin.
Sadly it didn’t seem to fix mine though, but has worked for others.
bbpress just uses WordPress login, so the issue is there.
wordpess doesn’t gave this feature in native mode, so I suspect you have another password/login related plugin that is causing the issue
I think you just need to google for the plugins and try them.
I use Theme My Login for managing the login etc.
Theme My Login
I use WP Approve User to add control:
WP Approve User
I use WP Security Question for the spam side of things:
WP Security Question
I customised my user table to show the security question answers in a new column.
There are probably other solutions, of which are paid, but the above help me sufficiently (for now).
This is an odd one. I set a topic to Super Sticky but was unable to change to Normal. After Update it would revert back to Super Sticky. I was able to change to Sticky from Super Stick but still can not change to Normal.
Wordpress 5.3.2
bbPress 2.4.6
musiclibraryreport.com
Thanks for any help.
I think this is what you need
Private groups
Hi – I have successfully added a bbpress forum (Version 2.6.4) to a new site with a custom theme on WordPress (5.3.2). I’m wondering if anyone can help recommend plugins to tackle some (I think) fairly standard requirements.
I’ve tried a few combinations myself without complete success so I’d really appreciate some guidance.
I’m trying to –
- Allow user registration (sign up, get password, manage profile, password reminder),
- Admin manually approve/suspend/delete users,
- Prevent spam,
- Import users from the previous forum using a csv of username and email.
Sorry if it all seems a bit basic but I’m tying myself up in knots finding the right plugins.