what bbpress role does the person have? if admin, and they see the ip address in replies, you could put the email under this using
add_action ('bbp_theme_after_reply_author_admin_details', 'rew_show_email') ;
function rew_show_email () {
$user_id_rew = bbp_get_reply_author_id () ;
$user_info_rew = get_userdata($user_id_rew);
$email = $user_info_rew->user_email;
echo 'Email: '.$email ;
}
put this in your functions file
https://codex.bbpress.org/functions-files-and-child-themes-explained/
If I understand you correctly you want to amend a file in
wp-content/plugins/bbpress/templates/default/bbpress/
The easiest way is to copy the relevant file to your child theme
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress and copy the file there eg
wp-content/themes/%your-theme-name%/bbpress/loop-forums.php
bbPress will now use this template instead of the original
and you can amend this
You can also add a location – for instance within a plugin I use I add a location using :
add_action( 'bbp_register_theme_packages', 'bsp_register_plugin_template1' );
//get the template path
function bsp_get_template1_path() {
return BSP_PLUGIN_DIR . '/templates/templates1';
}
function bsp_register_plugin_template1() {
bbp_register_template_stack( 'bsp_get_template1_path', 12 );
}
Hi,
I want to override a template part in a plugin
there is a filter on bbp_get_template_part but also in the comments of template-functions.php it mentions you can also add a new location to the template stack.
Which is the best / most future proof method of these to, for example, override the loop-forums.php template part within a plugin.
Thanks in advance for the replies.
Hello!
I am installing fresh bbPress forums and I am stuck with the following recommendation.
Prefix all forum content with the Forum Root slug (Recommended)
I could not find a reason to why is this recommended. What happens if I do not use the prefix? I would like to keep the URLs shorter but I do not know the consequences of avoiding that prefix.
Kindly help me understand this recommendation.
Thank you

bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Good day, I’d like to find out from you if is is possible to parse the glossary terms that come up in the heading of my forum. In other words, I do not want the words that are linked to my CM Tooltip plugin to be highlighted in the headings of my forum topics so I need to wrap the term in [glossary_exclude] [/glossary_exclude] within the template.
For examples of what I mean, see the headings in the links to these topics:
http://www.pdsnet.co.za/index.php/forums/forum/investment-advice/ – the word “investment” is highlighted
http://www.pdsnet.co.za/index.php/forums/topic/elimination-of-the-bears/ – the word “bears” is highlighted
Wordpress Version 4.5.3, bbPress Version 2.5.10
Thank you
Yes, running Akismet. It does a great job of flagging WordPress spam posts. I did not realize that apparently Akismet also flags bbPress forum topics and replies, putting them in “spam” sections. I will now keep an eye on those areas.
Hi,
I have recently installed BBPress for WordPress. When I create a new topics I can see the counter for topics & posts gets updated, but the topics do not show up under the forums. I can see the topics in my wp-admin area or when I make them sticky.
Site: http://www.vegecravings.com
Forum Link: http://www.vegecravings.com/forum
Theme: Evolve
Wordpress version: 4.5.3
BBPress version: 2.5.10
I rewrote the caching part of freshness output… However, the patch in bug #2414 fixed my issues, so I don’t need this workaround anymore.
I already know how to do CSS. How do I make a template for the bbPress Topic page?
ah, now I can see what you mean.
Yes that’s buddypress not bbpress – try their support forum
https://buddypress.org/support/
I appreciate your willingness to help. š It’s not functionality that I want to customize at this time. Right now, I’m only really interested in getting the pages to integrate/fit well with my site. That is, I need to integrate it with my theme.
Perhaps if we look at this from the other end the problem will be easier to understand:
My plan at present is to develop a new template page within my theme to handle bbPress Topic pages. This new page will adopt elements (mostly copy/paste style) from one of the bbPress files (plugin-bbpress.php, bbpress.php, forums.php, or forum.php). I’m confused as to which of those files should be used for displaying bbPress Topcic pages (e.g. sopearly.com/topic/welcome-to-the-sopearly-community/).
If I had to guess, I would start by copying & modifying forum.php into my new template. Would that be correct?
hmm.. The only way I can immediately think of is to modify loop-topics
so
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
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.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/loop-topics.php
bbPress will now use this template instead of the original
and you can amend this
so in that file you will see
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
<?php endwhile; ?>
you would need to check with forum the user is in and then custom display
so something like – you’d need to write the code – this is just words !
<?php
if (forum == the one you want to change) {
then make an array of the ID, and then cycle through them
foreach ($topics as $topic) {
bbp_get_template_part( 'loop', 'single-topic' );
}
}
else { ?>
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
<?php endwhile; ?>
<?php } ?>
which of the files …I should be using to customize the bbPress topic page…which file name I should rename it to
You’ll need to say what customisation you want to do, as that will affect my answer, if you can detail what you are after, I’ll try to help, but I do need details as I said above. I’m not trying to be awkward, just trying to help !
@aeneas1 I don’t think that plugin should be hosted on wordpress plugins, and I’ve asked the plugin review team to see if it violates the plugin rules.
There is an import phpbb in the bbpress software – I think you may have seen it
Dashboard>tools>forums and you can select phpbb – did you have an issue with this?
You are correct. There is no functionality missing, and I am trying to get the bbPress pages to look like they fit with the rest of my site (i.e. background and header–theme elements). My last reply (#176623) was badly mangled by the auto-populated page elements from my site (did not see that coming), and Akismet keeps blocking my posts, so I have no idea when anyone will see this. :”’ (
Please correct me if I am using the wrong approach, but what I am trying to do is figure out which of the files at wp-content/plugins/bbpress/templates/default/bbpress that I should be using to customize the bbPress topic page (e.g. ‘sopearly.com/topic/welcome-to-the-sopearly-community/’) and which file name I should rename it to: plugin-bbpress.php, bbpress.php, forums.php, forum.php.
I realize I’m having a lot of trouble with this. Thanks so much for your help. š
do i need both bbpress and buddypress?
Depends on what you might need for your site, but technically no.
assuming i donāt āneedā both, is it advantageous to have both?
Having BuddyPress allows you to use Group Forums, wordpress toolbar notifications for new topics and replies, better profile and custom profile fields, Members page, and a bunch of other stuff that might be useful if you want a more featureful forum.
do i need a wordpress page? i thought this was the case, so i registered and signed up for an annual wordpress account.. now that iāve installed bbpress, it appears that i donāt actually need a wordpress page or an annual account, is this correct?
You don’t need a page, its not on the recommeded requirements for set up in my opinion. It might be required for a workaround for a theme/bbPress related bug. What do you mean by annual account? Just so you know bbPress won’t work on wordpress.com sites, and only self hosted ones.
how do i import a phpbb 3.1 forum into wordpress? i read the tutorial but a phpbb import tool isnāt included among the other import toolsā¦
for 3.1 phpbb forums look into using bbPress 2.6 alpha, because the current version of the phpbb import in the stable version of bbPress does not work for version 3.1 phpbb forums.
my goal is to set up a phpbb-type forum/discussion, iām not interested a wordpress blog or the like, just a discussion board. is this something i can achieve with bbpress, bbbuddy, the combo of both?
Its possible to create a forum with some features sort of like phpbb with the help of BuddyPress and bbPress, and quite possibly some other plugins that might be useful.
itās enough to send a prospective wordpress user running in the direction of other alternatives
bbPress has a forum import tool in Tools > Forums > Import Forums (free and open source code, so any dev can just improve the program how they want then official devs can commit changes or not).
no experience with wordpress or bbpress but it looked great so i installed it… next up was an attempt to “import” my phpbb data to bbpress using the dashboard import tool but, sadly, a phpbb install plugin was not among those listed in the dashboard so i had to search the plugins directory… not knowing which one was best, i blindly chose the “CMS2CMS: phpBB to bbPress Forum Convertor” and began the migration process.. well surprise, surprise, shortly after the program began the migration a popup window reared its ugly head asking for $38 in order to complete a full migration… what the f is that all about? so is the wordpress life? wordpress plugin life? plugins are listed with no indication that they cost x amount of dollars until after you install the thing and try to use it? what sort of nonsense is that? how does this practice fly with wordpress? it’s enough to send a prospective wordpress user running in the direction of other alternatives, good grief…
i’m having a bit of a tough time understanding the wordpress flow and my exact needs in order to setup a standalone wordpress-based forum…..
– do i need both bbpress and buddypress?
– assuming i don’t “need” both, is it advantageous to have both?
– do i need a wordpress page? i thought this was the case, so i registered and signed up for an annual wordpress account.. now that i’ve installed bbpress, it appears that i don’t actually need a wordpress page or an annual account, is this correct?
– how do i import a phpbb 3.1 forum into wordpress? i read the tutorial but a phpbb import tool isn’t included among the other import tools…
my goal is to set up a phpbb-type forum/discussion, i’m not interested a wordpress blog or the like, just a discussion board. is this something i can achieve with bbpress, bbbuddy, the combo of both? or for a standalone forum is phpbb actually recommended over a wordpress-based option? thank you for your time.
Hi!
Weāre migrating from IPB to Buddypress/bbpress and now Iāve got some questions. With IPB we had the possibility to attach different rights to certain topics/forums. For example: we got a crew-forum, with all kind of topics in it. These topics and forum are only visible for crewmembers, ānormalā members canāt see this topics. Is there a way to manage this in Buddypress? Maybe with a plugin or something?
Thank you very much!
Greetings,
Aluarth
Hi,
Thanks for such a well thought out plug-in and this forum. I am a *total* newbie at this… and this seems totally confounding to me. Your help will be appreciated.
Apparently when I enable bbpress, it adds an option for the user to delete themselves off of the right hand menu, with Settings etc.
This plug-in is being proposed to be used in a wp-based intranet.
See, we don’t want the users to annihilate themselves. So it seems like a bug, not a feature, if I can’t disable it.
Thanks
Thanks, Robin. I’ve already done that for the Forum Index and Forum pages. In concert with a few .htaccess redirects, it works fine, as can be seen here:
https://sopearly.com/forums/
https://sopearly.com/forum-introductions/
Any links to the bbPress-generated https://sopearly.com/forum/introductions/ are redirected to https://sopearly.com/forum-introductions/.
Redirect /forum/introductions/ https://sopearly.com/forum-introductions/
The biggest problem I am having right now is with the Topic pages, since I do not have control over which discussion topics be created by my users in each of the forums; the Topic page links are automatically generated by bbPress. Here is a good example:
https://sopearly.com/topic/welcome-to-the-sopearly-community/
I can make the colors, spacing, etc. match the rest of my site with a little work, but the page backgrounds and header are managed by the theme I’m using. What I’ve been able to gather by the reading I’ve done is that I should be able to take the contents of one of the files located at wp-content/plugins/bbpress/templates/default/bbpress, insert that into the appropriate (copied) theme file (single, template, etc.), and rename that file to one of the following:
- plugin-bbpress.php
- bbpress.php
- forums.php
- forum.php
I can get with my theme’s support to find out which of their files I should start with, but (unless you think there is a better way) I guess my question is which of the files from wp-content/plugins/bbpress/templates/default/bbpress should I use, and to which of the four filenames should I copy it in my child theme? Thanks so much for your help. š
I found this plugin that takes all the usernames that are commented on a post and makes the link go to a different page. I’m trying to make it call the bbp_user_profile_url. This way, when the link of a user is clicked on from the comments it goes to the users bbpress profile.
My PHP is a little rusty, so I deliberately coded this wrong hoping someone can see what I’m trying to accomplish. My code modifications are at the very end.