Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 24,326 through 24,350 (of 26,829 total)
  • Author
    Search Results
  • Beau Lebens
    Participant

    @talbina – Automattic just hired the developer of BuddyPress (www.buddtpress.com), which is basically what you’re asking for, minus bbPress. So they are thinking somewhere along the lines of what you’re saying :)

    Needless to say it’s not much of a leap to take what comes of BuddyPress (a solid social networking core) and integrate that with bbPress to add the forums element (assuming BuddyPress doesn’t move in that direction itself, which is quite possible).

    #63482
    leeppp222
    Member
    #63496
    jel3
    Member

    I guess I’ll have to set up the wordpress login to redirect to the bbpress login page sending over the user info and then loging them into bbpress and redirecting them back to where they started.

    But that seems like a lot of goings ons for a simple login. Any ideas on how I could simplify that at all?

    Another thought would be to create a plugin to check for the wordpress cookie and then if present set the bbpress cookies.

    #63495
    howtogeek
    Member

    The problem is that WordPress and BBpress both use cookies for login.

    Since your browser will only send the cookie for the domain that it was set on, it’s not going to work automatically.

    You could use the same login database, of course. It’s just not going to be transparent.

    you meant the “anti-corporate image”? that’s what i really like.

    #63344

    I’ve heard several people telling that bbPress wouldn’t be updated anymore, because of a new system that is coming soon.

    Those people are grossly misinformed.

    By the way, WordPress 2.5 has been delayed a bit due to illness. We’ll release bbPress when WordPress 2.5 comes out (I’m trying to find out a more exact time now).

    t3ch33
    Member

    Please see the WordPress MU forum ( http://mu.wordpress.org/forums/topic.php?id=7778&page&replies=6#post-46043) and look for my first post where it says “feature and strip” …

    The font changes at that point. It looks like the rest of the thread is formatted like code. I don’t know why there’s a backtick near the word feature, but even if I did put it there and forgot to close it, is that the reason the entire thread appears formatted like code? If not, please explain.

    #2999
    Craig
    Member

    Hello,

    I am trying to install the newest editions of both WordPress and bbPress onto the same site as of March 10, 2008. The desired URLs for both are:

    WordPress: http://www.hooligans-gaming.net

    bbPress: http://www.hooligans-gaming.net/forums

    I have both running from the same database and thats all setup good. However, I have a few questions:

    1) I want a single registration page. Meaning that I want a visitor to the site to click on either the forums Register link or even the front page Register link and be brought to the same page and have both WordPress and bbPress share the same user table … how can this be done?

    2)Secondly, I want my registered users to be able to sign in at the front page OR on the forums and be logged in until they timeout or logout… how can this be done?

    3)With those two steps, my final request is how can I fully integrate my WordPress and bbPress? I plan to use the WordPress install for front page news and website content and my bbPress to be (you guessed it) my forums. As far as features is concerned, I would just want to display the top 10 most recent threads on the front page as well as another widget I have planned for a different feature that wouldn’t affect the forums so I’ll leave that one along for now.

    I have no problem editting files if I need to. I’m no pro but I have enough knowledge to get me by.

    Thank you in advance!

    #63002
    jel3
    Member

    How would one integrate them if they were on different domains?

    Like say wordpress is at http://www.mydomain.com and bbpress is at forum.seconddomain.com

    it seems that all the integration instructions out there only work if bbpress is within the same root domain as wordpress.

    harryworld
    Member

    I am with you horrorshow.

    I use WPMU a lot, but the support on plugins and documentation is far from enough. There seems no official support except the core of WPMU.

    In the past few releases, donncha would merge the equivalent WPMU version after the single version was out for several days.

    horrorshow
    Member

    sambauers,

    Will there be a new release of WordPress MU as well?

    I am not complaining, but I sometimes feel like WPMU is the ugly stepchild in that there is always extra hurdles to get things working with other software. ;)

    Don’t get me wrong, I love WPMU since it allows me to create a blog community and do some really cool things. keep up the good work!

    Sam Bauers
    Participant

    If you can wait a couple of days, WordPress/bbPress integration is a lot easier with a combination of WordPress version 2.5 and bbPress version 0.9

    harryworld
    Member

    By the way, I didn’t install any plugin for integration on either side

    harryworld
    Member

    horrorshow,

    Thanks for the detailed instructions. After,

    1. modifying the config.php as you stated above

    2. modifying bb_cookie() by not sending the time to setcookie()

    I am able to login and logout on either side, in any sequence.

    One more thing that I have notified (even not serious, but worth mentioning), is that if

    1. login on either side

    2. logout on WPMU

    3. visit bbPress, the first time will show up the user is still logged in

    4. refresh the page, or visit any page, it shows the user NO LONGER logged in

    I guess there may be some logic missing in bbPress for checking the existence of cookie and clear the session, on the first attempt.

    #59103
    harryworld
    Member

    Sorry for misleading.

    I mean I got a similar case as you do, thus case 2

    and thanks for the link.

    #63479
    chrishajer
    Participant

    I know next to nothing about integration, but if you check the source for a forum page, you’ll see that all the header stuff is from WordPress not bbPress. I would guess it has something to do with the way the header is being included. Hopefully someone who knows how to do this will come along soon. But I think it’s safe to say the header is your WordPress header not your bbPress header.

    #63477
    chrishajer
    Participant

    Looks like you’re using the WordPress header (blogheader) and WordPress would be looking for bloginfo(‘name’) and wp_title() where bbPress looks for bb_get_title() and uses whatever forum or topic you’re viewing. So, the bbPress data is not available to WordPress.

    Just a guess. Not sure of the best way to fix it, but I would guess that’s what’s going on. The header is supplied by WordPress but the titles need to be supplied by bbPress functions.

    #63460
    chrishajer
    Participant

    1. Good. The easiest way is if the installations are like this:

    http://chickspeak.com/ (which is actually WordPress)

    http://chickspeak.com/bbpress/

    (the bbPress installation is in a subfolder of your WordPress folder.)

    2. Search this forum for integration or view topics tagged integration. Here’s a good one:

    https://bbpress.org/forums/topic/seemless-wordpress-integration

    3. Maybe bbSync https://bbpress.org/plugins/topic/bbsync/

    #2993
    ironbound
    Member

    1. I have a wordpress blog and a bbpress forum. Independent of eachother (different directories).

    2. How do I integrate the two? By integrate I mean: Have bbpress be a page within the blog. (chickspeak.com style)

    3. It would be cool to integrate the blog comments into forum posts too but lets just work and word this out one at a time.

    Thank you in advance for clearing this up.

    #63409
    Beau Lebens
    Participant

    Actually I’m not using any plugins for the integration process, as bbPress and MU seem to handle it reasonably well “out of the box”.

    I’m running r1197 of WPMU and 0.8.3.1 of bbPress.

    Here’s some of the things that are modified/running though:

    config changes in bbPress:

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://url.to.wordpress.install.com/';
    $bb->wp_siteurl = 'http://url.to.wordpress.install.com/';

    // Integrating with mu
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.domainname.com'; // leading . allows subdomain sharing
    $bb->usercookie = 'wordpressuser'; // WPMU doesn't hash cookies
    $bb->passcookie = 'wordpresspass'; // WPMU doesn't hash cookies

    // Load WordPress so we can use the same templates.
    define('WP_BB', 'true');
    require_once dirname(dirname(__FILE__)) . '/wp-blog-header.php';

    config changes for WPMU

    // Adding custom settings to force cookies to be shared with/accessible to bbPress
    define('USER_COOKIE', 'wordpressuser');
    define('PASS_COOKIE', 'wordpresspass');
    define('COOKIEPATH', $base);
    define('SITECOOKIEPATH', '/');
    define('COOKIE_DOMAIN', '.domainname.com'); // same as bbPress

    Plugins in bbPress

    – A custom one I call “NoLogin” that just attempts to remove all reference that’s built into bbPress (and block actual attempts) at logging in via bbPress (rather than via MU)

    – MD5 insecurity for bbPress by Sam Bauers

    – A quick fix called “MainDomain” that redirects requests to a subdomain instance of the forums to the canonical version which is hosted from mybabyourbaby.com (rather than babyname.mybabyourbaby.com)

    – A quick and dirty “FixKSES” which allows the left/center/justify/right paragraph buttons to work in TinyMCE, because I’m using that for post formatting.

    – Display Names by Michael Adams et al to show the MU display_name, rather than the bbPress username

    WPMU plugins/hacks

    Because I load the WP engine in addition to the bbPress engine (not very performance-friendly, but makes life easier for sharing code etc), I have access to a lot of the functionality I rely on in the rest of the site – grabbing friendly usernames, user icons/avatars, links to profiles (which are handled completely outside bbPress and WP functionality), etc etc.

    I use the TinyMCE editor bundled with WP in bbPress for posting, which is surprisingly easy to add – just load the JS file and add a class to the TEXTAREA. The only thing I haven’t fixed just yet on this is that if you edit an existing post with multiple paragraphs in it then TinyMCE seems to squash it all back down to one.

    I also found that I had to add a quick function to stripslashes() onto the hooks “pre_post” and “pre_topic_title” to prevent annoying slashes appearing in them.

    One last thing that I discovered was that because the WP engine is being loaded to display bbPress pages, but it doesn’t really “know about” those pages (they’re not internal WP pages), it technically triggers a 404, even though it displays just find. I explained this a bit here: https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load including a way around it.

    Templates

    I’m actually using the same templates for bbPress as I am for MU. I accomplish this by symlinking those files directly from the place they normally live, into my-templates/mbob/header.php and footer.php, then make custom files for all the internal bits.

    HTH someone :)

    Beau

    #59102
    horrorshow
    Member

    Funny that my settings are screwy and there are better ways at accomplishing single sign on?

    Or funny: “yes, this is the closest that I am able to get to single sign-on, and I get the same results”?

    If it’s the first case, then please enlighten me.

    If it’s the second case, then this link might help you.

    https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress

    #59101
    harryworld
    Member

    horrowshow,

    I tried your settings, and it’s funny that if you login on either on side, you cannot log out on the other side.

    If I login WPMU first, I can only logout through WPMU.

    horrorshow
    Member

    nolageek,

    In WPMU, did you put the bbpress-integration.php in the “mu-plugins” directory or the “plugins” directory?

    I want only the site admin to be able to activate the “bbpress Integration” plugin, but it shows up for all users giving them an option to activate the plugin. That’s not good.

    On the bbPress side, I found that the wordpress-integration is not necessary (I’ve asked about this, but no replies so far), and display name plugin requires some code changes to the BBPress code for it to work properly. It causes permission problems, and I had to dig around the forum where it shows you which code to change.. In retrospect, it probably wasn’t worth the trouble. (Gurus, please correct me if I am wrong, as I am new to BBpress)

    If you want me to look for that thread again, let me know.

    To get single sign-on working properly, you need to make code changes on the bbPress side to bb_cookie() and bb_logout() in pluggable.php along with the config changes I mentioned (which you’ve done already).

    function bb_cookie( $name, $value, $expires = 0 ) {
    if ( bb_get_option( 'cookiedomain' ) ){
    setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ), bb_get_option( 'cookiedomain' ) );
    }else{
    setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ) );
    }
    }

    function bb_login($login, $password) {
    if ( $user = bb_check_login( $login, $password ) ) {
    bb_cookie( bb_get_option( 'usercookie' ), $user->user_login );
    bb_cookie( bb_get_option( 'passcookie' ), md5( $user->user_pass ) );
    do_action('bb_user_login', (int) $user->ID );
    }
    return $user;
    }

    I hope this helps, and please let me know how it works out.

    Nola1974
    Participant

    I’m not able to get this working in WPMU/bbpress:

    Using newest versions of both (fresh install 3 days ago)

    Site: http://geekdc.com

    bbpress: http://geekdc.com/forum

    bbpress config.php :

    $bb->wp_table_prefix = 'wp_';  // WordPress table prefix.  Example: 'wp_';
    $bb->wp_home = 'http://geekdc.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
    $bb->wp_siteurl = 'http://geekdc.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'

    //if ( isset( $bb->wp_table_prefix ) ){
    $bb->usercookie = ‘wordpressuser’;
    $bb->passcookie = ‘wordpresspass’;
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.geekdc.com';
    $bb->path='/forum/';
    //}
    /* Stop editing */

    Stock WPMU wp-config.php

    Using the following plugins on WPMU:

    bbpress-integration.php

    https://downloads.wordpress.org/plugin/bbpress-integration.0.74.zip

    Using the following plugins on bbpress:

    wordpress-integration

    https://bbpress.org/plugins/topic/wordpress-integration/

    display name

    https://bbpress.org/plugins/topic/display-name/

    Is there anything else I need to do?

    When I first log in to WPMU I get the following cookies:

    geekdc.com wordpress_test_cookie (content:’ WP+Cookie+check’)

    geekdc.com wordpressuser (content username)

    geekdc.com wordpresspass (content: hash)

    I go to the forum, and I’m not logged in.

    I log into bbpress and I get two more cookies, exactly the same execept for the expiration dates. The WPMU expires at the end of session. The wordpress expires in one week. I do not get another wordpress_test_cookie.

    Craig
    Member

    Thanks!

Viewing 25 results - 24,326 through 24,350 (of 26,829 total)
Skip to toolbar