Here in the Codex: https://codex.bbpress.org/import-forums/mingle/
Make sure to read the topic that’s linked at the bottom.
Hello, i need help with an issue! I have two images, and two different profile types, for example – if a user is of type profile a, then they will have image a, else they will have image b. I am assuming that this is a simple if/else statement but i am not sure where to inject the code.
WP Version – 3.8
BBpress Version – 3.5.1
URL – http://goo.gl/cP3yq9
Hi
I have built a large forum over the last few years and now I want to re-build it in BBPress as it is much smoother and easier to run.
Does anyone know if a solutions exists?
I have the same problems from October, updating WordPress and Bbpress in this months doesn’t take any difference. I did a similar solution as pointed above from “Ronthai”, I’ve disabled the “Setting->Forum->Reply Threading” check. The order come back normal but you don’t have nested reply. My solution (as some post above) was to install this small plug-in to add a Quote link: https://wordpress.org/plugins/bbpress-direct-quotes/
I write down my setting for debug propose:
Wordpress: 3.8 (bug present also on 3.7)
Bbpress: 2.5.3 (bug present also on previous version)
Template: NewsPlus
Apache version 2.2.23
PHP version 5.2.17
MySQL version 5.5.34-MariaDB
Architecture x86_64
Operating system linux
The “Forum” link on my admin sidebar (back end) is gone? I also can’t find any settings for bbPress anymore, did it move/get integrated with Buddy Press? I can’t find it -.-
Hey,
I’m pretty sure you have to create that folder and file into your theme’s folder, so wp-content/themes/YOUR_THEME/bbpress/loop-forums.php . 🙂 Sorry if I wasn’t clear with that.
Are “Welcome”, “Deer”, “Hunting”, “Fishing”, “Other outdoors” forums or categories? If they are forums, make them categories by selecting the forum in the forum list, and then from the dropdown menu on the right select Category instead of Forum.
Thank You for that info. I set up the new directory and file like you mentioned. Do I need to do more or should it adapt.
I have the new bbPress folder created under the wp-content/themes folder and added the new php file to it.
Here are the forum pages I am messing with.
The basic forum root averageoutdoorsman.com/forums/
The new page using shortcodes averageoutdoorsman.com/ao-forums/
Nothing has changed in either since I created the suggested files. Do I need to specify the new theme file somehow?
Thanks for your help.
Matt
Hello,
after update WP + bbPress plugin to the latest version I got empty response error on All Replies page in administration (http://example.com/wp-admin/edit.php?post_type=reply). PHP error log shows nothing.
I have no idea what’s wrong.
Thank you for help.
Nevermind, I found it. Thank you for your help.
edit bbpress.css
Look for below id and comment out inline replace with display:block;
#bbpress-forums .bbp-forums-list li {
/*display: inline;*/
display:block;
font-size: 11px;
}
I password protected my most recent blog post and it is causing my BBPress forum searches (using the search widget on this page) to require the same password used for that post in order to return the search results. If I remove the password, the BBPress search no longer requires the password.
I opened a support ticket with the theme designer and he insists that it is a problem with the BBPress code rather than the theme. I was hoping someone could attempt to replicate the issue and/or help me solve my problem.
Thank you!
Hey there!
Yeah, its awesome! Never really liked bbP before I found out a way to layout the forums like that.
Here’s the way I’ve done it (looked it up somewhere, can’t remember where):
1. Create subdirectory called bbpress into your theme directory.
2. Inside the bbpress subdirectory, create a file called loop-forums.php
3. Place this code inside of it:
<?php
/**
* Forums Loop
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php do_action( 'bbp_template_before_forums_loop' ); ?>
<?php while ( bbp_forums() ) : bbp_the_forum();
/* We print the header only if we want to show a category or if it's the first item of a no-parent forum list */
if (bbp_is_forum_category() OR !$bbp_forums_noheader)
{ ?>
<ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
<li class="bbp-header">
<ul class="forum-titles">
<li class="bbp-forum-info"><?php if(bbp_is_forum_category()) { ?><a class="bbp-forum-title" href="<?php bbp_forum_permalink(bbp_get_forum_parent_id()); ?>"><?php bbp_forum_title(bbp_get_forum_parent_id()); ?></a><?php } else { _e( 'Forum', 'bbpress' ); } ?></li>
<li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
<li class="bbp-forum-freshness"><?php _e( 'Last Post', 'bbpress' ); ?></li>
</ul>
</li><!-- .bbp-header -->
<?php } ?>
<li class="bbp-body">
<?php /* If the forum is a category, we're gonna make another loop to show its subforums and sub-subforums as if those were forums */
if(bbp_is_forum_category())
{
$temp_query = clone bbpress()->forum_query;
bbp_has_forums('post_parent='.bbp_get_forum_id());
while ( bbp_forums() ) : bbp_the_forum();
bbp_get_template_part( 'loop', 'single-forum' );
endwhile;
bbpress()->forum_query = clone $temp_query;
}
else /* Otherwise, we print the forums the normal way */
{
bbp_get_template_part( 'loop', 'single-forum' );
$bbp_forums_noheader = 1; /* This prevents the header part to be printed again on next post in the loop */
} ?>
</li><!-- .bbp-body -->
<?php /* Prints the footer only if :
- it's a category
- or if it's the last forum of a no-parent forum list
- or if the next forum in the loop is a category */
if( bbp_is_forum_category()
OR (bbpress()->forum_query->current_post+1) == bbpress()->forum_query->post_count
OR bbp_is_forum_category(bbpress()->forum_query->posts[ bbpress()->forum_query->current_post + 1 ]->ID))
{ ?>
<li class="bbp-footer">
<div class="tr">
<p class="td colspan4"> </p>
</div><!-- .tr -->
</li><!-- .bbp-footer -->
</ul><!-- .forums-directory -->
<?php unset($bbp_forums_noheader); /* Needed if we have 2+ no-parent forums with at least 1 category between them */
} ?>
<?php endwhile; ?>
<?php do_action( 'bbp_template_after_forums_loop' ); ?>
That should do the trick for you! Keep in mind, General, the Guild, Off-Topic etc. that you see in my site, are all categories. Under the categories I’ve made forums where you can actually post. I encourage you to do the same for this trick to work 🙂
Try the repair tools in the admin area. Tools > bbPress
The idea with the full WordPress with bbPress integration is that you can enable/disable certain features.
Some themes already come with a breadcrumb so being able to disable the bbPress one via a tickbox in the admin section would be quite handy, same goes with disabling the sidebar via a tickbox.
I’ll take a look at your theme later see what I can see, at quick glance I’m not too sure what is happening.
BParticipant
After a little digging, discovered my Custom Post Type Permalinks plugin wasn’t playing nicely with bbPress.
Problem and solution (albeit temporary) documented here: https://wordpress.org/support/topic/bbpress-topic-links-in-forums-break
Ultimately, edited the CPTP plugin file directly (ugh) line 290-something
$parentsDirs = "";
if( !$leavename ){
$postId = $post->ID;
if ( !in_array($post_type, array('topic', 'forum', 'reply') ) ) {
while ($parent = get_post($postId)->post_parent) {
$parentsDirs = get_post($parent)->post_name."/".$parentsDirs;
$postId = $parent;
}
}
}
Hi..im trying to create a forum with bbpress…i also have buddypress installed…..however, I notice when testing the forum, that all the “replies” to any forum post for some reason seems to change the avatar to a slightly smaller size, and also the Role Names seems slightly misaligned too.
The odd thing is, the First Post looks fine..it seems that this is only occurring to the “replies” that follow after the first post.
Hopefully someone can understand what I mean & make sense of this….I would appreciate any response that would help.
Thanks!
I recently read that we had a plugin for bbPress Threaded Replies which I guess is now included in the base bbPress, so I deactivated it and then completely reset the fourms. Created the following Fourm and topic.
http://home.outlandcraft.com/forums/topic/outlandcraft-beta-for-1-6-4/
Yet its still not showing the post/reply text that should be there. Does anyone have any helpful ideas that I could attempt? Thanks.
A little background, I have about 0 knowledge of WordPress and especially BBPress. The reason I am here is I am trying to help get some basic forms working that were setup an possibly messed up by a previous admin who is currently MIA. I have figured out my way around WordPress but am at a loss as to why the posts do not display within the topics. Any help would be appreciated.
This is a link to one of the forum topics that had a few post/replies but are not visible.
http://home.outlandcraft.com/forums/topic/test/
No worries
I’m currently investing an alternative solution to bbpress as I can’t find the css
Hi all, I know that to make changes to a theme in wordpress you use a child theme to avoid losing the changes upon updating the files. I am doing this and it works fine.
My issue is doing the same for a plugin. Does anyone have any idea on how to make changes to the css files and some php files without losing the changes when I update the bbpress file?
Any help would be greatly appreciated.
Thanks
Faith
Hi guys! sorry but I forgot to pin the notifications for this post so I just realized about your replies..
it wasn’t very technical actually, but I think it depends a lot on the theme you have.
if just added a conditional into the class of my page template main content and of the sidebar wrap:
<?php if (is_bbpress() || is_page('forum')){ echo "forum_layout"; } ?>
it will have to be added something like this:
<div class="grid__item main float--left <?php if (is_bbpress() || is_page('forum')){ echo "forum_layout"; } ?>">
then is all about css, so it depends on yours. but you should be able to override the interested divs, appending your .forum_layout class in this way:
.grid__item.main.forum_layout {
width:76%;
}
.grid__item.sidebar.forum_layout {
width:24%;
}
then at the same you can override the normal layout fonts, colours, etc.. if something is not considering your new style, try adding !important in this way:
width:24% !important;
hope that’ll help! 😉
Hi @avgmatt — Well, the category is kindda what I had in mind, but still wish there was a built in way in bbpress to structure a forum more like phpBB or vbullentin.
However, if you want the Categories to not be side by side..and List them under the main forum..check this link out. https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/
If you look at #1 – it gives you the exact line of code to put into your CSS to make it inline.
Hope that helps.
Hey all,
Great to hear you are working on your websites 🙂
I am slowly working on a couple of new themes for bbPress and a full WordPress theme as well. The problem with just doing a bbPress theme is that I have no control over what the sidebars class or ids are so it makes it a bit problematic to remove them.
Good luck and keep on building!
I want my forum root to display the a list of forums instead of their parent categories.
I am able to do this using these shortcodes on a page I added myself:
[bbp-single-forum id=10621]
[bbp-single-forum id=10623]
[bbp-single-forum id=10625]
[bbp-single-forum id=10627]
[bbp-single-forum id=10611]
You can see this working on my forum page. This is how I want my forum root to look.
But when navigating the forum, the breadcrumbs link to the ‘real’ forum root. When I add
echo do_shortcode('[bbp-single-forum id=10621]');
to the template file of this page it adds the categories index again (just like [bbp-forum-index] would).
How could I get the individual forums on the forum root OR change the links in my breadcrumb?
Thank!
WP 3.8
bbPress 2.5.1
Website: 24Baby
.post-content #bbpress-forums p
#bbpress-forums is inside .post-content by the look of it?
I would recommend trying to get your theme working with bbPress, in the long run it will be a lot cleaner and easier for you to manage.
Is there anything in particular which is not working with your current theme?