Hi sorry, need to clarify a bit….
bbpress.php does render sidebar for forum/topic pages. However the widgets (eg, forums/topics information) that I initially put on the sidebar no longer be visualized.
For WordPress normal page setting, if I change template from default template (page.php) to Magbook Template (magbook-template.php), the targeted page becomes full width, that is why I thought that magbook-template.php is a full width template. Maybe I am wrong.
Hope this would help.
Regards
This is the bbpress.php from my theme:
<?php
/**
* Template Name: Magbook Template
*
* Displays Magazine template.
*
* @package Theme Freesia
* @subpackage Magbook
* @since Magbook 1.0
*/
get_header(); ?>
<div class="wrap">
<?php if( is_active_sidebar( 'magbook_primary_fullwidth' ) && class_exists('Magbook_Plus_Features') ){
echo '<div class="primary-full-width clearfix">';
dynamic_sidebar ('magbook_primary_fullwidth');
echo '</div>';
} ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
if( is_active_sidebar( 'magbook_template_section' )){
dynamic_sidebar( 'magbook_template_section' );
}
the_content(); ?>
</main><!-- end #main -->
</div> <!-- end #primary -->
<?php if( is_active_sidebar( 'magbook_template_sidebar_section' )){ ?>
<aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e('Side Sidebar','magbook');?>">
<?php dynamic_sidebar( 'magbook_template_sidebar_section' ); ?>
</aside> <!-- end #secondary -->
<?php }
if( is_active_sidebar( 'magbook_seondary_fullwidth' ) && class_exists('Magbook_Plus_Features') ){
echo '<div class="secondary-full-width clearfix">';
dynamic_sidebar ('magbook_seondary_fullwidth');
echo '</div>';
} ?>
</div><!-- end .wrap -->
<?php get_footer();
so can you post ypur bbpress.php here please, and let me know if it renders a sidebar or not
so can you post ypur bbpress.php here please, and let me know if it renders a sidebar or not
Hi, after struggling some time trying to make profile page full width, I give up.
The theme I’m using is Magbook. I found that there is only one theme template page that has no sidebar, ie, magbook-template.php. I copied this file to my child theme root directory, and rename it as bbpress.php. However it doesn’t make any changes to the profile page.
I have read some other similar topics, I guess we need to “inject” custom php codes into the bbpress.php. If this is correct, can you provide me the relevant php codes for bbpress.php that make it works?
One more thing I have doubt is that, let say bbpress finally adopted bbpress.php as default template, all other forum & topic pages will turn out no sidebar altogether, I presumed, which is against my wish. What I want is profile page FULL WIDTH, forum/topic page WITH SIDEBAR.
Pls guide me.
Regards
Twenty Twenty-Three theme is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
Hi there! I’m trying to set up a bbPress forum on my WordPress staging site (not live yet, still currently hosted on the WordPress server). I installed bbPress version Version 2.6.9, not sure what WordPress version I’m using but I just set up the site in the past two months. I’m using the Twenty Twenty-Three theme.
I’ve done the initial bbPress setup steps (install and then create a forum and a topic), but I keep getting a blank page when I go to my /forums/ page or or my /jelp/ page (that’s the name of the forum). I’ve deactivated as many plugins as I can, and also cleared my cache, but still getting the same issue. I also went into WP-CONFIG and changed the memory limit to 256M.
I’ve started a WP DEBUG log, and I see this message: “PHP Deprecated: A deprecated web fonts array structure passed to wp_register_webfonts(). Variations must be grouped and keyed by their font family. in /wordpress/plugins/gutenberg/15.0.1/lib/experimental/class-wp-webfonts.php on line 160” — but I’m not sure what to do about it. I did deactivate Gutenberg just to see if it helps, but still nothing.
If it’s worth mentioning, I was also trying the ForumWP plugin previously and getting the same blank screen issue. I’ve since deactivated and deleted ForumWP.
Does anyone have any ideas? Thank you!
I am wondering if there is an API that is up to date which would allow me to reply to topics within my forum?
I have seen there are one or two plugins but I don’t think they are maintained.
Any suggestions how I could do this?
Many thanks!
<?php
register_activation_hook(__FILE__, ‘bbpress_topic_scheduler’);
add_action(‘bbpress_daily_event’, ‘bbpress_delete_old_topics’);
function bbpress_topic_scheduler() {
wp_schedule_event(time(), ‘daily’, ‘bbpress_daily_event’);
}
function bbpress_delete_old_topics() {
// Auto delete old topics
$topics_query = array(
‘author’ => 0,
‘show_stickies’ => false,
‘parent_forum’ => ‘any’,
‘post_status’ => ‘publish’,
‘posts_per_page’ => -1
);
if ( bbp_has_topics( $topics_query ) )
while( bbp_topics() ) {
bbp_the_topic();
$topic_id = bbp_get_topic_id();
$topic_date = strtotime( get_post( $topic_id, ‘post_date’, true ) );
$forum_id = bbp_get_topic_forum_id($topic_id);
if ($topic_date = strtotime( ‘-90 days’) && $forum_id == 17777 )
bbp_delete_topic( $topic_id ); }
}
?>
Inline image WordPress plugin has a free version.
Inline Image Upload for BBPress
I was experiencing exactly the same or very similar on Divi site running bbPress and Memberpress.
I wans’t sure where the issue lay, but it turned out it was with Divi’s Static CSS generation option. ElegantThemes helped me track it down: Divi > Theme options > Builder > Advanced > Static CSS File Generation > Clear.
Clear the static Css file then purge all browser and server-side caching and the acoount profile pages should look as expected now.
You can then pad out the forum profile pages content a little with something like this:
`/* bbPress Account profile pages padding */
#bbpress-forums{
padding: 50px 68px;
}
Hi,
Those you call tags “with a green background” are NOT tags. They are forums. The forum about “Installations” topics, the forum about “troubleshooting” topics, etc.
In bbPress you can enable/disable tags option on the setting page. The TAG option is only for topics, so when a new topic is create the author can add tags (on the field “Tags”) related to the content. If you disable tag option, the field “Tags” wont appear on the new topic form.
Tags help find, sort, display content… it’s up to you.
Regards
bbPress will “adapt” the profile style to your theme templates, so the installed theme must have a full-width template or you can use block layouts.
I’d suspect That you are using one of the new FSE themes, so you need a fix to work with bbpress.
installation.
Install this additional plugin
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
Hi guys,
Hopefully someone can point me in the right direction…
I’ve got 2 private forums on a bbPress install.
I’d like users to be able to select one of the two forums as part of user registration.
Is this possible? I’ve not come across any plugins that can achieve this.
Thanks in advance.
I (new to WP and bbPress) am trying to create forums and topics.
But always, both in my local env and a hosted env, they come up completely blank:
absolutely nothing on the page (as seen in browser page source.
I don’t doubt I’m doing something stupid, but I can’t see what. Any ideas?
I’m following the bbPress steps for creating forums and topics.
Site: dev.californiahcvtaskforce.org
A sample forum: http://dev.californiahcvtaskforce.org/forums/forum/this-is-a-forum-created-on-firefox/
bbPress 2.6.9
I have replicated this problem both on my local env (Windows, various browsers) and my hosted dev site.
I have tried various browsers (Chrome, Edge, Firefox)
I have run the Health Check & Troubleshooting plugin. The problem persists even if every other plugin is disabled.
Ideas?
Thanks, Stephen
What i still found out:
I activate (only) bbPress again and can reach our homepage.
Then i clear all caches from WP Fastest Cache v1.1.1 and i get the error.
Via FTP i deactivate bbPress without clearing the cache and i can reach the homepage
I deactivated all bbpress related plugins too and got the same error. So in my opinion this error is not in the related plugins
Via FTP i deactivated all installed plugins until the error came back and i found out, that this error comes from bbPress.
so with just bbpress, or with the bbpress related plugins you listed above?
Hello everyone,
our provider made a php update from v7.4 to v8.1 (because EOL for php v7.4) the days and after this our homepage wasn’t reachable with the error message in the topic.
Via FTP i deactivated all installed plugins until the error came back and i found out, that this error comes from bbPress.
We have installed:
- php v8.1
- WordPress v6.1.1
- bbPress v2.6.9
- bbp style pack v5.3.5
- bbPress Toolkit v1.0.12
- theme Origamiez v1.3.5
If you need further information please let me know. The forum isn’t public, only for members.
Regards
Filout
I’m getting a 502 error when attempting to use the search functionality. I’ve tried the typical stuff – deactivating all plugins except bbPress, resetting Permalinks, and repairing forums, but still getting the error.
The site is running the stock Astra theme; I tried switching to 2023 and 2022 but when I do, the forum root page doesn’t display. I can’t see it being a theme issue, though, not with Astra.
Any thoughts?
I had bbpress forums set up and working properly on my website until about 2 months ago when emails stopped being sent out with new posts. Now whenever someone posts something, my users do not get an email about it. No idea what changed or how to fix it. Any ideas?
ok i’d suggest the standard fault finding to see where the issue lies viz:
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
I have both bbp style pack and GD bbPress Tools installed could this be the issue?
I just paid for GD bbPress Toolbox Pro and it had a Fatal error trying to install so it didn’t get installed.
Should I remove these two plugins if I’m going to use GD bbPress Toolbox Pro?
bbp style pack REMOVE?
GD bbPress Tools REMOVE?
I have the formatting and linking available on the BBPress but when adding links I still get the Error: Your reply cannot be created at this time.
https://www.taxfreehaven.info/forums/topic/best-real-estate-agents-in-the-bahamas/
Any ideas why these POSTS are being BLOCKED?
