Hi, everywhere, i mean everyone on every tutorial is mentioned, that you must install the plugin like this
1) Visit the WordPress Administration Screen and navigate to Plugins > Add New.
2) Search for bbPress
3) Locate the bbPress plugin and click install
4) Activate the plugin
But i dont want people to have to install it, i want the plugin to be allready integrated in my custom theme im building. But when i copied it to my plugin folder (in my custom theme folder, not the “wp-conetnt/plugins” !!), and i required it in my functions.php. after this, the web get stacked, it kills my browser, because there is hundreds of error messages:
Warning: ksort() expects parameter 1 to be array, null given in /www/doc/domain/www/wp-content/themes/theme/plugins/bbpress/includes/core/template-functions.php on line 316
Warning: reset() expects parameter 1 to be array, null given in /www/doc/domain/www/wp-content/themes/theme/plugins/bbpress/includes/core/template-functions.php on line 321
………….
Does anybody know how to integrate it? it would be great if there is some tutorial. everywhere i find how to use it, or the 4 steps to install it by zip uploading.
thanks for help
Hi,
I’m trying to build a theme for my BBpress site and I would like to add a class to my body tag that changes depending on where the user is within the forum but only for within a forum area.
For instance… On my BBpress installation, if I have these forums:
If the user view topics within the ‘Green’ forum/sub-forum it add the classname ‘green’ to the body tag i.e “<body class=”green”>” I would like it to use the Forum’s title that is set. Can somebody help?
Preferably the code to be in functions.php or header.php / bbpress theme files. I don’t want to hack the bbpress core files.
I want to do this so I can change the way it looks i.e background colour etc.
And the Homepage stays the same: <body> (with no classname unelss set within the header.php of the theme file.
Thanks
I just wanted you guys to know that this plugin/extension is fantastic. I was spending ages scouring the internet for a solution for the conversion of an old SMF forum to BBPress, and this was absolutely perfect.
🙂
Cheers
I create a Reply to a topic all fine
Then tried to edit my Reply and got a blank page
Turn on WP_DEBUG and got the following errors
Notice: Undefined property: stylePress::$types in /wp-content/plugins/style-press/style-press.php on line 79
Notice: Use of undefined constant get_post_types – assumed ‘get_post_types’ in /wp-content/plugins/style-press/style-press.php on line 80
Running Wp 3.8.1 and BBpress 2.5.3
Is there a simple way to re-order topics like you can Forums? At the least, I’d like to have older at the top/newer at the bottom.
After doing a lot of searching/research I am completely confused as to how to accomplish this. Thank you in advance!
I am using the latest WP 3.81 and bbpress 2.5.3
Hi there
Im just getting to grips with bbpress and Buddypress but I cannot see anywhere my users are able to logout? Is there a shortcode I can put in a separate page?
Very confused
Thank you
Lucy
Hi,
I have a little problem in my bbpress forum.
I am using a theme, and the theme is moving the links in the forum to the right side.
It does the same with the avatars of the users. It does not happen with the first post. But alle the others.
I hope someone can help me out.
Forum link: http://danskyt.net/forums/
Screenshot of the problem: http://gyazo.com/9f5db4301317e75ad87525c56f5fa09b.png
Screenshot of the first post in topic: http://gyazo.com/c346d1565561621cfa42a674fde6a6d5.png
WordPress v. 3.8.1
BBPress v. 2.5.3
Theme: Point
WebSite: http://danskyt.net/
I just checked a bbpress forum on my mobile chrome and topic content is appearing below topic author name but in my site on mobile topic content appears in right side of author name. I am on wpzoom gazeti theme. Could you help me in changing it as in your bbpress forum? Thank you.
Hi,
I am setting up a community blogfarm using bbPress and S2member. All the forum menus are there but when I click any of them all I get is “page not found”. All the other settings seem to be okay. Any suggestions ? Can anyone help?
Hi, all.
I added bbpress forum in the Appearance menu. So the forums are showed as list view. There are featured pictures in each forums. What I would like to do is that the forum shows as grid view with thumbnail and title.
I have researched about it a lot, but was not able to find right answer. Need help.
Think you probably need to crack open the plugin, and see where GD bbPress Attachments is adding a filter, and exactly what code it is using. You might then be able to mod this in your loop to re-strip it out.
No problem. Just a quick thought, as I might be able to solve it a different way.
Are you using a page called forums and the shortcode [bbp-forum-index]
or did it just come sup in your menu when you installed it?
It’s Ok, neither is wrong, I just need to know which !
ie which in section 3 of the attached did you do
Step by step guide to setting up a bbPress forum – Part 1
I’ve been all through everything I could think of in the wp directory and the bbpress directory looking for where the depth of the indent of the threaded replies is set, so I can change it a bit, to about half of what it presently is, hoping this is possible…
If someone could please point me to the right place it would be sooo great…
🙂
wp 3.8.1
bbpress 2.5.2
I am trying to figure out how to display User information such as Twitter, Website, etc in the bbPress user profile. Is this possible?
I’ve searched Google and cannot seem to find a solution. Thank you!
Hello!
I’m having an issue with bbPress 2.5.3, Slider Revolution 4.0.5, and Woocommerce 2.1.2. I contacted Slider Revolution, and they said they couldn’t figure out the issue and that I should contact my theme creator since their plugin came bundled with my theme, but the theme creator says it isn’t a theme issue, so I’m reaching out to bbPress since the Woocommerce help desk is down for the weekend in hopes I can at least get a leg up – even though it’s a pretty weird triple-plugin conflict.
1. When all plugins are activated, layer styles in Revolution Slider’s slide editor show a tiny white font in all the previews, but only generate default dark text.
2. When all plugins are activated, I cannot add a slider to a page where bbPress forums are active – it just doesn’t appear, even when I have disabled the theme’s default header, or tried to insert it via shortcodes or php. (Any other page and the slider loads fine)
3. When I deactivate bbPress and its associated plugins, the slider loads correctly because there is no forum on the page.
4. When bbPress and Woocommerce are both deactivated, everything works as it is supposed to in the editor as well.
Existing sliders on the website still load correctly – it’s just an issue of making new ones with a forum on the same page, and getting the editor to work. bbPress prevents a slider created in the Slider Revolution plugin from being published on a page with a forum, and Woocommerce messes up the editor.
Any help or ideas are appreciated. I’ve tried the troubleshooting options in the plugins and nothing seems to fix the issue. Thanks!
The page you are using to display is a full width page.
Since you are using a child theme of twenty twelve, I presume you still have the default template which has a sidebar.
If so, then copy this file, and rename it to bbpress.php and put it into your theme’s root ie
wp-content/themes/twentytwelve-Child/bbpress.php
That will ensure that bbPress uses a template with a sidebar
What is the best way to get the content of a reply? Right now I’m using bbp_get_reply_content() and it was working fine until I added the GD bbPress Attachments plugin. Somehow that plugin is adding text to the end of the reply content, which doesn’t show up in the forums itself but does show up in a custom forum loop I have on my homepage. E.g replies look like this: “Lorem ipsum etc. Attachments: [delete | detach] [delete | detach] [delete | detach].” FYI, I’m using wp_trim_words to only get the first 30 or so words of the reply, so this garbage text from the plugin only appears on very short replies.
Is there a different way to get the reply text? Anybody else have this issue with the attachment plugin?
Thanks.
Hi, I have the bbpress Login Widget on my homepage and throughout site — however, I noticed that if i click the “Log In” button with a wrong password, or if i leave it blank – that it redirects me to the generic wp-login.php wordpress page.
Is there a way to keep the user on the same page the widget is on, so that clicking “Log In” will not redirect a user…I would ideally prefer everything to stay within the widget…if a user types the wrong password, then it would alert them on the widget…or if the “Log In” is pressed with a blank username/password then rather nothing happen, than to redirect to the basic wordpress login page.
Hopefully, this makes sense….Any help would be greatly appreciated.
Looks like this is a theme issue with Genesis.
I installed bbPress Genesis Extend and it is now working.
@nicmare To remove the separator:
add_filter('bbp_before_list_forums_parse_args', 'nicmare_bbpress_list_forums' );
function nicmare_bbpress_list_forums() {
$args['separator'] = '';
return $args;
}
A good explanation for bbp_get_topic_admin_links and bbp_get_reply_admin_links is here:
Could a plugin developer protect his functions?
I have the same issue.
To solve this i have implemented the fix of barnabe in small plugin. This way I don’t have to edit the core of WordPress.
The plugin is available here:
http://www.exploder.org/bbpress-qtranslate-fix.tar.gz
yea. such a solution would be awesome and keeps updates of bbpress more save!
because the separator value was annoying to me, i had to create such a big function just to overwrite this simple argument.
Robin W! Thanks so much! Your answers led me to the solution:
in functions.php , i have added(with add_filter) a modified “bbp_get_user_profile_url” function,which generates profile urls (original is in bbpress\includes\users\template.php):
here is my code:
remove_filter( 'bbp_get_user_profile_url', 'bbp_get_user_profile_url');
add_filter('bbp_get_user_profile_url','my_replaced' , 10 ,4);
function my_replaced ($url, $user_id, $user_nicename = '' ){
global $wp_rewrite;
if ( empty( $user_id ) ) {return false;}
$early_profile_url = apply_filters( 'bbp_pre_get_user_profile_url', (int) $user_id );
if ( is_string( $early_profile_url ) ) { return $early_profile_url; }
if ( $wp_rewrite->using_permalinks() ) { // if pretty permalinks
$url = $wp_rewrite->root . bbp_get_user_slug() . '/%' . bbp_get_user_rewrite_id() . '%';
if ( empty( $user_nicename ) ) { $user_nicename = bbp_get_user_nicename( $user_id );}
$url = str_replace( '%' . bbp_get_user_rewrite_id() . '%', $user_id, $url );
$url = home_url( user_trailingslashit( $url ) );
}
else { // Unpretty permalinks
$url = add_query_arg( array( bbp_get_user_rewrite_id() => $user_id ), home_url( '/' ) );
}
//return apply_filters( 'Replaced_bbp_get_user_profile_url', $url, $user_id, $user_nicename );
return $url;
}
Ok, the problem is, these features should be integrated into bbPress by default, all forum software has this, and the plugins for quoting for example don’t work like it should, and signature plugins are also outdated and not the best.
EDIT: Didn’t see two posts above, editing post…