it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
dashboard>settings>permalinks and just click save – this resets the permalinks and may help
or
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
ok, in which case…
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
The quickest way will be to turn on debugging in wordpress and come back with tne exact error you are getting
https://docs.themeisle.com/article/819-how-to-turn-on-off-debugging-in-wordpress
If you can’t do that, then it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
If that doesn’t work, the standard advice is :
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
the templates you need are in
wp-content/plugins/bbpress/templates/default/bbpress/
to amend a template do the following which is an example with loop-sungle-reply
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
transfer this to your pc and edit to how you want it to look
and save
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
Then transfer the file you saved above 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-reply.php
bbPress will now use this template instead of the original
This is probably because in the bbpress plugin there is a template called content-search.php. Many themes also now have a template file called content-search.php. Since the bbPress templates donβt necessarily need to be in a bbPress folder, the bbPress plugin is choosing the template from your theme before the template that is actually in bbPress.
To fix copy content-search.php from the bbPress plugin templates and place it in a child theme in a folder called bbpress.
Functions files and child themes – explained !
So create a directory on your child 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/content-search.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/content-search.php
bbPress will now use this template instead of the original
@izzyeast bbpress 2.6.6 works with WordPress 5.7 -I have it running on several sites, and with 300,000 installation, it would be well know if it didn’t.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
ok, so create a new topic form template
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
transfer this to your pc and edit
change around line 199
<?php if ( ! bbp_is_single_forum() ) : ?>
to
<?php if (isset($_REQUEST['bbp_forum_id'])) : ?>
<input type="hidden" name="bbp_forum_id" value="<?php echo $_REQUEST['bbp_forum_id']; ?>" />
<?php elseif ( ! bbp_is_single_forum() ) : ?>
and save
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
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-topic.php
bbPress will now use this template instead of the original
then put this in your child theme functions file
add_action ( 'bbp_template_before_single_forum', 'reww_new_topic_button' ) ;
function reww_new_topic_button () {
$url = $url = get_home_url();
$forum_id = bbp_get_forum_id() ;
$url.='/topic-form/?bbp_forum_id='.$forum_id ;
$text = 'create new topicc' ;
echo '<a class="hello" href ="'.$url.'">'.$text.'</a>' ;
}
where ‘/topic-form/’ is the page you have the topic form on
that sends a query string to the topic form page, which is then picked up by the amended template above
Probably not with that plugin, but probably another plugin and/or your theme
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Hi, Robin,
I’ve seen a number of posts about this but can’t find a specific solution. I’d like my login to call out to the page I created with the bbpress shortcode: https://museum-hub.org/forum-login/ vs. the generic WP login page. Within your style pack, I’ve gone to the Login tab and added that page where it says “Login Page: You should create a wordpress page with a login shortcode such as [bbp-login] and put the full url in here e.g. http://www.mysite.com/loginpage. If left blank the default wordpress login page will be used.” I’ve saved it, of course. I’ve done the same thing with the “Register” field, sending people here: https://museum-hub.org/register/. Any thoughts on to bypass the WP default login? I’m trying to keep folks from seeing any WP dashboards, etc.
THANK YOU!
Hi I would like to change this CSS code:
.bbp-forum-header, .bbp-reply-header, .bbp-topic-header {
clear: both;
overflow: hidden;
padding: 8px 10px 8px 130px;
margin-bottom: 0;
border-width: 1px 0 0;
border-color: #e6e6e6;
border-color: var(--g1-border-color);
}
to have its padding set to 0px.
I have tried adding this to my style.css file in my child theme but it didn’t work:
.bbp-forum-header, .bbp-reply-header, .bbp-topic-header {
padding: 0px;
}
I am new to CSS so I’m not sure if that code above should overwrite the default styling? I assume not as it isn’t working!
Many thanks!
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
transfer this to your pc and edit
before line 56 which says
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
add the following
<?php echo 'hello' ; ?>
and save
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
Then transfer the file you saved above 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-reply.php
bbPress will now use this template instead of the original
You should now see ‘hello’ where you want the neighborhood field
If you get this far, then come back
AS far as I know this forum just uses the default.
There are no problems I know of in not using the prefix unless you have other plugins that use ‘topic’ and ‘reply’ as part of their permalinks.
So it is a matter of personal choice.
In my opinion, only site owners worry about what the url is !! When I am on any other site, I rarely look at the url, and if I am on say Amazon as I was a moment ago it looked like
https://www.amazon.co.uk/?ie=UTF8&tag=googhydr-21&hvadid=208892259274&hvpos=&hvexid=&hvnetw=g&hvrand=3531407930769062293&hvpone=&hvptwo=&hvqmt=b&hvdev=c&ref=pd_sl_9djqxtzprt_e
π π π
no, this is the bbress support forum π
I help out here, occasionally the authors pitch in but rarely.
But without a site, it is hard to say what your problem is, there are 300,000 installations of bbpress, so if the default didn’t show it would be a well known problem.
Clearly something on your site is preventing the display, but at the moment you are asking me to tell you what is wrong with your automobile by posting a picture of the engine π
hmm… 300,000 sites use bbpress and I’ve not seen profiles being restricted by password on any site running a default theme and bbpress.
are you using
bbPress Genesis Extend
I’d suspect that your theme has had an update then.
As this is a paid theme, I’d suggest you raise it with the theme authors first.
If you want to check you can
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
As I say I don’t plan to change how the default works – you can change that for your site, and yes it does not apply retrospectively
‘I also wanted to ask if there is a way to update that field in forum topics when editing in admin.’
yes just edit the topic.
‘leave a comment’ is part of the comment form, and that is disabled when topics for posts shows. You can add that back on dashboard>settings>discussion>bbPress Topics for Posts Strings>Link text
You can customze two file form-reply.php and form-topic.php .
bbress> templates > default > form-topic.php at line 170
<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> />
β
<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox"checked value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> />
bbress> templates > default > form-reply.php at line 104
<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> />
β
<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox"checked value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> />
Then the topic and reply are automatically subscribed simply.
But the participant can uncheck the checkbox about subscription by himself.
If you do not want participant uncheck the checkbox, you can delete checkbox by CSS.
Put these customized files in your child themeβs folder-bbpress.
on ‘Is it useful to have this function also for pages?’ – it might be for some, and I do not plan to change this at the moment.
On the default – I also don’t plan to change this – there are lost of people using the existing default, and to suddenly change this forcing them to change it back is not good practice. You can of course change it yourself for your site
just given screenshots, impossible to help
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Hello,
I want to add a back link to get back to the page where the bbp-single-forum shortcode was implemented. I currently still have the defaults settings and the forum root is “forum”. So I will only see the single forum but not the page I implemented the shortcode in.
I have more than 1 page with a forum, so I would need to define the wordpress root page for each forum, if it is not possible to detect this dynamically I guess.
Thanks for any help!
– Dennis
Hi there,
Just a quick question,
my replies box (where users type in their comments) is quite large and many people won’t be filling this up, resulting in it taking up unnecessary space on my page. Is there a way to decrease this size as the default and then, if needed, the user can manually increase the size of the box using the increaser at the bottom right?
Thank you
‘reply page’ means content-single-topic.php .
<?php bbp_topic_subscription_link(); ?>
includes> topics > template.php
function bbp_topic_subscription_link( $args = array() ) {
echo bbp_get_topic_subscription_link( $args );
}
/**
* Get the topic subscription link
*
* A custom wrapper for bbp_get_user_subscribe_link()
*
* @since 2.5.0 bbPress (r5156)
* @since 2.6.0 bbPress (r6308) Add 'redirect_to' support
*/
function bbp_get_topic_subscription_link( $args = array() ) {
// Defaults
$retval = false;
$user_id = bbp_get_current_user_id();
$redirect_to = bbp_is_subscriptions()
? bbp_get_subscriptions_permalink( $user_id )
: '';
// Parse the arguments
$r = bbp_parse_args( $args, array(
'user_id' => $user_id,
'object_id' => bbp_get_topic_id(),
'object_type' => 'post',
'before' => ' | ',
'after' => '',
'subscribe' => esc_html__( 'Subscribe', 'bbpress' ),
'unsubscribe' => esc_html__( 'Unsubscribe', 'bbpress' ),
'redirect_to' => $redirect_to
), 'get_topic_subscribe_link' );
// Get the link
$retval = bbp_get_user_subscribe_link( $r );
// Filter & return
return apply_filters( 'bbp_get_topic_subscribe_link', $retval, $r, $args );
}
just found 5 mins to look at this
so installed free sydney theme from wordpress
downloaded and installed child theme from here
https://athemes.com/download/sydney-child-theme/
creates bbpress folder in child theme
copied \bbpress 2.6.6\templates\default\bbpress\content-search.php to child theme bbpress folder
all works fine.
I can only suggest you try
dashboard>settings>permalinks and just click ‘save’ – this resets the permalinks and often fixes 404 errors