wblogan (@wblogan)

Forum Replies Created

Viewing 22 replies - 1 through 22 (of 22 total)
  • Can’t explain why one thing worked for me with the footer and another works for you. I get lost trying to follow the divs, so I just kept fooling around with it until it worked. Not exactly the right way to go about it I know, but…

    I took a look at your site and saw no difference between the footer on the front page and the other pages. So I don’t know what the issue is there.

    With regard to editing the two style sheets, I did not have to mess with much but the login field. It crowded the line below, so I fixed it. I just looked for things on all pages in WordPress and bbPress that weren’t right and changed what I had to. But the idea is that you want to merge the two style sheets. So far as I know you could put all of the styles in one sheet if you wanted and eliminate the other. I think the point is that you can’t have different styles for the same elements without it causing a problem somewhere. As I recall I made no changes to the WordPress style.css. I made all changes in the bb-style.css and bbPress theme.

    Your site is looking good to me. Is Firebug available for Opera? If not, that edit styles bookmarklet I mentioned in my documentation is very helpful in making changes to styles.

    <style type="text/css">.signature {padding:1em; border-top:1px solid #ccc; font-size:0.87em; color:#444;}</style><style type="text/css">.bb_smilies {border:0; vertical-align: middle; padding-bottom:1px;}
    .bb_smilies {cursor: pointer; cursor: hand;}
    #bbClicker {position: absolute; float: right; visibility: hidden; background: buttonface; width: 150px; border:2px inset buttonface; font: 1.2em times, serif;}
    #bbClicker img {padding:5px;}
    #bb_smilies_toggle {float:right; padding: 0px 6px 1px 6px; margin: 1px 7px 2px 0; font: 1.2em times, serif; word-spacing: -1px; height: 16px; vertical-align:middle; line-height:16px;');}

    In the styles above (wherever they are coming from) this style line-height:16px;');} is wrong. It should be line-height:16px;}.

    I suppose this could be throwing everything off.

    I would try commenting this line out; maybe it needs to be in a different place?

    <link rel="profile" href="http://gmpg.org/xfn/11"/>

    Where are these internal styles coming from if you have not added them to header.php?

    `<style type="text/css"><br />
    .signature {padding:1em; border-top:1px solid #ccc; font-size:0.87em; color:#444;}<br />
    </style><br />
    <style type="text/css"><br />
    .bb_smilies {border:0; vertical-align: middle; padding-bottom:1px;}<br />
    .bb_smilies {cursor: pointer; cursor: hand;}<br />
    #bbClicker {position: absolute; float: right; visibility: hidden; background: buttonface; width: 150px; border:2px inset buttonface; font: 1.2em times, serif;}<br />
    #bbClicker img {padding:5px;}<br />
    #bb_smilies_toggle {float:right; padding: 0px 6px 1px 6px; margin: 1px 7px 2px 0; font: 1.2em times, serif; word-spacing: -1px; height: 16px; vertical-align:middle; line-height:16px;');}<br />

    I looked at your site with Firefox and opened the error console, and I think something in these styles might be causing a problem.

    Have you edited bbpress/frontpage.php?

    Check anything you have edited for missing or misplaced closing tags.

    I’m out of my element here. These are just the things I would try. (I wish someone who knows more than me would jump in here.)

    I wonder if you will get the footer and other things fixed without fixing your style sheets. Your styles are in the wrong order. Looks to me like you are using @import rather than <link> to get the style sheets. In fact, it looks to me like you are using <link>, @import and internal styles. Are you importing styles from another site outside your domain? What browser are you using? Have you made changes to twentyten/header.php other than adding the link to the bbpress/bb-styles.css?

    Checked out r2540 from http://svn.automattic.com/backpress/trunk and I’m still getting the problem that was fixed in r2518.

    Though integration appears to be working and the style sheet is being called in the twentyten/header.php your style sheet is not getting loaded.

    /**** Style sheets whose contents could be loaded were ****/<br />
    /**** imported instead. Rule order may be incorrect ****/<br />
    /**** as a result. ****/

    Perhaps someone else here can tell you why that is, or you may need to google it to find out why. Don’t take this the wrong way, but I’m not the person to help you beyond what I’ve told you (and what I have told you may be wrong). There’s too much I have not learned. Besides that, I’m not sure that this is the place to get help with CSS. I’ve learned what little I know about CSS from places like http://www.w3schools.com/css/. There are tools to help you with changing styles. I use the Google Chrome browser, but your browser no doubt has a “view source” feature. Google Chrome allows you to inspect elements and alter styles, and you can get the Firebug extension for it (which imho is better than chrome’s inspect element). I find the Jesse R. “edit styles” bookmarklet very useful for learning and changing css (https://www.squarefree.com/bookmarklets/bookmarklets-all.html).

    But the first order of business is to figure out why the style sheet is not being loaded.

    Well, you’ve introduced me to subversion. I had no idea. I don’t know whether to thank or cuss you! :) I’ve downloaded svn packages (I run the Ubuntu distribution of Linux on my computers) and am working through documentation. I’ll get it sooner or later. Thanks!

    Man, I hate to be so ignorant, but I did not know what SVN is. So I went to Docs and did not find anything helpful, then to google and found http://svn.automattic.com/bbpress/trunk/. I do not find a zip archive there so I take it that one simply chooses the file(s) one wants and does a copy/paste?

    I downloaded from https://bbpress.org/download/, not from https://trac.bbpress.org/browser/trunk. I did not know about “trunk”. If the link at the bottom of the page to zip format is what I need then I’ve got it. Thanks. I’ll give it a try.

    It looks like you have the integration and deep integration working, and that all you need is to mess around with the styles. I don’t know if this will help, but check out how I got it to work. I had the Twentyten sidebar working at one point but didn’t like it in bbPress. Also, I had the same problem with the footer and didn’t want to fix it at the time. But it can be fixed with styles I’m sure.

    edit: there appears to be a problem with my server at the moment. Replace bb_get_footer in bbPress/theme/footer.php with



    <?php get_sidebar(); ?><div id="primary" class="widget-area" role="complimentary">


    <?php get_footer(); ?>

    The number of divs and placement of the call for the sidebar is what makes it work. Just play around with it until you get it to work.

    @chrishajer – you got me to thinking, so this morning I downloaded both the zip and tar files from this site replaced all of my core files with each of these (just to insure that there was no difference between the zip and tar); same problem. I’m no developer; I figured this was some problem on my end and not with the core files. It doesn’t seem to have affected the function, just the appearance, so it is not a huge deal. Should I report this as a bug or what? (And if so can you tell me where to do that?)

    I am using the default WordPress and Kakumei themes at the moment. It seemed that bbPress was very sluggish, so I activated the default theme in order to check the load on the server and found that it was significantly less with the default theme than with the integrated theme. In my case it’s a personal call in favor of performance. This is a well known trade off about which there is plenty of information available.

    Having an integrated and non-integrated theme created no issues of which I am aware. Unless I am forgetting something the only change to the WordPress theme was the call to the bbPress style sheet in header.php. All other changes are made to the bbPress theme. So either remove, comment out, or leave the call – I don’t think it hurts performance. I commented it out so that I can do some testing. I may be wrong about something here, but it’s all working for me at the moment.

    Version 1.0.2.

    I found a work around which I’m not totally satisfied with. I created a style for the admin class called in the div but which did not exist in the style sheet, and removed the brackets around the move drop down from the function call. There are still two lines, but it’s all on one.

    I’ve documented how I got the theme integration to work for me. My thanks again to those here and elsewhere who helped. Twentyten and Kakumei Theme Integration

    In the end we’re all “end users”. It all depends on where you start and where you want to finish. As good as it is and as grateful as I am for it, your tutorial did not tell me exactly what I needed to know in a way that I could understand so that bbPress and WordPress worked in my situation. If it had I would not have come here. We’re all getting and giving “techhow” with some end in view.

    This is a good place and time to give my thanks to the developers of WordPress and bbPress! I’m really amazed at their “techhow” and grateful for their willingness to share it.

    By the way, I found the tutorial at wpbbpthemes very helpful as well. (I actually started with it.) Thanks to the author!

    The “deep integration” code still breaks my site, but the link to the style sheet in header.php wasn’t working because I had bb-styles.php in the wrong place.

    Also I’m loading WordPress from wp-blog-header.php instead of wp-load.php.

    The only thing that remains is to figure out how to make changes to the bbPress pages without making changes to the whole site since it’s calling two style sheets. I’ve spent no small amount of time with “inspect element” and “firebug” in Google Chrome trying to find the styles I want to change on the bbPress pages. You could tell me in short order I’m sure how to make the changes I want. But as I said, I wanted to get all of the kinks worked out before I go public with it.

    When I get it all figured out I’m thinking I’ll publish the info specific to integrating Twentyten and Kakumei (for those of us unambitious, ignorant folks who don’t have the where with all to do something original). I assume that you won’t mind me referencing your tutorial? No need to reinvent the wheel!

    Thanks again for your tutorial, your interest and your help!

    Well, I don’t quite have it done. I can’t figure out why your code breaks the site as I mentioned earlier. Do I need it? (I forgot to mention that your code calls wp-blog-header.php, and another tutorial I referenced calls wp-load.php. I know that requiring wp-load.php is a requirement; but what about wp-blog-header.php?)

    Also, I don’t know how to link the style sheet to bbPress because I can’t figure out how to get the link in the header. I don’t understand header.php in Twentyten. Can you help me with that?

    I’ll post a link when I get it published, but I’m doing all of this on a local mirror of my public site.

    I’ve gotten this to work this way so far:

    Put this line in bb-config.php

    require_once( '/your/full/path/wp-load.php');

    In the files listed below, replace

    <?php bb_get_header(); ?> with

    <?php get_header(); ?><div id="container">
    <div id="content" role="main">
    <?php if ( !in_array( bb_get_location(), array( 'login-page', 'register-page' ) ) ) login_form(); ?>

    and <?php bb_get_footer(); ?> with

    <?php get_footer(); ?>


















    I use Twentyten with one right sidebar. I decided I didn’t want it in the bbPress section of the site. If you want it, replace the footer code above with this:

    <?php get_sidebar(); ?><div id="primary" class="widget-area" role="complimentary">
    </div><?php get_footer(); ?>

    I want bbPress to fill the width of the “container”. I can the following in-line style in each page (<div id=”content” role=”main” style=”width: 95%; font-size: 1.2em;”>`), but I’m sure I can use the style sheet to define a class or something and do it right – that is once I get Twentyten to read the bbPress style sheet.

    I’d also like to rearrange the objects on the page, which I may also work on once I can use the style sheet.

    May not like it when I’m done, but it’s been a learning experience!

    Will do. Thanks! Sweet dreams. :)

    Perhaps I should have included this info in my last reply. This is the error I get when using the code you recommended in bb-config.php:

    Parse error: syntax error, unexpected ‘;’ in /myfullpath/public_html/bbpress/bb-config.php on line 15

    Line 15: if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST'))

    FWIW, I learned from another tutorial that I needed to put this code at the end of the bb-config.php file:

    require_once( '/myfullpath/public_html/wp-load.php');

    I found that the integration will not work without it.

    Your’s is one of the tutorials I followed, Ashfame. It helped me a great deal and I’m grateful to you for it. However, the following code broke my site:

    /* Deep integration */

    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST'))


    define('WP_USE_THEMES', false);

    include_once(dirname(__FILE__) . '/../wp-blog-header.php' );

    header("HTTP/1.1 200 OK");

    header("Status: 200 All rosy");


    I started replacing the bb_get tags as you recommended in front-page.php. As I said, I could not get the get_sidebar to work.

    Also, I moved ahead with your instructions regarding the style sheets, and then on to editing the twentyten them header.php to insert the link to the bbpress theme and couldn’t figure out where to put the link – it broke my wordpress.

    What am I missing?

Viewing 22 replies - 1 through 22 (of 22 total)