Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 26,551 through 26,575 (of 26,762 total)
  • Author
    Search Results
  • #49840

    djuggler,

    exmple.com/blog and examl.com/forums will work fine.

    You will probabl need to customize both WordPress’ an bbPress cookies to share logins, though, since bbPres won’t be in subdirectory of WordPress. See https://bbpress.org/forums/topic/113?replies=5#post-566

    #50992
    Atsutane
    Member

    1. U need to load wordpress function inside bbpress.

    Put this inside config.php “require_once(‘/path/to/wp-blog-header.php’);”

    2. Use wp template tag inside your bbpress template.

    For example. Make a clean header.php and put “<?php get_header(); ?>”. Replace it with your bbpress-template header.php.

    To make sure bbpress gonna look alike your wp static page. I suggest u try refer single.php or page.php inside your wp theme folder.

    Here is my example. Using Kubrick page.php

    //Start Header.php

    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <div class=”post” id=”post-forum”>

    <div class=”entry”>

    //End Header.php

    //Example item = front-page.php

    //Start Footer.php

    </div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    //End Footer.php

    So everytime u load bbpress index.php you will get the same page like your static wp page.

    3. Add some of bbpress css style inside your wp css file.

    Im sure u not gonna use all bbpress style maybe only some of it. Maybe you can start copy bbpress style from this point “/* Front Page=================================== */” untill the end.

    I dont know if this gonna help you but i try my best to keep it simple :) hope it gonna do some help.

    Side note: to load bbpress as wp static page. Create new page, and set “post slug” = “bbpress folder”

    #693
    djuggler
    Member

    Thank you for bbpress!

    This thread comes close to answering my question but misses an important concept “where should bbpress code reside to integrate best with wordpress?”: http://bbpress.org/forums/topic/38?replies=29

    The directory structure I am planning on using:

    domainname.com (splash screen, redirect to /blog or whatever)

       |

       |—/blog/ (wordpress code in this subdirectory)

       |

       |—/forum/ (bbpress code in this subdirectory)

       …

    Incase the spaces compress I’ll show that another way:

    http://domainname.com/blog/ (wordpress)

    http://domainname.com/forum/ (bbpress)

    Am I making a mistake to not use this directory structure:

    domainname.com

       |

       |—/blog/

       …      |

                |—/forum/

                …

    http://domainname.com/blog/ (wordpress)

    http://domainname.com/blog/forum/ (bbpress)

    OR here’s a silly one. Noting that wordpress and bbpress seem to share the same filename only with index.php, should all code be in the same directory: http://domainname.com/ (wordpress and bbpress code here with some magic done to the index.php file? like index.php for wordpress and renaming bbpress’ to index-bb.php)

    Which directory structure is going to make for the happiest co-existence of wordpress and bbpress with the intention of having them seemlessly interact? My gut feeling is that it just doesn’t matter as long as wp-config.php gets included within the config.php for bbpress.

    Thank you!

    Doug McCaughan

    http://sidesigns.com/

    http://blog.siliconholler.com/

    #879
    gsnixon
    Member

    Hi everyone, I’ve just had one hell of a night trying to figure out this bbP/wP integration stuff. Eventually, I thought I’d do a clean test install and work from there to see if I could isolate the issue, so I installed:

    BBpress 0.7.3

    WordPress 2.0.5

    on

    Apache 2.0.59

    mySQL 5.0.19

    PHP 4.4.4

    via MAMP on Mac OS 10.4.8

    with WP in root and BBpress as subdirectory “discussions”.

    I then configured wp-config.php and config.php like so:

    <?php

    define('DB_NAME', 'database');

    define('DB_USER', 'root');

    define('DB_PASSWORD', 'root');

    define('DB_HOST', 'localhost:8889');

    $table_prefix = 'wp_';

    define ('WPLANG', '');

    define('ABSPATH', dirname(__FILE__).'/');

    require_once(ABSPATH.'wp-settings.php');

    ?>

    and

    <?php

    require_once(dirname(dirname(__FILE__)) . '/wp-config.php');

    define('BBDB_NAME', 'database');

    define('BBDB_USER', 'root');

    define('BBDB_PASSWORD', 'root');

    define('BBDB_HOST', 'localhost:8889');

    $bb_table_prefix = 'bb_';

    $bb->domain = 'http://192.168.0.149:8888';

    $bb->path = '/discussions/';

    $bb->name = 'the Forum';

    $bb->admin_email = 'email@email.com';

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = -8;

    define('BBLANG', '');

    $bb->akismet_key = '***********';

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://192.168.0.149:8888';

    $bb->wp_siteurl = 'http://192.168.0.149:8888';

    define('BBPATH', dirname(__FILE__) . '/' );

    require_once( BBPATH . 'bb-settings.php' );

    ?>

    (the 8888/9 ports are MAMP defaults; 192.168.0.149 is the LAN IP of the computer I’m running this on)

    Then I ran the install scripts, and lo and behold, everything seemed to be working great. Then I began to add plugins one by one, and, to make a long story short, found that:

    Whenever the Sidebar Widgets plugin was activated along with a separate widget (including those included with it, del.icio.us and google, as well as akismet, which has a widget built-in), trying to load a BBpress page would yield a blank page. However, if Sidebar Widgets was activated but no widget plugins were, it would work fine–I could even use the integrated widgets (RSS, categories, calendar, etc) on the blog. Likewise, if Sidebar Widgets is deactivated, but all the widgets are activated, it still works fine.

    Also: the Front Page Topics plug-in for bbPress, regardless of any other plugins in wP or bbP, yields a similar blank page on posting a new reply, starting a new topic, making a new forum, or logging out. If I go back and refresh, the topic/reply/forum HAS been created… but the logout attempt is UNsuccessful. Like I said, I tried this with no bb or wp plugins, as well as a variety of them, and its always the same result.

    Ok, its 4:15 in the morning, I have class at 8 and I’m going to go pass out, but hopefully this is enough information for someone to tell me what gives…

    Thanks for reading/any help.

    -G

    #866
    hanbit
    Member

    hi,everybody i install wordpress and bbpress successful

    the next i want to do is make bbpress use the wordpress’s theme

    first i edit config.php,

    add:

    require_once(‘/home/myusername/public_html/blog/wp-blog-header.php’);

    define(‘WP_BB’, true);

    for example

    <?php

    require_once(‘/home/myusername/public_html/blog/wp-blog-header.php’);

    define(‘WP_BB’, true);

    then , copy bb-templates/ directory to my-templates/

    edit my-templates/header.php

    add <?php get_header() ?> in it

    my-templates/foot.php

    add <?php get_foot() ?> in it

    but the appear some mistake

    the message :

    Warning: main() [function.main]: open_basedir restriction in effect. File(/domains/chinalin.org/public_html/wordpress/wp-

    blog-header.php) is not within the allowed path(s): (/home/kim/:/tmp:/var/www/:/usr/local/lib/php/:/etc/virtual/) in

    /home/myusername/public_html/wordpress/bbpress/config.php on line 2

    Warning: main(/domains/chinalin.org/public_html/wordpress/wp-blog-header.php) [function.main]: failed to open stream:

    Operation not permitted in /home/myusername/public_html/wordpress/bbpress/config.php on line 2

    Fatal error: main() [function.require]: Failed opening required ‘/domains/chinalin.org/public_html/wordpress/wp-blog-

    header.php’ (include_path=’.:/usr/local/lib/php’) in /home/myusername/public_html/wordpress/bbpress/config.php on line 2

    what else should i do ? please tell me the others setting .

    sorry for my bad english

    the wordpress is 2.0.5 ,bbpress is 0.73

    #50909
    preckie
    Member

    my wordpress site is located at my domain name/wordpress. god, i need to figure this thing out. i also renamed the config-sample.php huhu! let me try this later and see if it works.. thanks so much for the help! :D

    #50929
    peiqinglong
    Member

    I would start styling the table. Copy and paste the original code from the style.css from the bbpress into your new theme and then go from there.

    #50928

    Im working on integrating it with wordpress. Check out my forum for updates on progress.

    http://www.talkaboutdesign.com/forum/

    #50927
    tgpuckett
    Member

    OK, so I’ve got this far:

    http://www.macuserblog.com/boards/

    What can I do to make the rest perfect? Thanks!

    #875
    suleiman
    Member

    My WPMU and BBpress setup is 99.99% complete. The *only* remaning issue is this:

    Across all the blogs in my WPMU install I have a header that uses the following code to hook into every wordpress blog on my site:

    add_action(‘wp_footer’, ‘wp_admin_bar’); /* part of hack to make this show at the top of each blog */

    add_action(‘wp_head’,’wp_admin_bar_style’);

    I need this header to show up at the top of my bbpress install without having to load wordpress on top of bbpress.

    In short, I like my bbpress the way it looks on its own, I just want the header at the top. Is this possible?

    #49889
    tgpuckett
    Member

    Atsutane: Thanks so much for your help!! I really appreciate it :)

    #49888
    Atsutane
    Member

    From what i see. I think it only css problem and some html problem. It seem before <div id=”footer”> u got 1 extra </div> … well i think so :) Anyway i need to go now. Good luck with your bbpress

    #49887
    tgpuckett
    Member

    OK, so I keep getting closer :) Atsutane, I don’t use K2 unfortunately :-(

    http://www.macuserblog.com/boards/ is where I’m at now. Is the remaining problem CSS or PHP-related? Thanks again!

    #49886
    Atsutane
    Member

    For me i put inside footer.php after i close all div that hold my forum content. If u are k2 user maybe i can share my header.php and footer.php

    #49885
    tgpuckett
    Member

    OK, I can follow that, where do I need to put get_sidebar()? In the header?

    #49884
    Atsutane
    Member

    I do like this. In header.php i put

    <?php get_header(); ?>

    <div something>

    <div something>

    Inside footer.php i put

    </div> // close something div

    <?php get_sidebar(); ?>

    </div> // close something div

    <?php get_footer(); ?>

    When u put “<?php get_header; get_sidebar(); get_footer(); ?>” all inside header.php that mean u load all ur header, sidebar and footer before u load ur content

    #49883
    tgpuckett
    Member

    OK, in my header.php file I have <?php get_header; get_sidebar(); get_footer(); ?>. Everything is OK, but now bbPress is shoved below the WP theme. Is this a theme problem or a CSS problem? How can I fix it? I really appreciate all the help you’ve offered Atsutane! It’s much appreciated.

    #49882
    Atsutane
    Member

    To center it u need to play with css .. try look into default bbpress style.css and see which code u can use to suit your theme :)

    #50720
    metavalent
    Member

    Double quotes is also inconsistent with the rest of config.php, which uses single quotes, throughout. I still can’t tell if Aksimet is working because when I go to the Content area of the Admin panel at http://mysite.com/bbpress/bb-admin/admin-base.php?plugin=bb_ksd_admin_page

    all I get is the bbPress footer logo stuff.

    #49881
    tgpuckett
    Member

    Yeah that’s kind of confusing…..Really the only problem now is bbPress is not centered in the page as it should be, it’s on the left-hand side. How can I fix this?

    #49880
    Atsutane
    Member

    Well maybe u can imagine like this. Inside your bbpress template, all file (not included header.php and footer.php) equal to your normal WP post. So u need to set up header.php and footer.php to be like ur WP index.php theme file.

    To make it short. Cut your WP theme index.php into 3 part. 1 for bbpress header.php, 1 for bbpress footer.php and one for your post a.k.a other bbpress template file.

    Sorry if my word confusing you. But i donno how to explain it XD.

    #49879
    tgpuckett
    Member

    Atsutane:

    Ok, now header.php only includes: <?php get_header() ?> and nothing else. It looks better now. How do I get the sidebar, etc to move over? I want it to be completely seamless. Thanks so much for your help so far!

    #49878
    Atsutane
    Member

    tgpuckett,

    it seem to me u put get_header(); inside header.php without removing all the original content

    #49877

    i got this to work fine, check out http://www.talkaboutdesign.com/forum/

    I’m also working on modifying the theme, and will be releasing a download for it in a near future.

    #49876
    tgpuckett
    Member

    OK, so I’ve done that, and it looks kind of muddled. How can I get bbPress to ingore it’s own stylesheets and just get all the info from WP’s theme?

    http://www.macuserblog.com/boards/

Viewing 25 results - 26,551 through 26,575 (of 26,762 total)
Skip to toolbar