Hey Robin,
Thanks for the reply. A little while ago, I removed the line that would have included the sidebar but I just added in yours and what I am seeing is the sidebar from the homepage for some reason. This is one of the issues I was having before and the reason I removed the code in the first place.
Do you have any idea why this might be happening? Please assist, buddy.
Thanks
ok, ignore the code (it is confusing me)
i understand
So you have a topic started and this displays in the ‘post author’ part an avatar, the topic author name, but no role
it should just display the topic author name with a certain color
Next someone replies and this displays in the ‘post author’ part an avatar, and the reply author name, but nothing else
yes exactly
Next is a reply by the original author, and in the ‘post author’ part this display an avatar, and their name in say a green block (and nothing else)
yes
Is that what you want?
just in case heres a picture, zoom with the scroll wheel
https://drive.google.com/file/d/0B_Ue9ryY5cmYTHhlRkg0a3k4T1U/edit?usp=sharing
i used a blue because it was the color i had when photoshop was last used
ok, ignore the code (it is confusing me)
So you have a topic started and this displays in the ‘post author’ part an avatar, the topic author name, but no role
Next someone replies and this displays in the ‘post author’ part an avatar, and the reply author name, but nothing else
Next is a reply by the original author, and in the ‘post author’ part this display an avatar, and their name in say a green block (and nothing else)
Is that what you want?
Though dashboard access is restricted and allows only to edit the profile page, I don’t want that to happen. How to prevent that from happening?
add the following to your functions file
//disable toolbar for non-admins
if (!current_user_can('manage_options')) {
show_admin_bar(false);
}
Thanks a lot !! Has been really userfull !
I also had a problem with the login form. When I used the login form, it always redirected me on the main page of the forum but always in the main language.
Te solve this problem, just modify another line in bbpress/includes/common/template.php on line 1181 :
On line 1181, replace:
$redirect_to = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
with:
$redirect_to = qtrans_convertURL(( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
Hello everyone,
right now I am working on my own theme, and I am having a “small” problem. After I subscribe to a certain forum and check my subscribed forums on the buddypress profile page, I am subscribed to alle available forums, and not the one I actualy subscribed to in the first place.
I did check all of my template files, like content-single-forum.php and loop-singleforum.php, or user-subscriptions.php, but I couldn’t find anything unusual. The link, generated with the subscription link seems to be okay too, compared with other forums.
http://www.website.net/forum/forum-category/forumname/?action=bbp_subscribe&forum_id=9&_wpnonce=c557e237e8
I did even compare my files to other forum styles.
I am not quite sure where this is coming from. Maybe someone had a similar problem before? Any ideas?
Thanks for your help in advance!
If a user who has capability “participate” subscribes to a forum and then is demoted to capability “spectate”, will the user continue to receive notifications?
Yes, spectators can subscribe to forums, and this is against the user, not their access level.
It is certainly possible to code to prevent this, you be looking at filtering the functions
bbp_get_topic_subscribe_link
bbp_get_forum_subscribe_link
But whilst I’d love to, I have too much on at the moment to code it – sorry 🙁
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. 🙁