I’ve copied the contents of wp-content/plugins/bbpress/bbp-themes/bbp-twentyten into my Suffusion child theme which resides at wp-content/themes/bsig
It is still however pulling the bbpress.css from wp-content/plugins/bbpress/bbp-theme-compat/css
It also doesn’t appear to be using my customized templates. I’ve tried most every step I can find online to try and resolve this, but it hasn’t worked so far.
http://blindscribblings.com/forum – The forums are squished to the right and my sidebar on the bottom and empty space to the right.
If I use a shortcode then the index looks fine, but the sub-forums and threads have the same problem. Here is an example with a shortcode.
http://blindscribblings.com/test/
I have been trying to setup a bbPress forum for a while now and everything went very smooth. Now I’ve got a problem that I haven’t found a solution to:
How do I force a user to log in before they can view any forum content at all? I’ve been thinking about just redirecting to /wp-login.php but how do I implement that into my bbPress forum so it knows that you have logged in?
I thought this might work but don’t know what file to implement the code into…
if ( is_user_logged_in() ) {
//Site code here
} else {
header("Location: http://www.site-name.com/wp-login.php");
exit;
}
I am a beginner to this whole webdesign world so bare with me if this question is not complicated at all.
Can someone tell me how to remove the hyperlink from the user avatar.
I do not wants them or other users to link to their bbPress/WP profile
I will test this in the next few days.
WP-Polls will allow you to put a poll in a post. Now that bbPress 2.x is built on custom-post types, I’m assuming this is somewhat more feasible.
Could someone write a bbPress plugin to integrate WP-Polls and bbPress?
Thanks!
Thanks. When I have some free cash, I may end up picking up the pro version later then.
I literally grabbed a nightly build of WordPress yesterday, so it is possible something changed. I was also using bbPress 2.1 from SVN yesterday and the only other bbPress plugin I was using was your Attachments plugin. I’ll check again in a week or so.
I like the direction you are going with bbpress. I’m implementing it for the support forum for my new theme shop.
In my test environment with all error reporting on, I’m getting some notices from WP core on forum pages.
** Note – I’m using WP 3.4 RC3 ***
Notice: Trying to get property of non-object in /PATH/wp-includes/general-template.php on line 1384 Notice: Trying to get property of non-object in /PATH/wp-includes/post-template.php on line 30 Notice: Trying to get property of non-object in /PATH/wp-includes/comment-template.php on line 776
All my bbPress plugins are right now on the dev server with trunk versions of WP 3.4 and bbPress 2.1. But, maybe something changed in these in the last few days, that caused the problem, so I will check my plugins again. But with the RC1 of WP 3.4 and bbPress 2.1 from last Wednesday, all my plugins were working fine.
Milan
GD bbPress Toolbox Pro includes all the features from my free plugins for bbPress (all 3 of them: attachments, tools and widgets). Plus, right now it has centralized panels for attachments and error logs for upload of attachments. There are some features that will go into Por plugin only, but I will continue to develop all 3 free plugins.
Reason for having Pro plugin version is that I don’t provide support for my free plugins (I can deal with bug reports, but that’s it) due to the lack of free time, and my Pro plugins users (I have 7 premium plugins) are used to having full support and expect to have extra features from Pro plugins, and that’s why I decided to make it easier: to have one plugin to replace 3 free plugins to add few new things to it and provide full support as with my other plugins.
Regards,
Milan
I’m trying to get bbpress 2.1 to play nice with Suffusion myself. The above suggestions haven’t worked for me.
http://blindscribblings.com/discussion/
What do the template files look like in your child theme?
What change did you make in your .css to get the forum to display full width?
Hello Brett,
It would be great if you wrote a quick tutorial on how you did this.
Thanks, Muzza
//Map bbPress topics to WordPress posts structure.
foreach($bb_topics as $bb_topic){
$bb_first_post = $wpdb->get_results(“SELECT post_text FROM bb_posts WHERE post_position = ‘1’ AND topic_id = $bb_topic->topic_id”, ARRAY_A);
$bb_post->post_author = $bb_topic->topic_poster;
$bb_post->post_date = $bb_topic->topic_start_time;
$bb_post->post_content = $bb_first_post[0][post_text];
$bb_post->post_title = $bb_topic->topic_title;
$bb_post->post_status = “publish”;
$bb_post->comment_status = “open”;
$bb_post->ping_status = $bb_topic->post_id;
$bb_post->post_name = “forums/topic/”.$bb_topic->topic_slug;
$bb_post->post_type = “forum_topic”;
$bb_post->comment_count = $bb_topic->topic_posts-1;
//add bbPress topic to WordPress posts array.
$wp_posts[] = $bb_post;
};
?>
Flamenco Shows In Madrid
Ballet Flamenco Madrid
In WordPress, there’s a chance to pick out the template for every page (dropdown on Edit Page and Edit Post pages).
bbPress forum root, forums, topics and replies are custom post varieties.
It would be smart to check in bbPress the flexibility to line the default layout for every of those.
Dropdown (like the one on Edit Page page), whereby the admin will choose the layouts from among the active theme’s layouts shall be ideal.
(I perceive that if once this the admin decides to alter the theme, he can got to choose the default layouts for bbPress custom posts once more – similar to he has to do therefore for traditional pages and posts
What is the difference between this and the free plugin? The feature list looks about the same.
I tried installing this on a test server with WP 3.4 and bbPress 2.1 (both from SVN) and it broke the ability to add or edit posts or pages.
I apologize. This appears to be an issue with the “GD bbPress Tools” plugin. I disabled that plugin and the problem went away.
The forums themselves seem to be working, but after activating bbPress 2.1 (downloaded from SVN today), I can’t add or edit posts or pages. It always brings up the last forum I created.
http://blindscribblings.com/images/bbpress.png
I’ve run into this a few times myself with bbPress 2.0. Sadly I didn’t find the root cause and a proper fix, but I did find a workaround. I change the root slug of the forums to Discussion and then I uncheck “Prefix your forum area with the Forum Base slug (Recommended)”
So my Movies forum is:
http://site.com/forum/Movies and that works. Then I used “Page Links to” and create a menu entry for Forums that links to http://site.com/Discussion as the root of the forums.
I am doing a little bit of reverse-engineering to build a custom BLOG/FORUM theme for my site. I cloned the 2010 bbpress code to my own theme and merged in my header/index/footer pages and custom css styles for starters.
I have nearly identical header.php in BOTH the parent & child themes. The only difference is the header.php in my bbpress child theme removes part of the header, so it essentially is a modified parent-theme header.
I noticed, however, that when I made this change now BOTH my blog and bbpress forum pages have the modified header – what gives?!
How can modifying the child-theme impact the parent?
I have a custom wordpress theme for my company’s blog to match the styling of my non-wordpress company website. I came across bbpress and wanted to integrate it into my wordpress company blog.
I followed this tutorial for a basic forum setup:
http://codex.bbpress.org/home/step-by-step-guide-to-creating-a-custom-bbpress-theme/
My Parent Theme: XX
My Child Theme: XX-bbpress
I created my child bbpress theme and imported the necessary templates as suggested, however, I am baffled by what I observed when I visit the blog landing pages:
I went into WP-ADMIN and activated the child theme. When I visit:
http://www.companydomain.com/blog/forums
– I can see the default forum layout
but when i vist my blog
http://www.companydomain.com/blog
– my blog page is completly blank
I’ve disabled all but the bbpress plugin. WP_DEBUG doesn’t show any errors when I visit my blog page either. HUH?
Am I missing something? Thanks!
OK so after much searching I have a pretty simple solution. The role manager plugin idea was a no go so had to dig deeper.
So add this in your functions.php:
//add author change functionality to bbPress topics in wp-admin
add_action( 'init', 'my_add_author_to_topics' );
function my_add_author_to_topics() {
add_post_type_support( 'topic', 'author' );
}
//then allow subscribers to be authors...good for transfering to bbPress forum which uses custom post types
add_filter('wp_dropdown_users', 'MySwitchUser');
function MySwitchUser($output)
{
//global $post is available here, hence you can check for the post type here
$users = get_users();
$output = "<select id="post_author_override" name="post_author_override" class="">";
//Leave the admin in the list
$output .= "<option value="1">Admin</option>";
foreach($users as $user)
{
$sel = ($post->post_author == $user->ID)?"selected='selected'":'';
$output .= '<option value="'.$user->ID.'"'.$sel.'>'.$user->user_login.'</option>';
}
$output .= "</select>";
return $output;
}
So this basically allows you to set any user as a post author whether they are a subscriber or not (by default WP only lets you set author roles or above as post authors).
I think I will just use is temporarily during transfer and then comment it out….I would image it could get annoying if you have loads of subscribers and are just trying to find authors etc.
I guess this code could be made into a plugin with an on/off switch in the admin for it….any takers? 
Anyway I hope this helps folk in the same boat as me.
Hey,
I tried the last few days to figure out, what I did wrong. On my test version of WordPress I installed bbpress for development. Everything is working fine there.
For the customer, I installed the latest WordPress 3.4 Release Candidate. But when I tried to call */forums, the request slows down and All I get is the theader element. I can get to single forums, topics etc, but I cannot see the whole forums.
Any Idea how to solve this?
I see these in v2.1 but no simple press importer….waaaaaaa
I wasn’t sure where to ask this. I want to put a note above or next to where it says “Reply” and “Topic Description:” for posting instructions. Anyone know what files I need to edit, or some sort of function I can use?
I did this with wordpress comments EX: Use “< code > to display code in your comment” above the comment box, using a function, no idea how to do it with bbpress though.