bbpress just uses
posts
post_meta
and for its own settings
options
forums, topics and replies are all post types in wordpress.
go to
Import Forums
for more info including an example importer.
I documented my import from snitz access database when I very first started using bbpress, and you may want to read through that as well in this page
Custom Import
I have installed and activated bbpress and now I would like to make a link to it from the front page. How do I do that?
Hello,
I have a new bbpress site with buddypress integrated (bbpress was installed and set up first.) Admins can see all forums, Participants cannot see Hidden forums, unless it is associated with a buddypress group of which they are a member. The site is jingfangacademy.com
Fixes I have tried:
1. Deactivated all plugins one by one.
2. Tried other themes: 2013, 2015, 2016
3. Tools > Forums > ran all tools
4. Changed user role permissions with third-party plugins: User Role Editor, Members
5. WP and all plugins up to date.
I’ve added no CSS to the site. I’m a novice and I don’t own the hosting account, so I’m hoping to fix this without adding code. I’ve tried all the fixes I could find in related threads.
Thanks for any help!
I tried to do that now and update the file, but still no change.
<?php
/**
* Forums Loop
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic show =5]’) ?>
<?php do_action( ‘bbp_template_before_forums_loop’ ); ?>
<ul id=”forums-list-<?php bbp_forum_id(); ?>” class=”bbp-forums nk-forum”>
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php bbp_get_template_part( ‘loop’, ‘single-forum’ ); ?>
<?php endwhile; ?>
<!– .forums-directory –>
<div class=”nk-gap-2″></div>
<?php do_action( ‘bbp_template_after_forums_loop’ ); ?>
@kdelsimone
If you want the link changed from the topic to the reply, I suggest copying loop-search-reply.php from /wp-content/plugins/bbpress/templates/default/bbpress to your child themes bbpress directory @ /wp-content/themes/theme-child/bbpress
From there you can edit it and change line 25 from this:
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>
to this:
<a class="bbp-topic-permalink" href="<?php bbp_reply_url(); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>
updated wordpress and bbpress to the latest versions, but unfortunately it did not help.
WP: 4.9.1 bbPress:2.5.14
Hi,
I’m using bbPress as a support forum and want to restrict Search Input to search only single forum NOT all forums.
This approach is not working anymore, can anyone help?
How to search a single forum with bbPress
Regards, Duke
I’m using the bbpress & LearnDash Integration plugin. When I click “forum” or “courses” in my WP dashboard, I get a 504 gateway error message.
I’m running WP 4.9.1, with the Divi theme, and the bbpress 2.5.14 plugin and the LearnDash and BBPress Integration 2.0.2 plugin.
I was not having this problem before I added the LD & BBPress Integration plugin.
Any help would be greatly appreciated!
Thanks, @robin-w & @brent0r, for your responses.
Using search, I get exactly as @robin-w describes, which makes sense and is not a problem (for me, at least). The problem I am encountering is that third-party themes and plugins that use the bbpress reply post type redirect to the single reply post as opposed to the post in the topic thread. That is, they go to the reply/number ULR instead of the topic_title/#post-number URL. I’m aware, as @brent0r suggests, that clicking on the post #number in the top right takes the user to the topic_title/#post-number, but unfortunately this isn’t intuitive for my users and it is negatively impacting engagement in my community.
I notice that the bbpress Recent Replies widget redirects users to /#post-number, which is what I am trying to accomplish. I just can’t seem to figure out where that slug is defined, as it is apparently not the same as the bbpress reply post type. I’m assuming I could modify the plugin’s files to behave similarly if I could figure out where to tell it to pull the ULR from.
I wonder, too, if perhaps I should have started a separate thread. I thought the issue I had was the same as @angelorocha, the OP, but perhaps we’re encountering different problems…? My apologies if I’ve hijacked the thread with a different issue. I’m hoping the solution(s) will be the same…
Thanks again for your help. I appreciate this community.
not sure why, but adding show seems to fix
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic show =5]’) ?>
I’ve been thinking this over, and can’t see a simple way to achieve this.
To get something working would involve adding extra fields to a topics meta data, and then filtering the display to catch.
With the forum visible in effect the code for a forum or set of forums would need to (by default) make a topic private using an additional field, and then all the display parameters would need to hide it unless made public. That means closing every back door in search, profiles, displays, freshness all widgets and other areas so that no-one sees it unless set to public, which is one hell of a lot of work, and a large re-write of many bbpress functions.
I could modify my private groups plugin which makes forums (but not content) visible, so that certain topics are shown, but again it is a heap of code. Beyond free help I’m afraid, but if you want to look at that route contact me via my website http://www.rewweb.co.uk
Currently it looks like this:
<?php
/**
* Forums Loop
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic]’) ?>
<?php do_action( ‘bbp_template_before_forums_loop’ ); ?>
<ul id=”forums-list-<?php bbp_forum_id(); ?>” class=”bbp-forums nk-forum”>
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php bbp_get_template_part( ‘loop’, ‘single-forum’ ); ?>
<?php endwhile; ?>
<!– .forums-directory –>
<div class=”nk-gap-2″></div>
<?php do_action( ‘bbp_template_after_forums_loop’ ); ?>`
Hi there!
I have been trying to following this guide to add a list of recent topics before the forum categories: https://www.daggerhart.com/bbpress-recent-replies-shortcode/
I have put the code in the functions.php file, and <?php echo do_shortcode(‘[bbpress_recent_replies_by_topic]’) ?> in loop-forums.php
After having done this the code isn’t visible, so I am wondering if I have made a mistake. Could anyone be so kind and shed some light on how to make this work?
My forum can be found on http://www.talanrien.com/forums
I am running WordPress 4.9.1 with Bbpress version 2.5.14
As a bonus question I was also wondering if anyone know if it’s possible to ad a shoutbox/chatbox at the bottom of the forum?
Thank you!
Best wishes,
Kasper
bbpress with a default theme (eg twentseventeen) will do the following
- search for say ‘hello’
- bbpress will produce all single topics and single replies that match this (which could be many)
- for a reply you will see the reply with the words In reply to :the topic name as a link
- click the topic name and you are taken to the topic
If this is not what you are getting, then come back
OK. So, I agree with, and understand, what you are saying.
And it confirms that, yes, indeed, private forums (for non-logged-in visitors) returns a 404 error.
So, this put’s us back to my original question.
“I want the forum page to only be viewed by, and posted to, by loggedin members. If a non-loggedin member goes to the forum, I want them to get a notice saying “must be logged in to view this page”.
It appears this is not possible within bbpresss. Correct?
So, I will try the plugin you mentioned.
Thanks much.
Ha! Sorry, been a long day 😉
We want non-members to only view entire threads that we designate as public, without being able to post anonymously. But we still want them to appear in the forum index, rather than disappearing entirely as BBPress private groups does when setting a thread to ‘private’.
There might be one thread, for example, that we feel is interesting to the general public and we want non-members to see. However, there are going to be a few threads with information that we generally wouldn’t want non-members to see, only people who have a proven interest in our forums.
I know it’s a bit of a long-shot, but worth a try 🙂
Hi guys,
I’d like to lock certain threads to non-logged in users but keep them visible along with the public topics. Because we’re keen to attract new members, we want to show them a) that we’re not a dead forum b) the topics are interesting and worthwhile and c) they can still view the public threads without becoming members.
I’ve installed the private groups plugin but I haven’t been able to select threads this way. Am I missing something, or is this even possible?
Any help would be greatly appreciated 🙂
Thanks
WP Version 4.9.1
BBPress 2.5.14
ok, thanks that helps.
ONE
you have set the forum to private in dashboard>forums>all Forums>do-i-quality>edit and visibility options on the right hand side in the forum attributes set to private.
A private forum is one that is not public, so its existence is also not public. It therefore returns a 404 error to someone not logged in, as bbpress doesn’t know the difference between a user who is not logged in and any member of the public. Once logged in they see the forums. Most users click the remember me button and save passwords in their browser. When not logged in they will not see the existence of the forums. If you want the forums to be visible, then the private groups plugin above will do that.
TWO
This is simply a forum with dashboard>forums>all Forums>bylaws>edit and visibility options on the right hand side in the forum attributes set to public.
THREE
I’ll look through the wording again to see if I can make it better – I did write it some time ago, and probably due for a review but the settings are in there viz
Forum visibility:
Public – Anyone can see these forums
Private – Only logged in registered users with a forum role can see these forums
Hidden: Only Moderators/keymasters can see these forums
Visibility is set for each forum, go into Dashboard>forums> and when you add/edit a forum, you will see visibility options on the right hand side in the forum attributes.
By default forums are available to be publically viewed. If you set anonymous posting to be on (see 4. Above) then anyone can also post.
When someone says “this forum sucks” it’s pretty difficult to not take it personally, it does sting, and let’s not leave out the point that it’s incredibly disrespectful regardless of their open source knowledge this type of behaviour is not welcome here, and will not be tolerated either, @benjieblock is now banned from posting on these bbPress.org forums.
@rblackfox You question why Robin even does it, if you had read the reply and to which he has every right to reply, and I’ve no issue with his reply, and he has mine and bbPress’ full support, Robin spends countless hours here on bbPress.org helping others and he pointed out why he does it in his reply:
I’m just a guy who uses this software, and in turn spends some of my time in trying to help others.
You state you contribute to the larger community @rblackfox, yet your first interaction on any WordPress property is to criticise a others behaviour here, well you’re also no longer welcome here on bbPress.org, you’ll need to take your own advice from now on and use stackoverflow.
I dont appreciate the attitude Moderators seem to have, especially when you’re not even an author. I’m pointing at you @robin-w. If contributing to an open source forum is such a big deal and time drain to you, why even log on and do it? You ask what do I expect? Well I expect every one of you moderators to have a chip on their shoulder when answering any benign question one might have. What I don’t expect is any empathy or acknowledgement that normal users understand what goes into making open source applications. We may not contribute to this forum but we sure as hell contribute to the larger community in other ways. You’d rather write a novel showing your moral superiority than answer the question. “If someone gave you a car for free, would you then tell them that they suck because they don’t come and service it for you?” No I would return that lemon immediately and complain because they suggested it was a car that worked and it doesn’t. Just like you I am also frustrated with stuck up moderators who would rather shut down users than actually help. Maybe you’ll look at it tomorrow? typical. Just tell me to go to stackoverflow why don’t ya. Moderators like you are why I avoid bbPress and other automattic free software like the plague. If you’re doing this just to feel appreciated, stop.
Hello everyone. I was wondering if there is a complete list anywhere for the bbPress plugin of all the functionalities available to the end-user, a general forum user on a wordpress site using bbPress. For instance, having a list of before and after of code and examples to demonstrate what is available and how it works.
For example: the functionality of some of the quicktags is a little ambiguous in what they do. There are some code option for smileys but how many and what they are is unknown. There are options to address previous users in the forums. Ability to embed youtube by placing a link. I am not sure if this is all bbPress on the sites I use as they could be using multiple plugins but having a comprehensive list on what is available for bbPress would be quite handy. Maybe this already exists somewhere but I have not been able to find it as all advice answeres is catered towards the technical end of implementation not general users.
If I could also make a request for such a user help list to be included in the bbPress plugin in something like a drop down or expandable Help List of all available functionality for general users.
It would be great for end-users to be able to utilise this plugin to its full potential but its near impossible to know what that is without a fair bit of trial-and-error. Like I said – maybe this is listed somewhere but it would be great if it was included in the actual plugin design.
Thanks.
Thanks for the link. I will check out your plugin. It may be what I need. Though still wondering about access control.
I am mostly confused by the “FORUM ACCESS” that is described here,
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#5-%c2%a0forum-visibility-and-access
It talks about viewing and posting permissions but doesn’t say WHERE it is. It is very frustrating.
Anybody know if these settings really exist and WHERE they are. Thanks.
When disabling that theme does the layout change? To me there looks like something else changing the layout, if you haven’t played around with it in anyway.
Try disabling any plugins too, if you have any.
Failing that, is this your first time installing bbpress? How did you go about installing/setting it up?
When I use your code above, I get the 3 last posts without a link on the date/time.
When I am not using your 3 last posts code (different site) from above, bbpress naturally links the last post.
How would I best go about removing just the link from a single last post in that example?
I’ve figured that I could use your code as above but change to ($count == 1). I’m obviously not experienced with writing code but to me it seems an excessive way to go about it.