Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 21,151 through 21,175 (of 26,865 total)
  • Author
    Search Results
  • #74362
    Sam Bauers
    Participant

    The bad quoting issue is fixed, it was caused by the move to the new esc_html() function from WordPress.

    Here’s the quick fix. In bb-includes/functions.bb-formatting.php go to line 83 and replace:

    $text = esc_html( $text );

    with:

    $text = wp_specialchars( $text, ENT_NOQUOTES );

    #74561
    thegiancarlo
    Member

    I think I have come across a bug or something. Here is my problem. I can only sign into bbpress or wordpress at a time. I have no idea as to what could be causing it. By log in I mean access the Site Admin Dashboard of either.

    #74527
    norights
    Member

    I was having the same troubles as the original poster. WordPress 2.8 and BBPress 1.0 RC2, whenever I logged into BBP I couldn’t log into WP without logging out of BBP first. All the settings matched in both configs and adding in the suggested code (be it from the WP plugin which gave me a COOKIEHASH, a COOKIE_DOMAIN, a SITECOOKIEPATH, and a COOKIEPATH or from the BBP integration page which gave me just a COOKIE_DOMAIN and a COOKIEPATH) didn’t change anything. I tried junsuijin’s suggestions and now when I log into one it logs me out of the other. Anybody know how to get this running properly?

    #74525

    I’m able to integrate WP2.8 and BBP1.0 without this.

    The settings put out by the Integration plugin are not REQUIREMENTS, they are RECOMMENDED. Basically automated guesses based on your wordpress/bbpress configuration. I can’t say I’ve integrated any two sites in the exact same way, as the cookie and domain setups are almost always different between installs, so it requires some trial and error to get them lined up.

    #74524
    Tynan Beatty
    Member

    Ok arturo84, make the changes Sam suggested by dropping the www from your cookie domain settings in each config, then put the Integration plugin code back into wp-config. In wp-config the Integration plugin recommends the following settings among others:

    define('SITECOOKIEPATH', '/wp-admin');
    define('COOKIEPATH', '/');

    change SITECOOKIEPATH to match COOKIEPATH like this:

    define('SITECOOKIEPATH', '/');
    define('COOKIEPATH', '/');

    Then for the bb-config you should include the recommended integration speedups from the bottom of your bb-admin/options-wordpress.php page, and make sure that the cookiedomain doesn’t have www, and that both cookiepath and sitecookiepath are / as well:

    $bb->cookiepath = '/';
    $bb->sitecookiepath = '/';

    Then go into bb-settings.php (in the base bbpress folder). Look to line 768 if you have rc-2. Change line 768 from:

    $bb->sitecookiepath = rtrim( trim( $bb->sitecookiepath ), " tnrx0B/" );

    to this:

    $bb->sitecookiepath = rtrim( trim( $bb->sitecookiepath ), " tnrx0B" );
    $_bb_sitecookiepath = rtrim( trim( $bb->sitecookiepath ), " tnrx0B/" );

    Notice the removed / before the ” and that you need to add the second variable below it as that variable is used to set the other cookie paths.

    Upload the altered bb-settings.php over your current one and it should fix the problem. Please come back and let us know if it works for you too :)

    peace~

    #74564
    johnhiler
    Member

    This report sounds similar, although it sounds like they may have been using an earlier RC:

    https://bbpress.org/forums/topic/wordpress-mu-271-and-bbpress-10-rc-integration-problem

    There was a solution linked from there … hope that points you in the right direction! There was also an integration guide someone created here:

    http://umwblogs.org/wiki/index.php/Integrating_WPMu%2C_BuddyPress%2C_and_bbPress

    Hope one of those helps!

    #74559
    johnhiler
    Member

    Sometimes you can lose admin access during integration:

    https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101#post-17417

    Installing the plugin linked from that post usually restores access – try it out and let us know how it goes!

    #14982
    thegiancarlo
    Member

    I managed to successfully install BBpress with wordpress integration. Every thing was going smoothly until both BBpress and WordPress repeatedly keep forgetting my password resulting in me having to reset it every time. Now i can’t get into the admin section of BBpress. I can only log in.

    #65554
    johnhiler
    Member

    Hopefully we can leverage the WordPress theme directory code:

    https://wordpress.org/extend/themes/

    In the mean time, do you know of any extra themes beside the ones on bbshowcase?

    http://bbshowcase.org/forums/view/available-themes

    If we assemble a list of available themes, we’ll be all ready to go when the bbPress theme directory comes out eventually!

    #74519
    Sam Bauers
    Participant

    Does your site always have “www” in front of it?

    In any case, try changing the COOKIE_DOMAIN in WordPress like so (note the dot in front of the domain):

    define('COOKIE_DOMAIN', '.site.com');

    Also enter this value in bb-config on the bbPress side:

    $bb->cookiedomain = '.site.com';

    Doing this will log you out, but you should be able to just log back in.

    Arturo
    Participant

    i’ve upgraded wp from 2.7.1 to 2.8, checked all the key for the cookie and

    AUTH_KEY in wp-config is the same of BB_AUTH_KEY in bb-config, the same for SECURE_AUTH_KEY – BB_SECURE_AUTH_KEY,

    LOGGED_IN_KEY – BB_LOGGED_IN_KEY, NONCE_KEY – BB_NONCE_KEY.

    i’ve installed and activated the plugin bbPress Integration 1.0-rc-2 configured with the url of bbpress (http://www.site.com/forums/) saved the option, copy/past in wp-config.php for the “code” in the box which is:

    define(‘COOKIEHASH’, ‘e99db1aecc456188d6dc1ccc37528ff8’);

    define(‘COOKIE_DOMAIN’, ‘.www.site.com’);

    define(‘SITECOOKIEPATH’, ‘/wp-admin’);

    define(‘COOKIEPATH’, ‘/’);

    i’m able to login in bbpress side, and i see the cookie wordpress_e99db1aecc456188d6dc1ccc37528ff8 for /forums/bb-admin, /forums/bb-plugins, /forums/my-plugins, /wp-admin, /wp-content/plugins and /.

    i’ve other 2 cookies bb-user-settings-1 and bb-user-settings-time-1 for /forums/bb-admin.

    when i try to go in wp-admin i’m slogged from wp and 2 new cookies appear, wordpress_test_cookie.

    when i try to login in WP side i’m redirected to the login page every time.

    if i remove the code generated by the Sam’s plugin i can login but i’m logged out from bbpress…

    how resolve this problem? thanks for the help.

    #74255
    Sam Bauers
    Participant

    We have bbPress physically located a subdirectory within WordPress.com (WPMU), you can call that “bbpress”. We do it this way because we point *.wordpress.com to the same host (well not exactly, but for the point of the example let’s say we do). Anyway, because on WordPress.com all blogs are given a subdomain, we need to intercept the forum subdomains and push them to the bbPress code before WPMU executes. That’s what this .htaccess code does.

    You could do it without fewer rewrite rules if you didn’t use pretty permalinks.

    #74515
    Sam Bauers
    Participant

    I tend to use these terms and they are all potentially mutually exclusive, no one type of integration absolutely depends on the other although the first one generally requires the second one to work (99.9% of the time).

    • Cookie integration – Sharing of login cookies with WordPress
    • User database integration – Sharing of user data tables with WordPress
    • Deep integration – Including the WordPress codebase (PHP) inside bbPress to allow use of WordPress functions inside bbPress

    #74254

    Thanks Sam. I’ve yet to try this, but I will tomorrow and will let you know how it works. I suspect probably better than I could ever do on my own. :)

    My guess, is this works if bbPress is installed in a directory off the WordPress root called “/bbpress/” ?

    Does this mean that some/all of the code above goes into the WordPress .htaccess file to prevent it from taking over, or does it go in the bbPress .htaccess file?

    #74483
    Anonymous User
    Inactive

    Hi again,

    the code doesn’t work 100% in my installation.

    After the Login in WordPress – my testuser is shown as “logged”, but I can’t go to the Administration. :( The System doesn’t redirect me. At the same time my testuser ist shown as “logged in” in bbPress and there I can go to the admin.

    When I test the login from bbPress first nothing seems to happen. I’m not logged in in both bbPress and WordPress.

    hmpf … So … I’m going to test tomorrow again.

    #74354
    Sam Bauers
    Participant

    The tag issue is fixed.

    This list contains all the outstanding reported issues which I am aiming to fix before the 1.0 release. At the moment there are only two things there. If you know of an issue that isn’t there, then please add it immediately.

    Other remaining tasks before 1.0 is released all have to do with finishing the admin screens. This will be heavily based on WordPress.

    We also have Ben Dunkle – the guy who created the WordPress admin icons – working on some missing icons (forums, topics, posts).

    #74482
    Anonymous User
    Inactive

    Hi Vizworld,

    thanks for your fix – I will test it soon – after a little “distance” from my computer. :)

    Today – it’s to sunny … so i must go to the mountains. :)

    #74464

    Whoops… Need to remember to switch out of WordPress support mode! Totally my fault.

    #74481
    Vizworld
    Member

    Ok, I fixed it.. Kinda.. It’s a nasty fix, but it _does_ work (I’m using it on http://www.Vizworld.com now).

    A quick cliffnotes version:

    Took 2 main changes.. a) I had to update the validate_auth function in the _freshly_Baked_cookies plugin to make it work with the new password-including authentication. b) I had to modify the bb-include/pluggable.php to use the new algorithms for salting & auth (wp_salt and wp_auth). The ones that ship with bbpress don’t pass a Schema around, and apparently it’s important now.

    If you want the two files, you can download them from http://www.yeraze.com/bbpress-wp2.8-fbc_fix.tgz . i really hope _ck_ can take a look at this and see if it can all be encapsulated within the fbc plugin.. As it is now, soon as I upgrade bbpress I’ll lose it again.

    johnhiler
    Member
    amistad
    Member

    Hi, i’m looking for a plugin, that can integrate comments on my wordpress width post in my bbpress. First what I need. When I add a new article ( post ) on my blog, I would like that plugin will automate create a topic on the same title on the bbpress forum. I seen something like that before, but I can’t find that …

    It will be nice, if that plugin will also create post on that topic, if someone add a comment to the article on a wordpress blog, maybe it can work in other way too, when someone add post to topic on forum , a plugin will automatically add comment to blog.

    Thanks for all help.

    #74480
    johnhiler
    Member

    Ah yah Vizworld, I think you nailed it.

    I took a look at ck’s original plugin and it mentions support for WordPress 2.8 (as of 3/13/09):

    https://bbpress.org/plugins/topic/freshly-baked-cookies/

    But this post (from 4/3/2009) on ck’s blog points out that WordPress 2.8 changed their login model:

    http://ckon.wordpress.com/2009/04/03/wordpress-28-might-break-login-compatibility-again/

    Sounds like WordPress may have changed it after the Freshly Baked Cookies plugin was released, breaking the FBC plugin?

    #74479
    greatpatton
    Member

    It’s the same problem that I encountered with 1.0-alpha-5… So it seams that all version before RC2 won’t work with the 2.8…

    #74228
    massbase
    Member

    I hope this codex isnt going to be just a really long forum post.

    I hope the codex lists all bbpress functions, like wordpresses so’s we can build our own themes and stuff.

    #74478
    Vizworld
    Member

    Ok.. I’m not 100% on this, but it seems the cookie hashing algorithm changed in WP2.8 .

    In WP2.7, in wp-includes/pluggable.php (line 512)

    if ( $expired < time() ) {

    do_action('auth_cookie_expired', $cookie_elements);

    return false;

    }

    $key = wp_hash($username . ‘|’ . $expiration, $scheme);

    $hash = hash_hmac(‘md5’, $username . ‘|’ . $expiration, $key);

    and in 2.8:

    // Quick check to see if an honest cookie has expired

    if ( $expired < time() ) {

    do_action('auth_cookie_expired', $cookie_elements);

    return false;

    }

    $user = get_userdatabylogin($username);

    if ( ! $user ) {

    do_action(‘auth_cookie_bad_username’, $cookie_elements);

    return false;

    }

    $pass_frag = substr($user->user_pass, 8, 4);

    $key = wp_hash($username . $pass_frag . ‘|’ . $expiration, $scheme);

    $hash = hash_hmac(‘md5’, $username . ‘|’ . $expiration, $key);

    So, in 2.8 the hash is salted with 4 character’s of the USer’s password. The “freshly_baked_cookies” plugin hasn’t been upgraded to match this change, so it always fails to match the hashed cookies.

    Unfortunateyl,the get_userdatabylogin function doesn’t seem to exist in bbpress…..

Viewing 25 results - 21,151 through 21,175 (of 26,865 total)
Skip to toolbar