I would recommend a captcha for posting, unless you love to get hundreds of spam posts a day
https://wordpress.org/plugins/bbpress-recaptcha/
This is a start…
https://gist.github.com/ntwb/8037110
add_filter ( 'bbp_before_has_search_results_parse_args', ntwb_bbpress_custom_search_results);
function ntwb_bbpress_custom_search_results() {
$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
$args['post_type'] = $default_post_type;
$args['orderby'] = 'date';
$args['ignore_sticky_posts'] = 'false';
$args['order'] = 'DESC';
return $args;
}
Just need to work out how to parse the other $args :/
https://bbpress.trac.wordpress.org/browser/trunk/includes/search/functions.php
https://bbpress.trac.wordpress.org/browser/trunk/includes/search/template.php
An easy way would be to follow this: https://codex.bbpress.org/theme-compatibility/
Then empty the bbPress CSS file, you can then use a caching plugin to mash css files together and limit requests so the extra file being requested wouldn’t hurt too much.
Hi, I want to disable the default bbpress .css file. I searched through the forums and found several solutions, but none seem to work.
I used to deregister bbp-default-bbpress with the code below, but that doesn’t work anymore after the WP 3.8 upgrade.
add_action( 'wp_print_styles', 'deregister_bbpress_styles', 15 );
function deregister_bbpress_styles() {
wp_deregister_style( 'bbp-default-bbpress' );
}
WP 3.8
bbpress 2.5.1
Thanks!
Just enable ‘Anonymous Posting’ in the bbPress forums settings.
WordPress Dashboard -> Settings -> bbPress
I think you will find the docs for that reference the_content in a WordPress context.
For bbPress things are similar but the following best explains it though in this case it was related to Jetpack, the methodology is still the same though.
https://bbpress.org/forums/topic/social-media-share-button-missing/#post-125857
This won’t work out of the box, and is by design. Jetpack hooks sharing options to the end of the ‘the_content’ filter. bbPress doesn’t use this filter, because blog content doesn’t have the same rules as forum content does; they work differently. To make it work, Jetpack’s sharing options would need to hook into bbp_get_topic_content and bbp_get_reply_content instead.
Someone could write a piggyback function to do this, but it may be more difficult than this first step once you’ve gotten this far. Replies don’t use the same “premalink” logic as topics, forums, pages, and posts do, since they are technically children of topics. There could be other quirks, too.
That is indeed a bug and we have it fixed for bbPress 2.6 😉
The issue is to do with the included bbPress ‘Green’ admin theme, my suggestion would be for now to switch to a different color admin theme until bbPress 2.6 is released.
You stick can’t stick topics like this in bbPress at this stage
A topic is either ‘sticky’ in a single forum or ‘super sticky’ in every forum.
The best place to start would be the WordPress Plugin Developer Center
https://wordpress.org/plugins/about/
And checkout the bbPress Codex https://codex.bbpress.org/context/developer/
Hello, I am not sure if this is the right spot for this topic, but I am noticing an issue with the new WP 3.8 release on all my sites using bbPress with WP. When my clients or myself go to edit or create a new post/topic/forum, the publish date icon is repeating horizontally. This clears up when I disable bbPress by itself and know it to be across sites I recently updated. A screenshot can be seen here. Any help in resolving this issue would be great!
I am preparing WordPress as a website with a forum for owners with sick dogs. Included in the website is a medical glossary plugin. It has worked so well on the pages that I have purchased their Pro+ version.
http://wordpress.org/plugins/enhanced-tooltipglossary/
The problem I am having is that the tooltip plugin is not recognizing terms inside the forum topic or posts and the tooltips are not coming up on hover:
http://www.secondchanceaihadogs.com/forums/topic/test/
CM support says “I am not sure how bbpress use post and if it use the content filters on them. If it does it will show the tooltip”
I could use some help. Should I be asking here about this, the designer of the theme or go back to CM support for the answer how to make this work?
Yeah. that is what I want: hide the wrong breadcrumbs and keep the bbpress one.
Currently the new feature (bbPress 2.5) of Subscribe to Forum returns plain text email. Perhaps this was a conscious decision to implement it in that way. I’d implore either changing the content-type default to TEXT/HTML or be given an option within the admin settings.
Typically you would only need to add the following:
add_filter('wp_mail_content_type',create_function('', 'return "text/html";'));
…before @wp_mail
Is it possible to limit the BBpress search box in scope?
I would like to exclude certain forums/fora from the search results, but do not know where I can find the search function or how to edit properly to achieve my goal.
Help would be really appreciated!
Hello,
Is there documentation on how to build a plugin for the new version of bbpress?
I meant to say, When I deactivated the bbPress WP Tweaks Plugin, the Login widget is still available under, Dashboard>Widgets. Of course the bbPress Sidebar Widget is not available as long as this plugin is deactivated.
When deactivated the login widget is still available but the bbPress sidebar widget disappears.
What happens if you disable the bbPress WP Tweaks, does the login/register widget appear again?
Hi Lyngold, I am referring to the widget. I downloaded and activated the bbPress WP Tweaks for the sidebar widget for bbPress and after I have saved everything the widget does not show on my page. I need this in order for people to be able to register.
Thanks for the reply.
Have you created the topic using the form that’s part of the forum, or using the administration panel? If I use the administration panel, everything is saved as it should; however, when I use the submit form in the forum, characters get converted to HTML entities.
I tested it using a clean installation of the latest version of WordPress with the default theme where the only plugin installed was bbPress, with exactly the result I have described above.
There is a sidebar on your site, when you say “the bbPress” sidebar, do you mean a widget or am I missing something?
Your background image doesn’t stretch full width, so you would have to look at either making it longer, or removing it and just have a solid colour.
The code can either go inside your style.css or if you want to do it properly you can follow the instructions here: https://codex.bbpress.org/theme-compatibility/ and then edit the files inside /css/ in your theme files.
I would highly recommend looking into learning a little CSS, even a small amount can let you achieve a lot in bbPress and even WordPress.
Something you can do for example is: #bbpress-forums { background-color: #ffffff; color: #000000; } – this is just an example.
Good luck! 🙂
I would recommend learning a bit of css, even a little CSS lets you do amazing things with bbPress and even WordPress!
Some like: bbp-title { line-height: 20px; } This is just an example. I don’t know the exact html of your website.
Good luck!