bbPress includes the WordPress natively supported embed providers:
Flickr Videos & Images WordPress 2.9
Hulu Videos WordPress 2.9
Imgur Images WordPress 3.9
Instagram Images WordPress 3.5
Photobucket Images WordPress 2.9
SmugMug Photos WordPress 3.0
(SmugMug and Photobucket support is being removed for WordPress 4.0 is released, see #28379)
For any of the above you simple paste the URL on a new line by itself:
e.g. https://flic.kr/p/57FFQn

Any other images hosted elsewhere you simple link to them using the <img src=''> HTML
e.g. <img src="https://farm4.staticflickr.com/3130/2701069417_4d5234fc18_o.jpg" width="198" height="49" alt="bbpress">

Hi again,
shortly before I can finally go online with my WP+bbpress, there is a problem with the shortcode in a widget: The tag cloud in sidebar widget is not displayed.
Here in the forum I found the following tip:
To allow shortcodes in sidebar widgets, write in an empty functions.php file the following code und put this file into your child-theme-folder:
<?php
add_filter('widget_text', 'do_shortcode');
?>
After saving the file, you can now add the shortcode [bbp-topic-tags] in sidebar widgets.
Unfortunately the tag cloud is not shown.
What did I do wrong?
Thank you very much for help says
Morgensonne
why do you need a plugin ?

when you reply to this comment look at the toolbar there is an image upload by url (img) button.
if you want images to be uploaded to your server
add this function to your functions php (if you have a child theme already set)
add_filter( 'bbp_after_get_the_content_parse_args', 'bavotasan_bbpress_upload_media' );
/**
* Allow upload media in bbPress
*
* This function is attached to the 'bbp_after_get_the_content_parse_args' filter hook.
*/
function bavotasan_bbpress_upload_media( $args ) {
$args['media_buttons'] = true;
return $args;
}
but function only allows admins, moderators , and authors to upload images to your server.
you would then need to change some user role capabilities so that if you want subscribers to upload images to your server
ok my bad for bumping this
but i changed my mind on how i want the function to display
is there a way to use if (bbp_get_reply_author_id() == bbp_get_topic_author_id() ) {
so that it just replaces this code of the reply author name
div class=reply-author-name><?php bbp_reply_author_link( array( 'show_role' => false, 'type' => 'name' ) ); ?></div>
to this instead
div class=topic-starter><?php bbp_reply_author_link( array( 'show_role' => false, 'type' => 'name' ) ); ?></div>
i just want to change the div class so that if the topic author = reply author it would just show the reply author name in just a different color , kind of like reddit
i want this because when my site goes to a smaller size i have to remove some attributes like post count , buddypress profile data , user role , and the user avatar at really small screens just so i could make it look nice.
i want to users to still recognize the topic starter even at smaller screens
i think a simple filter might do this
but i dont know where to even start.
thanks if anybody helps
Yes wordpress does like to try and show the toolbar which I hate !!
Put the following in your functions file
//disable toolbar for non-admins
if (!current_user_can('manage_options')) {
show_admin_bar(false);
}
This will mean that only admins can see the toolbar
If you don’t know how to add code to the functions file, work you way through
https://codex.wordpress.org/Child_Themes
https://codex.wordpress.org/Functions_File_Explained
How To Safely Add PHP Code To WordPress
Weβre happy to add extra hooks and filters into bbPress where needed to help facilitate having wpMandrill work with bbPress but someone who knows and understands wpMandrill and the Mandrill API is going to have to give us a hand here.
Okay guys, some good news π
After spending almost the entire day, I finally found a way to get around the “only one bcc email” restriction of Mandrill API. Basically Mandrill API provides a way to trigger individual emails for a list of individual email address. To do that we need to add the list of email address to the the “to” column in a array with type as “bcc” and then set “preserve_recipients” to false.
After I found this I wrote a small plugin by filtering the wp_mail filter and then parsing the “bcc” header and then adding the emails to the “to” array. The full explanation and code is available at http://bulkwp.com/blog/using-wpmandrill-to-send-subscription-notification-from-bbpress/
Note: Strong disclaimer. It currently works for me but there may be lot of corner cases. So first check it in your dev server before adding to a live server.
it shouldnt be each page…just each different sidebar you use if you use a plugin like custom sidebars .
you can either enter each css code for each instance of the widget
or you can give each instance of the widget a certain css id
if you want to give each recent topics widget a certain css id
download the plugin “widget css classes”
in the options of the plugin you can activate “show additional field for id”
then you can just 1 css id for where ever you place the widget
you input your id in the widgets section , in each widgets options
it should show fields to input your custom fields like this
CSS CLASS:
CSS ID:
so if i enter
CSS CLASS:
CSS ID: custom-id
i would have to add this css code
#custom-id ul li {
border-bottom: 1px solid #F1F1F1;
}
Don’t worry, I found the shortcodes and that told me how to do it. For anyone else who needs this use the shortcode below where the id is the id of the forum you want to display.
[bbp-single-forum id=10]
more help on the shortcodes is at https://codex.bbpress.org/shortcodes/
I’m not sure how ‘duplicator’ works but if it sync’s the database it should be fine to sync bbPress’ forums, topics and replies as they WordPress ‘Custom Post Types’, topic tags are a taxonomy and users are users.
So presuming Duplicator is copying/replication WordPress’ posts and pages which are stored in wp_posts and wp_postmeta adding support for bbPress should ‘just work’ if Duplicator supports custom post types.
Do Bluehost implement any plugins that override WordPress site or home URL’s?
If your site URL and home URL’s are http://www.example.com I am trying to work out where they are getting box557.bluehost.com from to make that the email address that is being used.
Glad your working, sorry I didn’t get to suggest using a call back earlier π
Did try using the included callback_reply_to first?
https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converter.php#L1342
Presume you’ve been through the guides
Step by step guide to setting up a bbPress forum – Part 1
for members only forums set these as private, and only logged in users will see them.
Hello everyone,
i have problem with bbpress doesnt work in my theme.My theme is https://wordpress.org/themes/semicolon.Bbpress in my theme doesnt work.Specifically, are not seeing some things from buddypress.In default theme it works.
I dont know why? Do you any solution? I tried this solution.http://codex.bbpress.org/theme-compatibility/. But doesnt work for me.
Iam unhappy.Why is this so difficult.I excepted ,that is be easy,but isnt.
I do not understand it at all.
Please help me.Thank you very much!
So I was recently given control over my volunteer organizations website after our last webmaster did not follow instructions or help with development.
I’m having some difficulty adjusting to using WordPress, I need to add a Members only forums for the organizations members. the rest of the page needs to be free and open to the public. I will manually add the users in with their emails and assign a generic password that they later can change. I only want them to be able to log into the webpage and not wordpress. I dont want people registering either since it will be done manually.
this is the website http://mnemshonorguard.org/
Im no good at code reading or changing.
I tried using BBPress but wasn’t getting anywhere at all. looking for help the correct application and step by step guide if at all possible,
Many Thanks
bbpress uses the wordpress function
https://codex.wordpress.org/Function_Reference/get_avatar
to get the avatar, so you probably need to poke into how wordpress does this.
So where do we put this code, some might ask?: This is a plugin, so we can create a file like /wp-content/plugins/empty-anonymous-replies-in-bbpress/empty-anonymous-replies-ββin-bbpress.php. Then we visit the plugin section in the backend and activate it. This code should also work from the functions.php file in the current theme directory. I hope this helps the users, that aren’t sure what to do with this code.
you make a .php file copying the entire code they published
or copy after
/**
* Plugin Name: Empty Anonymous Replies in BBPress
* Plugin URI: http://wordpress.stackexchange.com/a/133420/26350
*/
and add that code to functions.php if you hopefully have a child theme
Can’t figure it out, here’s te portion of code that It’s not working:
$_POST[‘bbp-forums-role’] = “keymaster”;
bbp_profile_update_role();
For example, I only want to update actual bbpress logged in user role with “keymaster” role.
Maybe I’m not using bbp_profile_update_role() in the right way. π
How do I enable real anonymous posting in bbpress? I found this code on http://wordpress.stackexchange.com/questions/131550/how-do-i-set-up-real-anonymous-posting-in-bbpress-forums But I’m too much of a noob to implement it. Between which lines should i paste the code to enable anonymous posting? The comment underneath is trying to be helpfull! But how do I create a working plug-in file?
I think the solution is really easy for anyone familiar with php. Between which lines should I paste the code provided on the site mentioned above? Any answers will be greatly appreciated. Thank you very much! A very big n00b
Where do I have to add that code? I just tried adding it in my functions.php, but that doesn’t seem to work. I’m also working locally, using Bitnami.
Probably disable wpMandrill for bbPress notifications would be the quickest way and let WordPress’ send the emails as BCC is fully supported.
You can try the following plugin that I whipped up, I have only tested it on a local install and works for me…
https://gist.github.com/ntwb/d45948672dbf5fd580c9
That said, if you already have custom functions using the wpMandrill mandrill_payload filter in another plugin or functions.php file then updating the relevant section of that for bbPress would be the suggested route. I’m also not sure how this will affect any other templates or custom configurations you may be using either via the wpMandrill plugin config options or any options you have set in your Mandrill API/Setup/Config. (As stated, I’ve only just fired up wpMandrill to have a a quick look for the first time a couple of hours ago)
A third reason was that we were not accurately removing the http:// / https:// which could result in domains like https://sssseanwes.com/ removing all the s’s becoming eanwes.com π
@shazahm1,
There are two reasons why the email fails
– www was appended in front of the domain name.
– The email address is enclosed with angle brackets
For me the www issue didn’t happened but it was because of the second issue.
Once I removed the angled brackets it worked for me through wpmandrill. But you will get a bounce email if that email doesn’t exist.
To actually find whether the email went through or not, check the api logs from the mandrill dashboard. Even though you are getting a bounce email, the emails might have gone to all your subscribers who are added in bcc.
It was is not working on a page where i added bbpress forum shortcode. It works everywhere else, like posts, forum root etc.
@evildon, You’re right. not sure why I copied the code without that
Here is the working code:
function ntwb_bbp_bp_pm() {
if(function_exists('bp_send_private_message_link') && is_user_logged_in() ) {
global $bp;
if ($bp->loggedin_user->id !== bbp_get_reply_author_id()){
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
}
$compose = bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . $user_nicename;
?>
<div class="forum-pm"><a href="<?php echo $compose ?>" title="Private Message">Private Message</a></div>
<?php
}
}
}
add_action( 'bbp_theme_after_reply_author_details', 'ntwb_bbp_bp_pm' );