Hi,
I forgot to check the box that says βnotify me of follow ups,β
See to the left of these message, probably the 6th option. You can (un)subscribe by just clicking there π
but then duplicates that post as the first reply
The only thing I can think of is another plugin or some code you added in a child theme or functions.php file. Did you try to deactivate other plugins to see it you still had the issue ?
Pascal.
Oops, I copy/pasted but forgot to edit the line. This is the correct one for anyone else trying to do this in the future:
$mykeymasters = get_users( array('role' => 'bbp_keymaster') );
Ah! The difference was the bbp_keymaster instead of the keymaster. This worked for me:
$mykeymasters = get_users( array('role' => 'keymaster') );
Thanks Pascal! You really helped me out here π
Euh, yes of course.
Can this help you then ?
$user_query_full = new WP_User_Query( array( 'role' => 'bbp_keymaster' ) );
$user_query = $user_query_full->get_results();
var_dump( $user_query );
Pascal.
Ah ok,
Then how about:
$mykeymasters = get_users( array('role' => 'keymaster') );
https://codex.wordpress.org/Function_Reference/get_users
Pascal.
Thanks Pascal,
I’m actually making a shortcode to format a list of users that have the earlier mentioned roles. This shortcode will be used on a page for the front-end.
It’s basically a list of site staff members.
I’ve figured out the answer to my own question.
This field is related to the buddy press field wp_bp_activity. That shows something like “joe user replied to the topic xxx in the forum xxx”
_bbp_activity_id isn’t necessary for my reply to code on my particular site for bbpress to work properly. It IS however necessary if I want my Buddy Press integration to reflect activity updates related to the forum.
Hi,
this is in WP 4.3.1 GeneratePress child theme.
So far I have managed to display forum indices, topics, registration, login on actual WP pages so they can easily be designed and targeted through regular hyperlinks and menus. I used plugins like bbp StylePack and CleanLogin for this, plus the bbp shortcodes on the concerned pages.
Now there is at least one loophole that renders everything useless. e.g. when submitting a new topic the system jumps to “Topic” view where my page style settings are ignored. Is there sth like a template for the display of topics?
Also isn’t there a list of shortcodes somewhere that show ALL attribute options, too? The bbp codex https://codex.bbpress.org/features/shortcodes/ lists only the codes, without options.
Hi,
I am aware of snippets of code that exist, but they seem to have some small issues. What plugin are you referring to ?
Pascal.
Hi Ben,
It seems to be a known issue, but not bbPress related. Bug tickets have already been opened and closed for this because the issue is coming from other plugins.
You can read more here: https://codex.bbpress.org/bbp_setup_current_user/was-called-incorrectly/
But please let this not refrain you in posting here the issues you see or open a trac debug ticket yourself. It’s better to have it twice then not at all.
Pascal.
I am trying to figure this out. I will get it eventually.
Theme Compatibility
Thanks again!
Cheers!
The “Forums” page lists all the topics – not the Forums, is that normal?
http://toni-esl.com/eslforum/write/
I can create a page and use a shortcode to list Forums.
Thank you so much for your help!
i canβt see and option in buddypress to upload anything.
See if this guide helps.
Profile → Change Profile Photo
On this post is a simple way to add a ranking based on post count.
User ranking system?
Where it says
echo '<div class="all-stars"><i class="svg-icon one-star"></i></div>'
That is where you can add your images like this.
echo '<div class="all-stars"><img src="image source"/></div>'
Make sure they are different for each post count specified in the snippet.
You may need different CSS than what was mentioned in the post though.
I think because I had two separate functions both using bbp_before_get_breadcrumb_parse_args one cancelled out the other so changing that section worked. I prefer having it all in one though. Thanx so much for all your help π
Hmm that is weird adding the breadcrumb like this worked for me. Either function you use is fine though.
function rkk_breadcrumb_text() {
$args['before'] = '<div class="bbp-breadcrumb"><p><span class="bbp-breadcrumb-text">You Are Here: </span>';
$args['sep'] = ' / ';
return $args;
}
add_filter('bbp_before_get_breadcrumb_parse_args', 'rkk_breadcrumb_text');
Never mind, found my answer LOL just had to change one little bit π
//* Change BBPress Breadcrumb Seperator
function filter_bbPress_breadcrumb_separator() {
$sep = ' / ';
return $sep;
}
add_filter('bbp_breadcrumb_separator', 'filter_bbPress_breadcrumb_separator');
Hmmm, that code works but when I add it the code I added to change the seperator stops working. And if I add the function for the seperator after the code you gave me that one then stops working lol
Here is the function I am using for the seperator, maybe they need to be combined somehow to work properly together?
//* Change BBPress Breadcrumb Seperator
function custom_bbp_breadcrumb() {
$args['sep'] = ' / ';
return $args;
}
add_filter('bbp_before_get_breadcrumb_parse_args', 'custom_bbp_breadcrumb' );
Something like this might work.
Add this php code snippet to your child themes functions.php or add it in a functionality plugin.
function rkk_display_moderator_label() {
$reply_id = bbp_get_reply_id();
$role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );
if( $role == 'Moderator') {
echo'<div class="bbp-mod-label">Forum Moderator</div>';
}
}
add_action( 'bbp_theme_before_reply_content', 'rkk_display_moderator_label' );
Sorry for the late reply.
Did you run the repair tools one a time in Tools > Forums??
Troubleshooting
I bet you just closed the topic as well and the color of the text is a gray color that is hard to see.
Use this CSS to fix that.
#bbpress-forums .status-closed,
#bbpress-forums .status-closed a {
color: #aaa;
}
You do not have to use the bbPress shortcode for registration, you can use alternative plugins for frontend forms if you want.
Do users need to register with the forum first to see the content of a post?
bbPress by default has nothing that would hide the content of a topic post. It will make a whole topic hidden if the forum is private and the user is not logged in, and the topic and forum could also be hidden if it is a hidden forum.
If you want a menu item for registration you can create a custom link to the default WordPress registration form, or if you have another plugin that adds frontend forms you can link to that page if you want.
Question really is: how does a user of the educational material get to see the forum questions/posts?
It really depends on the LMS plugin you might be using with your bbPress forums really. By default though a sticky/closed post should be kind of visible, the gray is hard to see sometimes.
Did you try running the repair tools in Tools > Forums one at a time??
Has this issue always been present??
Also here is some custom CSS to fix a weird avatar padding issue on your forums. Just add the CSS code into your child themes style.css file or anywhere else you can add custom css like in a seperate plugin.
#bbpress-forums .avatar {
padding: 0;
}
THe issue in the image is a common theme related issue. The styles for list items in your theme is affecting the list items in the bbPress forums.
I would give you a simple CSS fix, but you need to create a forum on your site, all I see is the notice saying you do not have forums.
If you want to create full width forums, it is pretty easy if you are familiar to editing theme templates. You just need a simple loop and the surrounding classes to style it all together. Sometimes full-width templates can be copied and renamed to create a simple bbpress.php file in your theme.
Getting Started in Modifying the Main bbPress Template
I say just stay away from using iframes for this simple task.
I cannot see the forums but I do see it in the source code??
Does this only happen in your currently active theme??
Here is a function to show the You Are Here: text.
function rkk_breadcrumb_text() {
$args['before'] = '<div class="bbp-breadcrumb"><p><span class="bbp-breadcrumb-text">You Are Here: </span>';
return $args;
}
add_filter('bbp_before_get_breadcrumb_parse_args', 'rkk_breadcrumb_text');
You may have to edit this function later if bbPress shows their breadcrumb items in a list though.
Hello everyone, I am new to bbpress and slowly working my way around lol
I’ve modified template.php to add the text “You are here:” to the breadcrumbs to match the breadcrumbs for the rest of my site, but I’d prefer to use a function to make these changes instead. The problem is I cannot wrap my head around the proper code and nothing I have found through searching has worked so far.
Can someone help me with this please?
My site: http://www.lissyhunnybee.com/discussions/
I have the latest versions of both wordpress and bbpress and am using the Darling theme which is a child theme of Genesis/Studio Press.
Thanx in advance π