Published on May 3rd, 2014 by Evan Herman
I have a forum I am setting up to support some plugins I’ve created. The forum is displayed on a ‘Support’ page. I also have a seperate ‘Blog’ page, which I use for blog posts.
When a user clicks into a support thread, the navigation item changes from highlighting the ‘Support’ menu item to highlighting the ‘Blog’ menu item. From some research I’ve done it’s due to bbpress using single.php as its page template, which is setting the ‘Blog’ page the current page.
How can I get this so ‘Support’ stays highlighted after clicking into a thread?
Sorry if this is an easy fix, I’m new to bbpress and just getting used to the template hierarchy.
Thanks!
Published on May 2nd, 2014 by ultramalcolm
I’ve installed bbpress, but when I go to the forum in a browser, I just get this message:
Fatal error: Class 'WP_Post' not found in /nfs/c09/h02/mnt/137912/domains/profoodblogger.com/html/wp-content/plugins/bbpress/includes/core/theme-compat.php on line 375
How can I begin tracking this down?
Published on May 2nd, 2014 by lantaarntje
Hi i’m using the Recent Topic Widget but im looking for the exact layout as the bbpress.org Recent Topics on the frontpage. I only get Newest Topic which shows only Topic name – Author and Freshness
But i like to see: Recent Topic Name – Author – Latest Reply and by Poster name
Is there a way I can accomplish this?
Greetings
Published on May 2nd, 2014 by jbdizzle
So I changed the names of the user roles. I would like to change the text color of each role. Here is the code that I am using to change the name. Could I just wrap the role name in a color code?
add_filter( 'bbp_get_dynamic_roles', 'my_bbp_custom_role_names');
function my_bbp_custom_role_names(){
return array(
// Keymaster
bbp_get_keymaster_role() => array(
'name' => __( 'The Dragon Born', 'bbpress' ),
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
),
// Moderator
bbp_get_moderator_role() => array(
'name' => __( 'Moderator', 'bbpress' ),
'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
),
// Participant
bbp_get_participant_role() => array(
'name' => __( 'Legionnaire', 'bbpress' ),
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
),
// Spectator
bbp_get_spectator_role() => array(
'name' => __( 'Spectator', 'bbpress' ),
'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
),
// Blocked
bbp_get_blocked_role() => array(
'name' => __( 'Blocked', 'bbpress' ),
'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
)
);
}
p.s. Is there a way to change what each of these roles have access to?
Published on May 2nd, 2014 by laternastudio
Hi there,
I’ve spent a while searching the forums/web regarding custom views, but am a little bit stumped at the moment. Some of the only reference that I’ve found is a bit outdated (though it still seems to work) and incomplete.
I’d like to create 2 custom views:
- Display a particular user’s favorites (let’s say user_id is hard-coded to 2)
- Display a particular user’s subscribed topics (again, let’s say user_id is hard-coded to 2)
Any points in the right direction? Ideas for resources on the topic of custom views?
Published on May 2nd, 2014 by jbdizzle
Here is my froum: http://www.demigodlegion.com/?post_type=forum
I would like to add a create new topic button on the main page and add a drop down once in that page that will allow me to select the forum to post in. I will also like to add the forum post count too like this site provides.
Published on May 2nd, 2014 by siobhan61
[re-posting under a less technical title!]
Hello,
I’m using bbpress 2.5.3 with a WordPress twenty-twelve child theme. I’m also using bbpress WP tweaks (1.3.1). I’m trying to incorporate the bbpress forums into our theme, and it works fine on the first level with a custom sidebar (I haven’t really styled anything yet — trying to get the basic functionality first):
http://innovativeapprenticeship.org/community/
but at the forum level I’m not getting the right content — no breadcrumb trail; no topic list:
http://innovativeapprenticeship.org/community/forum/test-1/
I put a few echo (‘here’) statements into single-forum.php template I adapted for the child theme and can see that it’s being called. But content-single-forum.php, which is called from single-forum.php if there is content, and which would have the breadcrumb trail and the topic list among other things, is not being called. I tried some echo statements in there and nada. It’s not being called from my child theme or from the bbpress template folder.
Actually, I can see that bbpress has created another navigation level, forum, that doesn’t really exist. Forum is really the first level (our “Community” page). Does this have something to do with the problem?
Has anyone encountered something like this, and do you have any idea why this is happening?
cheers, Cheryl
Published on May 2nd, 2014 by drashrafsabry
How to install bbpress on a multisite where one is in arabic RTL and the other is english ??
Published on May 2nd, 2014 by Charles Mabe
Please give the bbPress login widget avatar a useful class. Currently its class is just .user-submit, which is useless for styling. I want to be able to put the User and Log Out links beside the avatar instead of below them where they’re at, but I can’t float the avatar because the class .user-submit is already used by a BUTTON in that widget. Oh, and the avatar image is inside a link, so it’s actually the link that needs the class not the img element.
And since creating bbPress child themes has always been so darn confusing, I’d rather just use a stylesheet instead of hacking up a child theme, especially for something so small. Thanks.
Published on May 2nd, 2014 by siobhan61
Hello,
I’m using bbpress 2.5.3 with a WordPress twenty-twelve child theme. I’m also using bbpress WP tweaks (1.3.1). I’m trying to incorporate the bbpress forums into our theme, and it works fine on the first level with a custom sidebar (I haven’t really styled anything yet — trying to get the basic functionality first):
http://innovativeapprenticeship.org/community/
but at the forum level I’m not getting the right content — no breadcrumb trail; no topic list:
http://innovativeapprenticeship.org/community/forum/test-1/
I put a few echo (‘here’) statements into single-forum.php template I adapted for the child theme and can see that it’s being called. But content-single-forum.php, which is called from single-forum.php if there is content, and which would have the breadcrumb trail and the topic list among other things, is not being called. I tried some echo statements in there and nada. It’s not being called from my child theme or from the bbpress template folder.
Actually, I can see that bbpress has created another navigation level, forum, that doesn’t really exist. Forum is really the first level (our “Community” page). Does this have something to do with the problem?
Has anyone encountered something like this, and do you have any idea why this is happening?
cheers, Cheryl