I’d be really careful about changing core files as you loose changes on every update. Depending upon what you did, you may be best off copying the code to your theme functions file, renaming the functions, and storing it there so you don’t loose the changes.
Not tested:
In the file loop-single-reply.php change the following line:
<?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>
to:
<?php bbp_reply_author_link( array( 'sep' => '<br />', 'size' => 100 ) ); ?>
change 100 to whatever size you prefer.
I put the recent topics below my forum lists by modifying the archive-forum.php template file as follows:
<div class="entry-content">
<?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
<br><br>
<h3>Recent Topics:</h3>
<?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>
</div>
Notice the second function which grabs the topics. Flip the functions around and you’ll get what you are after.
*I am assuming you added all the bbpress template files to your own theme so that you have full control over editing everything. If not, you will end up loosing your changes every time you update.
Every single permalink for forums give me a ‘page not found’ error. I’m using BBpress 2.0 and Buddypress 1.5 on the latest version of WP.
Any suggestions? Thanks
I have just split up the forums for now, no categories or sub forums, I will most likely modify the code when I get a chance. If it’s possible I will try to make it a plugin of some kind but most likely it will involve modifying the core files.
Nope you can only pull this off if you have PHP skills.
Lets hope somebody will soon jump into this bbPress plugin code and start writing tutorials and info about different ways to list forums.
For myself i can say this is the best bbPress forum layout (listing) i’ve ever seen.
http://www.onemorething.nl/community/forum
I’m trying to list my layout like that but it’s very difficult.
I need this translation but the problem is that I am unable to login there with my WordPress account. I can login here no problem but as soon as I go to https://translate.wordpress.org/projects/bbpress/plugin/nl/default I am unable to login
I’ve insert this to the loop. (showing on the homepage)
<?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>
<?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>
<?php else : ?>
This print only the first forum ID (top forum) and hides all others.
Next i would like to make this.
<?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>
<?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>
<?php else : ?>
<?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>
<?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-2’ ); ?>
<?php else : ?>
<?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>
<?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-3’ ); ?>
<?php else : ?>
Only problem it will always call the first (top) forum ID.
I need to find an $args? for calling a forum ID in each loop, this way i can say get forum ID 4 on the first loop and get forum ID 12 on the second loop.
template directory has no code. you must use
http://"<?php bb_uri(); ?>/my-templates/your theme name/
template directory has no code. you must use
http://"<?php bb_uri(); ?>/my-templates/your theme name/
Do you know all of codes of WPMimic?
How can I show the < closed topic > messege after the last post?
It shown for me under the first post
Do you know all of codes of WPMimic?
How can I show the < closed topic > messege after the last post?
It shown for me under the first post
Dreamhost is wellknown webhosting providerer in the world and its aim is to provide maximam webhosting service in the world. If you want to save money in host your website in dreamhost than i have some dreamhost discount coupon code it is known as dreamhost promo code. This code is give diffirent kind of discount to atrect new customers. This coupon code is only for new customers of dreamhost.Dreamhost is also gave 14 days free trile for new customers.
@anointed Thank you for the suggestions! I searched for the codes and it seems it’s very nicely written about almost all the functions, I just added a couple of lines in the the widget core (since I don’t know much about tweaking the codes without fixing the core..) and it works great! Thanks for making the forum plugin again. It’s really a seamless and powerful integration of forum and WP!
Sounds great. Is using shortcodes hard to control if the forum grows or is there a list of how many “main” pages and different shortcodes I would need? I guess this is a much more tedious way of doing it and changing the theme code would be best?
I will look for that thread…
You think I shouldn’t download that “bbPress attachments” plugin though?
Thanks again! You are most helpful
Yes, changing that will make it full width. It should function just fine.
Using shortcodes with full width template pages works as well.
I believe that there is a thread here somewhere with a link to attachments that works with 2.0. Seem to remember reading it somewhere.
Thank you for your rapid reply anointed, I contacted Orman’s support, we’ll see what they say.
Since I am new to bbPress, at your first glance of my above forum link… does it look like I got the installation and functions working, just having a problem with the width template (code)?
I tested how it would look by adding this short code [bbp-forum-index] into a regular “page” (not forum) and setting it to use full width template and I got that page to look like it should; http://limecitykitchen.com/forum-bbpress (just not functioning) Look better though, hope they can help me fix the code.
Also, will the “bbPress attachments” plugin work well with the bbPress 2.0 plugin?
https://bbpress.org/plugins/topic/bb-attachments/
Thanks again!
If it were me, I’d ask Ormon to write a quick function for your theme to switch the body class to
page-template-template-full-width-php
for post_type forums/topics/replies/users/.
*Basically run that last in the chain as to override the default setting only for the forums.
That would probably be the quickest and best approach to take for this particular theme.
That will give you full width forums. There are lots of ways to approach this and he may even have better ideas.
NO, not bothered at all, was just saying that I didn’t understand what you were asking is all.
If I understand you basically want to take the code from the topics widget and use it as a standalone loop instead of a widget?
Keep in mind I’m not a great coder: If it were me, I would simply copy the code from the bbp-core-widget.php file that I needed for the topics widget. I would then strip out the widget portion of the code and hard code in the default arguments.
This basically would give me the same loop used by the widget.
// Query defaults
$topics_query = array(
'author' => 0,
'post_parent' => any,
'posts_per_page' => 10,
'show_stickies' => false,
'order' => 'DESC',
);
Probably better ways out there, but that’s how I would try it
//anointed, I must say sorry if I bothered you.
You might see the ‘bbPress Topics list’ widget, in wordpress widgets. I meant I want to use the widget ‘outside the loop’.
That must be done the code like below:
<?php
if ( bbp_has_topics( array( ‘author’ => 0, ‘show_stickies’ => false, ‘order’ => ‘DESC’, ‘post_parent’ => ‘any’, ‘posts_per_page’ => 5 ) ) )
bbp_get_template_part( ‘bbpress/loop’, ‘title’ );
?>
I registered here just to help you, because i was having this same issue.
I was frustrated as well… BUT the solution is so simple. Too bad theres no documention to tell everyone.
Whatever u changed the BBPress “Forums base” name to, make a wordpress page with that permalink. And then put in the short code [bbp-forum-index] (or any BBPress shortcode u like).
If you changed the BBPress Forums base name to “theboards”, then make a new wordpress page with the same permalink “theboards”. So your forum will be located at mywebsite.com/theboards, regardless of if you create new forums or topics, theres nothing there. Create a page, pop in that shortcode or any of the ones at the link below and ZAP BOOM POW, go to mywebsite.com/theboards and its there! lol
BBPress Shortcodes- https://bbpress.org/forums/topic/bbpress-20-shortcodes.
Hope that helps.
You must use everywhere %
example: #content {width: 80%} #sidebar {width; 20%}
This was useful! thanks.
I simple used the insert code (which I was looking for but didn’t see and assumed not available) within my main template instead of using teh bbPress subtempate.
[bbp-forum-index]

Yeah I have been finding tons of hidden gems in the plugin.
I suck at documentation. I’m hoping that someone will come along and help out with that part someday. JJ is crazy busy and I find it hard to spend more than an hr a day here. There are some great support people here, and I believe that now the plugin is released that more people will jump in and help out.
Has anyone done this successfully? I feel like an idiot. I have 1) installed WP, 2) added and activated BP, and then 3) installed bbPress via BP “Sitewide Forums” option. Then I get a whole series of conflicts – first the forums won’t display in the BP theme, then I adjust the slug names and the Forums tab disappears, then I get the Forums page but there doesn’t appear to be anything there. I can’t crack the secret code. I feel like I’m playing Myst.