Jump to content
Sign in to follow this  
netprotector31

BBPress 2.0

Recommended Posts

netprotector31

I have installed the BBPress 2.0 plugin to run with BuddyPress 1.5. Everything works fine with the exception of some theming. It seems that the BBPress forum list and topics are using the blog post portion of the theme. This is causing a problem because the comments section and author information is showing under a topic. I don't want these to show up in the forum, but I don't want to remove them from my templates because I need them on my blog posts. Is there a compatibility issue with PlatformPro / Base with BBPress 2.0 plugin?

Share this post


Link to post
Share on other sites
netprotector31
I also notice when I go to the forum edit page in the WordPress admin, there is no option to change the template. I am assuming that it is always using the blog page then.

Share this post


Link to post
Share on other sites
netprotector31
Here is a link to a test topic that shows how the author info and comments section is showing below the topic. http://www.fanoop.com/forums/topic/one-more-test/ If you go back to the baseball topic page it is showing the author info below the topic http://www.fanoop.com/forums/forum/baseball/ In all of the forum pages (including the main forum listing http://www.fanoop.com/forums/) it is showing the post byline information below the title.

Share this post


Link to post
Share on other sites
netprotector31
Anyone? I don't want to have to turn off commenting and the author info. It is really messing with the formatting in the forums though.

Share this post


Link to post
Share on other sites
Rob
I understand the frustration. Everyone seems incredibly frustrated by the bbPress plugin and they're pretty much all blaming Platform Pro or whatever theme of ours they may have. Unfortunately, the simple truth is that bbPress admits in essence that this is their own fault. Rather than deal with this, they're saying "Adjust the CSS of your theme as needed, to make everything pretty." The absolute irony of this is that the byline, date and "leave comments" section are functions of Wordpress and not of any Pagelines product. We style them, but we don't add them. Yet the makers of bbPress are also the makers of bbPress. Wouldn't you think they could and should get their own act together? Unfortunately, the solution here remains an unknown entity. I'm going to bump this to our developers to see if they can find a solution, but generally speaking, I don't know the solution except the one you suggested. Most theme developers were caught off guard by the components and structures of this plugin. I even tried it in Twenty Ten theme and it does the same thing. So obviously, not theme-based. I can assure you we will find a solution.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
netprotector31
Rangelone - Thank you for the response. It makes perfect sense. That would be great if you could bump it to the developers. I am going to browse the bbPress forums and see if I can get anything out of those.

Share this post


Link to post
Share on other sites
Rob
Can you tell me if this is the comment form you're seeing? [img]http://epicurus.com/consulting/wp-content/uploads/2011/10/commentformbbpress.jpg[/img] If not, could you take a screen shot and post it here? If you don't know how, you could use imgur. Images are added here by using the [ img] and [ /img] without spaces and the URL (provided in the upload of images) where I have the word 'and' between the tags.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
netprotector31
I am seeing that comment form for the forum, but I am also seeing the standard Wordpress blog author info and comments for below it. Here is a screenshot of what comes up below the comments form you attached a screenshot of. [img]http://www.fanoop.com/wp-content/uploads/comment-form.png[/img] That is the part I am having issues with. I have added the 'Post Author Info' and 'Comment Form' sections to my 'Single Blog Post Content Area' and it shows up in the forums as well. When I remove it they go away.

Share this post


Link to post
Share on other sites
Rob
Keith, I'm going to send you a private message. It will appear in the Inbox up at the top of this page. Give me a little bit to write you, then check when you see a number next to the word "Inbox".

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
netprotector31
I have an update that would hopefully shed some light on the issue. I am currently running on the Platform Base 1.4.1 theme. I had just gone in and updated my Platform Pro framework from 1.5.2 to 1.5.3 when I noticed that there is a warning message saying, "Your active theme does not include bbPress template files. Your forums are using the default styling included with bbPress." So it looks like the configuration issue is with the Base child theme and bbPress. Since there are no bbPress templates, the forums are somehow using the blog posts. Please let me know if this helps.

Share this post


Link to post
Share on other sites
Rob
That message, unfortunately, appears with every single theme that isn't already setup for bbPress 2.0. You may want to read this, although parts of it are somewhat outdated with the plugin: http://bbpress.org/forums/topic/bbpress-20-theme-compatibility I'd also suggest making a new page and adding this shortcode to it to replace the forum page WP and bbPress dynamically create: [bbp-forum-index] Select the template you want, but just don't call this page forum or forums or any name among the slugs used by bbPress (try discussion or community).

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
netprotector31
OK. I tried the steps in the compatibility post, but that did not seem to fix the issue with the forums being tied to the blog posts. I can create the forums index page, but all of the individual topics will still have the blog info that I want removed.

Share this post


Link to post
Share on other sites
Rob
Keith, I think the idea behind creating the page is to redirect people via menu navigation the the created page so they can see your list, rather than the bbPress/WP created category page. I'm sure there's a way to remove the meta data. Let me search that.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob
This will unfortunately hide the metadata everywhere. [code]#metabar {display: none;}[/code]

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob
Theoretically.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
netprotector31
I have a temporary work around for now. I installed a Facebook comments and post author plugin. Then I removed everything from the PageLine template for a single blog post. This gets me the two items I needed. That will work temporarily, but the forums plugin is still deeply integrated with "blog posts" in the theme.

Share this post


Link to post
Share on other sites
Rob
We're working on it.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
jjj
A few tweaks are in bbPress 2.1-bleeding now to address the rogue comments forms appearing in topics and replies. Also have a few fixes to the PlatformPro theme itself that will help avoid some errors for all custom post-types.

Share this post


Link to post
Share on other sites
jjj
After a brief code review, there are some places where bbPress and PlatformPro are not compatible. PlatformPro introduces its own template loader after WordPress's own. That loader performs its own logic outside of WordPress to decide what appears on-screen. Note that I am testing with a turn-key install of PlatformPro with no modifications to code, or changes to settings. These areas of bbPress 2.0 will not render: * Topic Tags * Custom Topic Views * User Profiles Why: bbPress 2.0 attempts to display things on screen that the theme does not support. Most themes have no built-in support for forums, topics, or user profiles - at least not like they do for pages, posts, and archives. It listens for the WordPress post loop to request specific things bbPress provides, and then outputs the correct template body in place of the_content(). PlatformPro uses a proprietary template API that splits templates into 'sections.' Sections are registered and then mapped to specific execution points within the theme itself. This is how the fancy admin area UI knows what pieces to present where. It's actually pretty neat. In bbPress, forums, topics, and replies work because PlatformPro has some support baked-in for custom post-types. Other non-standard things that bbPress introduces, like profile pages, topic views, and topic tags, PlatformPro can only see as a blog post, so it displays them disregarding what bbPress attempted to override. Some functions, like 'pagelines_show_clip' as an example, bypass the template logic performed by WordPress and bbPress and overload the_content that's presented on-screen. As a result, bbPress and WordPress are performing calculation that PlatformPro isn't using or aware of. This is not to say something is *wrong* with PlatformPro, but rather the way it processes individual template files is non-standard to what any plugin could expect. Once those standards are deviated from, any plugin that works in a standard way will not work anymore. Explanation: WordPress expects for certain template files to exist within a theme to handle presentation. The most popular ones are index.php, single.php, and page.php. These three files typically have similar, but distinctly different PHP and HTML in them to make your site look different for each context (archives, posts, pages, etc...) In PlatformPro, all three of those files call the 'setup_pagelines_template();' function, which then makes it's own decisions on what to present outside of what WordPress has decided is best. This adds another large layer of complexity in a construct where all code is created equal, and is capable of manipulating any other code at will. Plugins like bbPress are designed to be passive, and trust that what WordPress says is what will happen as it's the only piece of code bbPress can count on always being there. When new code is introduced that bypasses or overrides the WordPress template logic, bbPress will assume the other code wins and not complain about it. Plugins like BuddyPress, on the other hand, are designed to be aggressive, and will not work at all unless the theme directly supports it. If BuddyPress sees something out of the ordinary happening, it will most likely white-screen or output an error somewhere. Result: Without dedicated time spent shaping PlatformPro against the expectations of plugins like bbPress, they will continue to conflict. I know these guys have spent a considerable amount of time testing with plugins like BuddyPress to ensure it is compatible to some degree, and basically the same must be done with bbPress. Since no one knows their code better than them, I'm leaving it in their capable hands to test PlatformPro against bbPress, and ping me if they need tweaks to bbPress. Still happy to answer any questions I can help with. -J

Share this post


Link to post
Share on other sites
jasonnettles
is there any other (free/freemium) forum software worth checking out? the complex nature of the development with both seems to be worth finding a new method to create forums. Anyone had any luck with others?

Share this post


Link to post
Share on other sites
Rob
We're officially recommending Vanilla with our upcoming Pagelines 2.0. http://www.vanillaforums.org

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Jackey
Personally recommend Simple:Press 5. It was released in Beta last sunday to the public and (since I did Alpha for this plugin the last few months) I can say that it plays nice with the current PlatformPro. Sample: http://golfclub-stippelberg.nl/forum-4/ sorry... it shows only one (of many) topic visible to guests (requires WP3.3). Easy to install and very good support. http://simple-press.com/

Share this post


Link to post
Share on other sites
jankowalski
@rangelone this is hilariuos, you didn t give so far complex solution how to install bbpress 2.0, even if you ve wrote many posts about template and css customization. Now you have excelent @jjj post who giving you helping hand so this problem could be finaly solved, but.....you r saying that pagelines recomend vanila forum!!!! I assume you are talking in name of pagelines company. Let me tell you. First of all vanilia forum is a paid forum, second you have been selling bbpress 1.1 integration pack on your website so i gues also recomending bbpress forum to pagelines users. What should we do now, start paying for vanilla because you don t support bbpresss anymore? can you just work a bit on it? I have send you alreday by priv my solution which is almost working but you havn t do anything about it so far. this is so disapointing.

Share this post


Link to post
Share on other sites
jankowalski
On top of that this is the message from bbpress developer johnjamesjacoby about your pagelines team, i think you are not really interested to make it work, as i can see the helping hand has been offered from bbpress developers before: http://bbpress.org/forums/topic/bbpress-mixing-with-blog-post-style#post-93799 "Despite the inflammatory remarks from their team in the topic you linked me to, I tweeted the Pagelines guys about getting access to their forums or getting things figured out together. Considering you are paying them for support, I think the ball is in their court. If there's a problem with their theme and bbPress they need to put a guy on it and send me a theme to test, similar to how StudioPress and Genesis handled it for the 2.0 release. If bbPress is doing something that's causing headaches, I'm happy to fix it - the difference being that bbPress's code is immediately accessible to them, and their themes are not to me." So, what can you tell about this? I m here to ask for support and I don t get it. And i see you are not even interested to talk with developers of bbpress. Shame on you. On the other hand you have closed the topics where i was looking and asking for information about integration. it s been 6 weeks since i am trying to make it work. You sold me outdated integration package, you had outdated documentation on your website and the one you posted now is not any better.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×