Inside bbpress/templates/default/bbpress-functions.php
yes that one.
You can place a copy of the file right into your child theme and customize it from there.

You can do the same thing for the other files in bbPress too.
Theme Compatibility
use my code it functions but please Read Carefully
@reminisce32
Stick with purging the installation there, but it has worked for a user by just using sql code.
@hayleyadanner
Go into a single forum by selecting a forum in the forum list in the left sidebar or go to this url and create a topic.
Create New Topic
I can’t get this to work. That go in the theme’s stylesheet? I’m still getting the pesky sidebar. I’ve tried everything, read tons of posts, Why isn’t “hide sidebar” a standard option? It’s like going into a coffee shop and them telling me there is no milk or sugar to put in my coffee. lol, sorry for being sarcastic this is just very stressful.
I created a new page, I added the shortcode, I choose the template with no sidebar on the page I created, and bbpress just ignores it completely. Is that code meant to go in the bbpress css file, that makes no sense to me since it’s a plugin. Maybe it’s the theme I’m using.
I am standing up a forum for posting backgammon positions.
The two commonly used pieces of backgammon software export html board positions
using a relative path to an images file. i.e

How do I make bbpress think that this folder structure exists and point it to a folder with these gifs in it? I have been searching all over the place and haven’t been able to find a clear answer.
Thanks,
Robert
<!-- Score -->
<strong>Match to 5 points - gnubg 0, Robert 0</strong>
<!-- End Score -->
<!-- Board -->
<table style="page-break-inside: avoid"><tr><th align="left">gnubg</th><th align="right">167</th></tr><tr><td align="center" colspan="2"><img src="../Images/n_high.gif" style="vertical-align: bottom" alt="" /><br />
<img src="../Images/o_w_0.gif" style="vertical-align: top" alt="" /><img src="../Images/p_up_b_2.gif" style="vertical-align: top" alt="2O" /><img src="../Images/p_ud_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_up_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_ud_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_up_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_ud_w_5.gif" style="vertical-align: top" alt="5X" /><img src="../Images/b_up_0.gif" style="vertical-align: top" alt="" /><img src="../Images/p_up_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_ud_w_3.gif" style="vertical-align: top" alt="3X" /><img src="../Images/p_up_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_ud_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_up_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_ud_b_5.gif" style="vertical-align: top" alt="5O" /><img src="../Images/c_up_0.gif" style="vertical-align: top" alt="" /><br />
<img src="../Images/b_center.gif" style="vertical-align: top" alt="" /><img src="../Images/c_center.gif" style="vertical-align: top" alt="" /><br />
<img src="../Images/o_b_0.gif" style="vertical-align: top" alt="" /><img src="../Images/p_dd_w_2.gif" style="vertical-align: top" alt="2X" /><img src="../Images/p_dn_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dd_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dn_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dd_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dn_b_5.gif" style="vertical-align: top" alt="5O" /><img src="../Images/b_dn_0.gif" style="vertical-align: top" alt="" /><img src="../Images/p_dd_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dn_b_3.gif" style="vertical-align: top" alt="3O" /><img src="../Images/p_dd_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dn_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dd_0.gif" style="vertical-align: top" alt=" '" /><img src="../Images/p_dn_w_5.gif" style="vertical-align: top" alt="5X" /><img src="../Images/c_dn_0.gif" style="vertical-align: top" alt="" /><br />
<img src="../Images/n_low.gif" style="vertical-align: top" alt="" /></td></tr>
<tr><th align="left">Robert</th><th align="right">167</th><th align="center" colspan="2"></th></tr><tr><td align="center" colspan="2"><span style="font-size: 75%; color: #787878">Position ID: <tt>4HPwATDgc/ABMA</tt> Match ID: <tt>cAmgAAAAAAAA</tt><br /></span></td></tr></table>
<!-- End Board -->
<p>• Robert doubles</p>
<!-- Epilogue -->
<!-- Output generated by GNU Backgammon 1.04.000-mingw 20141021 (http://www.gnu.org/software/gnubg/) (HTML Export version 1.235) -->
I’m literally crying over here.
I’ve been trying at this for days. Go here, change this, do that is so vague. Not everyone is a coder.
I have tried adding this code to css, that template to bbpress files on cpanel
I just want to be able to READ MY FORUM POSTS.
The main page is okay. Click on a topic, the whole thing is grey, white/ you can see the writing but its as if there is a white overlay over the whole thing.
I feel like breaking my computer and screaming as this is really stupid.
http://www.thebestinformationever.com/forums/topic/curly-hair-help/
It seems to me that when they were added (through the dashboard, not the forum) they were not liked by the server.
I couldn’t duplicate this issue you are getting by not assigning a reply a topic and forum.
You can try these steps listed in this guide to possibly resolve an internal server error.
https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error
I’m running a local host with xampp and getting this error when trying to run a test forum. I have done all the forum repairs and still have the same issue.
Can anyone explain on what line exactly this function code should be applied and how it should look. Screen shot perhaps? I have no experience in php but doing everything I can to learn as much as possible.
i found this solution:
<li class=”bbp-body”>
<?php while ( bbp_topics() ) : bbp_the_topic();
if(isset($_GET[‘submit’]) && !empty($_GET[‘ort’])){
$ort = get_post_meta( bbp_get_topic_id(), ‘ort’,true);
if($ort==$_GET[‘ort’]){
//do_action( ‘bbp_template_before_topics_loop’ );
bbp_get_template_part( ‘loop’, ‘single-topic’ );
}
}
else{
do_action( ‘bbp_template_before_topics_loop’ );
bbp_get_template_part( ‘loop’, ‘single-topic’ );
}
endwhile; ?>
The problmem is, that when I have 2 results the 2 topic are broken to 2 pages (I see an pagination für evtry topic) – how can I avoid this ?
You do not need to put the forum index shortcode in a page. And you can add content above the forum by editing the forum archive template if you copied it in a child theme in a folder called bbpress.
The actual forum index/root page is the one that the forum list button is redirecting to.
This issue is now finally resolved. After a long battle, the web host came back to me to ask me to put the following code into .htaccess:
FileETag None
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
They said the following: This should prevent my website from being cached by Apache and may help to solve this issue. The website is not currently sitting behind their caching
server so this cannot be the cause of the issue but Apache itself can cache
sites so perhaps this will help to resolve the issue.
This may help others having similar problems.
Last but not least, my heartfelt thanks to @robkk and @casiepa for their steadfast support without which I would have coped very badly. @robkk tirelessly tested every possible issue under the sun. Huge thanks again to both of them. All in all, everything pointed to a caching problem on the server side.
Ok guys i did it for myself
In style.css (appearence -> editor) add this
.bbpress #secondary {
display: none;
}
#secondary is your widget / sidebar
then add
.bbpress #primary {
margin: 0 auto;
max-width: 980px;
width: 100%;
}
#primary is the part of the page that you want to be full width
i have the same problem but the code did not work, got any idea of how can i solve it?
empleoschihuahua.com/foro/
is mywebsite
ty
If it is only those two items, you could be able to float the other item to the right and if the unordered list is floated to the left it will make the profile link the first item.
li#menu-item-2679 {
float: right;
}
Are you just using the_author and the_modified_time to just display 1 revision log. You can use the default revision logs and then use a function or some CSS to display 1 revision log instead.
PHP functiion, place in your child themes functions.php file or in a functionality plugin.
// Only return one entry for revision log otherwise it gets cluttered
function bbp_trim_revision_log( $r='' ) {
$arr = array( end( $r ));
reset( $r );
return( $arr );
}
add_filter( 'bbp_get_reply_revisions', 'bbp_trim_revision_log', 20, 1 );
add_filter( 'bbp_get_topic_revisions', 'bbp_trim_revision_log', 20, 1 );
CSS snippet, place in your child themes style css or in anywhere else you can place custom css snippets like a custom css plugin.
.bbp-topic-revision-log li {
display:none;
}
.bbp-topic-revision-log li:last-child {
display:block;
}
Thanks for the suggestion @casiepa but I have a large and well established Buddypress based community and cannot rebuild the groups. Unless it works with Buddypress based groups? My bbPress forums are set up only inside these Buddypress groups and I imagined that the private groups would support fully private forums. The “bbp-topic-index” shortcode provided by bbPress makes the private groups forum topics visible to members of the community who are not part of these private groups.
_bbp_activity_id is part of the BuddyPress integration code in bbPress specifically the activity component part of BuddyPress.
https://github.com/ntwb/bbPress/blob/ce1334374cf9fd165e81da1e5b6b511a2b3b778b/src/includes/extend/buddypress/activity.php#L598
Hi namrons,
Check ‘bbP Private Groups’ and use the shortcodes and widgets provided by this plugin.
Pascal.
I’ve made a threaded forum list which looks really nice. I’ve added a little code to reply to posts but it isn’t writing the meta and I really don’t know what to write in the meta.
I’m thinking it would be cool to bring in the entire bbpress functions.php to my page to utilize those functions already, rather than writing my own code for things.
Is that possible to import functions.php and use it outside of bbpress?
The main functions I would be looking for are posting and replying.
i am using “Gauge” for my site, and i want to make my forum more visible. And therefor i want to make sure every game i create is getting it forum.
Its like when i create a “Game Info” site, it automatic create News, Review, Images, Trailers.
But i want to it also create a forum there would be shown in the game, so i dont have to manually add shortcode and forum for that particular game every time, it will save time also.
I have use this guide from Ghostpool ( Theme Author ) https://ghostpool.ticksy.com/article/3379/
And in stead of using preview i use debat.
And im not sure bur i think the problem could be “solve” here ..
if ( $_POST['debat_page'] == '1' ) {
$new_page_title = $hub_title_prefix . __( 'debat', 'gp_lang' ); // Page title
$new_page_content = '';
$new_page = array(
'post_type' => 'forum',
'post_title' => esc_attr( $new_page_title ),
'post_name' => sanitize_title( $hub_url_prefix . '-' . __( 'debat', 'gp_lang' ) ), // Page slug
'post_content' => $new_page_content,
'post_status' => 'publish',
'comment_status' => 'publish', // change to closed to disable the comment form
'post_parent' => $hub_page_id
);
In the “post_parent” its the parent it belongs to so i figure maybe there is someway to add autocreated forum.
Because its actually create the forum, just not put it in the hub-page
This should help.
bbp_get_topic_author_id()
@tecca @denaize
Yeah I hate any commercial items that require a yearly renewal of service. Is there anything you would like to see that is premium that does not have a free alternative??
@denaize
I forgot that in my editor.js file I hadn’t yet figured out how to customize the image and link quicktags. The guide you found will hopefully help, it will not add a bbcode toolbar though, but TinyMCE is good.
@tomtower
Is that an extra avatar or just an image to show that the user donated?
This might be possible if you have something that tracks what users have donated. Like if the data was stored in the user meta table.
https://codex.wordpress.org/Database_Description#Table:_wp_usermeta
https://codex.wordpress.org/Function_Reference/add_user_meta
https://codex.wordpress.org/Function_Reference/get_user_meta
This might be considered custom development and you may need to hire a developer to create this for you.
Use this custom css. Add the custom css to your child themes style.css file or anywhere else you can add custom css like in a custom css plugin.
#bbpress-forums .reply {
position: relative;
top: inherit;
right: inherit;
line-height: inherit;
font-size: inherit;
}