My bbPress installation is customized a little and has subscribe and favourite buttons in a different place. Since 2.6 extra favourite and subscribe links are appearing in the lead topic header. Is there a way to remove the default ones and keep the ones generated by <?php bbp_topic_favorite_link();?> and <?php bbp_topic_subscription_link(); ?>?
I use User Role Editor to allow subscriber to add Forums. Then, I put the Forum creating shortcode on a page.
I’m using bbpress not buddypress.
However, I want to restrict the Topic creator to only be able to create a Topic inside of the Forum they created. Is there a way to do that?? Thanks!!
You don’t have to manually moderate. You can switch off moderation for bbPress. There is a temporary plugin to do it. I have moderation switched off.
Up to you.
ok, try this instead
#bbpress-forums ul.forum-titles li.bbp-forum-info
{
font-size: 10px !important ;
}
#bbpress-forums ul.forum-titles li.bbp-forum-topic-count{
font-size: 10px !important ;
}
#bbpress-forums ul.forum-titles li.bbp-forum-reply-count{
font-size: 10px !important ;
}
#bbpress-forums ul.forum-titles li.bbp-forum-freshness{
font-size: 10px !important ;
}
bbPress Notify (No Spam) plugin supports that out of the box.
I have inherited a bbPress installation that has an issue, which I am not sure is to do with how bbPress works out of the box, is a configuration setting, or is as a result of customisation.
When an email is sent notifying of a reply to a topic, the reply link in the email takes the user through to a page that only shows the reply with no link through to the topic that has been replied to.
The URL is of the form: https://mywebsite.com/forums/reply/46572/
and the template looks like this:

Is it possible to either:
- Include a link in the template to go back to the topic, or,
- Have the link that is sent out in the email go to the topic, but with an ID ref to the reply, in this example:
https://mywebsite.com/forums/discussion/my-topic-slug/#post-46572
Are either of those possible, and if so how might I go about configuring bbPress appropriately?
TIA!
Sadly I had to publish my site with the old 2.5.x I’ve managed this by changing the version number of the plugin in bbpress.php and readme.txt to some insane version number which will never be hit in the near future.
I would still love some pointers on how to implement the pagination of treaded replies, which works with the hack for 2.5.x version of bbpress.
no, that probably wasn’t the problem, if you had been on version 5.x then that might be the issue.
If php version doesn’t fix then it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
Then come back
Hi @gingerngo, I don’t have Press Permit plugin but still have this isue. So it must be the bbpress itself.
Wonder if anybody here have found a solution?
According to the trac it states:
Add bbp-has-subforums if forum has subforums
Why am I not seeing this class present in the latest version of bbPress 2.6.4?
I saw this discussion:
a way to check for subforums
It implied it was fixed in bbpress 2.1:
https://bbpress.trac.wordpress.org/ticket/1803
But I don’t get it.
This is a sub forum with child forums:
<a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/">Midweek Editor</a>
This is a forum with no child forums:
<a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/assignments-editor/">Assignments Editor</a>
As you can see, the code is exactly the same. I understood from the associated discussion that the forum with child forums would have a additional class specified so that we could use pseudo before / after to add a symbol to indicate it is a forum with sub forums.
Or do I have to go about this differently?
I am using bbp style pack.
Thanks for shedding any light on this.
I have the same problem (variable mismatch message when trying to merge forum topics) and would appreciate resolution advice. Thanks.
This problem is relatively new for me, as the function had worked fine for several years until the last few months.
WP 5.3.2
PHP 7.3.14
bbPress 2.6.4
Hey Guys,
Since bbPress v2.6.4 undefined variable message appears in both admin and frontend pages
Notice: Undefined variable: topic_id in [PATH]\wp-content\plugins\bbpress\includes\replies\template.php on line 456
Notice: Undefined variable: topic_id in [PATH]\wp-content\plugins\bbpress\includes\replies\template.php on line 461
Notice: Undefined variable: topic_id in [PATH]\wp-content\plugins\bbpress\includes\replies\template.php on line 467
I found variable [topic_id] inside two if statements in function [bbp_get_reply_url] so I think that you should move the variable definition in the function scope not inside the if.
If you google that [undefined variable: topic_id replies\template.php] you will find that a lot of online forums using bbPress generate that error in the front-end pages.
P.S. some people taking about BuddyPress but I think it should be fixed in the bbPress functions.
Thanks
The best I can suggest is
GD bbPress Attachments
If you want better than this, then contact the developer https://www.dev4press.com/ Milan does bespoke development as well
its all about your phpBB version, i have like your issue before edited the script converter 🙂
mine is phpbb 3.2.9, i mapped the corrent column in the script convert : phpBB.php
i have a heavy phpbb forum : 16 forums, 3000 topics, 95000 posts, 3000 users, all successfully imported in bbpress 2.5
here my fix :
phpbb 3.2.9 fix bbpress import
enjoy it
hello, about phpbb 3.2.9, i mapped the corrent column in the script convert : phpBB.php
i have a heavy phpbb forum : 16 forums, 3000 topics, 95000 posts, 3000 users, all successfully imported in bbpress 2.5
here my fix :
phpbb 3.2.9 fix bbpress import
enjoy it
hello, about phpbb 3.2.9, i mapped the corrent column in the script convert : phpBB.php
i have a heavy phpbb forum : 16 forums, 3000 topics, 95000 posts, 3000 users, all successfully imported in bbpress 2.5
here my fix :
phpbb 3.2.9 fix bbpress import
enjoy it
hello, about phpbb 3.2.9, i mapped the corrent column in the script convert : phpBB.php
i have a heavy phpbb forum : 16 forums, 3000 topics, 95000 posts, 3000 users, all successfully imported in bbpress 2.5
here my fix :
phpbb 3.2.9 fix bbpress import
enjoy it
@robin-w, @hydrogriff:
Hi, for me, the CSS styling issue is definitely a theme problem. In my styles.css file I have additional CSS for the styling of BBpress forum.
#bbpress-forums .bbp-forums-list li {font-size: 11px;}
I simply removed this line (font-size) from my style sheet and the standard BBPress kicked in.
@hydrogriff – ok, not sure that I ma goung to be able to help much further.
I can only suggest it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
Then come back
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 125 van het bestand /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-content/plugins/bbpress/includes/users/engagements.php. Foutmelding: Uncaught Error: Call to a member function get_users_for_object() on null in /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-content/plugins/bbpress/includes/users/engagements.php:125
Stack trace:
#0 /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-content/plugins/bbpress/includes/users/engagements.php(146): bbp_get_users_for_object(12108, ‘_bbp_moderator_…’, ‘post’)
#1 /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-content/plugins/bbpress/includes/forums/capabilities.php(125): bbp_is_object_of_user(12108, 547, ‘_bbp_moderator_…’)
#2 /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-includes/class-wp-hook.php(288): bbp_map_forum_meta_caps(Array, ‘moderate_forum’, 547, Array)
#3 /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#4 /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-content/plugins/bbpress/includes/core/sub-actions.php(523): apply_filters(‘bbp_map_meta_ca…’, Array, ‘moderate_forum’, 547, Array)
#5 /var/www/vhosts/lvlb.nl/community.lvlb.nl/wp-includes/cl
Regarding the first code, you are right. This dequeues bbPress related style-sheets for most of the users who don’t visit forum page.
The second code highlights the lead topic, like it does on this forum. I used the code from the codex.
unless I am not understanding you, every other forum I have seen does what bbpress does
Dear Robin,
thanks for coming up with a solution but this is not working for me. Because of two reasons, if I create a page for every forum (and subforum I am using), I don’t have real forum overview anymore.
The second reason is, I am using BuddyPress, where people can create facebook like groups. Those groups will get there own forum, which won’t appear on the site if I do it this way.
So it looks like I have to do some tweaks to the code that adds topic title to the output. Honestly it’s really weird that bbPress is behaving like this. I’ve never seen a forum that doesn’t show a titles on the front page.
ok it is showing what I would expect.
topics are shown only when you go into each forum which is standard bbpress behavior.
If you would like all the forums listed with titles, then create a WordPress page for your firums and put a list of forums in it as shortcode
[bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
so for instance out this on a page
[bbp-single-forum id=32]
[bbp-single-forum id=33]
[bbp-single-forum id=34]
.