Go into your theme for bbPress and look for loop-single-forum.php. On line 24 you will see
<?php bbp_list_forums(); ?>
Modify that line to look like
<?php bbp_list_forums( array ( 'separator' => '<br />' ) ); ?>
Thanks for posting this Information. bbPress must improve its documentation
This is plugin for import from “Simple Press forum” to bbPress-wp-plugin.
Please help make same, but for import to independent bbPress-forum.
It possible?
At least one example how i can write into the bbPress database?
This is plugin for import from “Simple Press forum” to bbPress-wp-plugin.
Please help make same, but for import to independent bbPress-forum.
It possible?
At least one example how i can write into the bbPress database?
Hi Jenna (Miniflowers), congratulations
But my troubles with bbPress seem to be different: I never used Vbulletin or BuddyPress. As will_c wrote: the error occurs by changing the visibility.
We are also experiencing this same problem on our site. If we set a forum to “Hidden” and then make it “Public” later, none of the associated topics appear inside the forum. We’re using the bbPress 2.0 plugin with BuddyPress 1.5.2, but are using the bbPress standalone forums rather than group forums.
I’m going to investigate this over the next week or so and will post back if I find anything.
Just installed the bbpress 2.02 plugin on my site which is WP v3.3.1 – seemed to work ok but on trying to create a new topic (on the site i.e. as a user would) I get the following:
“Fatal error: Call to undefined function akismet_test_mode() in /mypath/wp-content/plugins/bbpress/bbp-includes/bbp-extend-akismet.php on line 350”
Not really too sure of the etiquette or whatever of posting links or code but I though this was such a show-stopper that someone else would have come across it – but nothing to be found here or elsewhere… I am also aware that ‘test mode’ may be a major clue, but to what I really don’t know…
Thanks for any advice
S
I don’t know if this is of any help but to get what I did at SWNK (http://www.swnk.org/forums/) I added the following code to my functions.php:
function disable_all_widgets( $sidebars_widgets ) {
// if ( bbp_is_forum() ) {
if (is_bbpress()) {
$sidebars_widgets = array(false);
remove_all_actions(‘bp_register_widgets’);
unregister_sidebar( ‘bp_core_widgets’ );
}
return $sidebars_widgets;
}
add_filter(‘sidebars_widgets’, ‘disable_all_widgets’, 1, 1);
Then I added some CSS to put the login widget above the forum.
This list needs to be updated, but some are here:
https://codex.bbpress.org/showcase/
You will need to do some custom development on your end. This isn’t implemented in core (at least not yet) because at the moment each theme/framework handles their layout options differently – so there is no easy way to cover them all.
You can probably use the code in https://wordpress.org/extend/plugins/bbpress-genesis-extend/ as an example.
Basically you will want to check for is_bbpress() and if that comes back true then run your code that forces the full width layout.
Hoping someone here has the knowledge to help.
I’m using the bbpress plugin with buddypress/wordpress install. I installed the bbcode plugin to let users use bbcode in the forums. Everything worked great, but now when you insert a youtube video on the forum with the bbpress post toolbar, I get this error:
YOUTUBE
Warning: Cannot modify header information – headers already sent by (output started at /home/highhob/public_html/ridecbr/wp-content/plugins/bbpress-bbcode/class_bbpress2-bbcode.php:268) in /home/highhob/public_html/ridecbr/wp-includes/pluggable.php on line 866
The video DOES POST, but this error comes up first and I need to get it removed and resolved. Also, above any youtube video, the word YOUTUBE shows up.
Please let me know if you can help.
Thank you so much,
-George
http://teamoverpowered.com/
The forum is still WIP though, but I am liking how it is coming along
Hey guys,
I have been searching for this myself aswell, but couldn’t find anything anywhere.
If anyone is interested I modified the bbp_list_forums function to have a flag for freshness (last poster) to be displayed or not.
function bbp_list_forums( $args = '' ) {
// Define used variables
$output = $sub_forums = $topic_count = $reply_count = $counts = '';
$i = 0;
$count = array();
// Defaults and arguments
$defaults = array (
'before' => '<ul class="bbp-forums">',
'after' => '</ul>',
'link_before' => '<li class="bbp-forum">',
'link_after' => '</li>',
'count_before' => ' (',
'count_after' => ')',
'count_sep' => ', ',
'separator' => ', ',
'forum_id' => '',
'show_topic_count' => true,
'show_reply_count' => true,
'freshness_before' => '<td>',
'freshness_after' => '</td>',
'show_freshness_link' => true
);
$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );
// Bail if there are no subforums
if ( !bbp_get_forum_subforum_count( $forum_id ) )
return;
// Loop through forums and create a list
if ( $sub_forums = bbp_forum_get_subforums( $forum_id ) ) {
// Total count (for separator)
$total_subs = count( $sub_forums );
foreach ( $sub_forums as $sub_forum ) {
$i++; // Separator count
// Get forum details
$count = array();
$show_sep = $total_subs > $i ? $separator : '';
$permalink = bbp_get_forum_permalink( $sub_forum->ID );
$title = bbp_get_forum_title( $sub_forum->ID );
// Show topic count
if ( !empty( $show_topic_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
// Show reply count
if ( !empty( $show_reply_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
// Counts to show
if ( !empty( $count ) )
$counts = $count_before . implode( $count_sep, $count ) . $count_after;
// Show topic count
if ( !empty( $show_freshness_link ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
$freshness_link = bbp_get_forum_freshness_link( $sub_forum->ID );
$freshness_link = $freshness_before . $freshness_link . $freshness_after;
}
// Build this sub forums link
$output .= $link_before . '<a href="' . $permalink . '" class="bbp-forum-link">' . $title . $counts . $freshness_link . '</a>' . $show_sep . $link_after;
}
// Output the list
echo $before . $output . $after;
}
}
Let me know if you would like any help with I am currently customising my theme to work with it, you will need to add an extra th to your forum tables other you just have a blank in place.
Hope someone finds this helpful!
p.s. you can also specify a before and after in the arguments of bbp_list_forums.
All the best.
Lynq.
Me too. I want to be able to tell bbPress which layout in my theme to use. The default layout has a skinny column and 2 side columns. I don’t want this for the forum.
Hey Guys,
I am using the latest version of bbpress and I want to stop users to create topics.
Never mind! it is. I was looking too far down!
Same thing is happening with me. I installed and activated the plug in, but the forum and topics doesn’t show up in the dashboard. The settings can be accessed, but I don’t know if there is anything I need to change in that for the forum / topics to show up.
Hi, i’m new, obviously, and I want to say that bbpress is a wonderful forum software for WordPress.
I have edited my own share of bbpress files; removing the topic tag system, multiple site notices, and several other aspects.
I have ran into a problem, I simply can’t remove the topic-form that is shadowing my main forums. My only intention is having the topic form in a completely seperate page so that way users can click a Create New Topic button and the hyperlink will guide them. I tried to go into all the single-form php files in my theme folder with no avail. Can anyone point me to the right php file, so I can remove this.
Thank you very much
I also intend on removing the “Voices”, if someone can point that out too–that’d be great, would save me some time.
I hear you. I often forget that everyone else isn’t using 2.1. It will be out soon though and then we will start work on 2.2
Ok. I’ve activated the plugin and executed “http://site.com?bbpressimport=1&delete=1” where “site.com” is the URL of my WP installation.
The conversion lasted less than a minute for approx. 1500 posts and had completed succesfully and with no errors. My SPF version is 4.4.1.
Congrats for the plugin.
Ok. I’ve activated the plugin and executed “http://site.com?bbpressimport=1&delete=1” where “site.com” is the URL of my WP installation.
The conversion lasted less than a minute for approx. 1500 posts and had completed succesfully and with no errors. My SPF version is 4.4.1.
Congrats for the plugin.
Ah I see, thank you for the link. I guess I’ll keep any work I do to myself then, it’s a learning experience for me. Too bad it got punted to 2.2 though, I’m already feeling really excited and impatient for 2.1 hehe