Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 50,426 through 50,450 (of 64,511 total)
  • Author
    Search Results
  • #15262

    Topic: Integration Woes

    in forum Installation
    jchildrose
    Member

    OK, I have sort of a weird problem that I am hoping I can get some help with.

    I have multiple WP sites integrated with each other – 1 install on the root domain, and numerous installs on subdomains.

    In order to integrate users and cookies to maintain a login valid across all the installs the Authentication Unique Keys section in my wp-config is set up like this:

    define (‘COOKIE_DOMAIN’, ‘.mydomain.com’);

    define(‘COOKIEPATH’, ‘/’);

    define(‘AUTH_KEY’, ‘mygeneratedkey’);

    define(‘SECURE_AUTH_KEY’, ‘mygeneratedkey’);

    define(‘LOGGED_IN_KEY’, ‘mygeneratedkey’);

    define(‘NONCE_KEY’, ‘mygeneratedkey’);

    $baseurl = ‘http://www.mydomain.com’;

    $cookiehash = md5($baseurl);

    define(‘COOKIEHASH’, $cookiehash);

    define (‘AUTH_SALT’,’AUTH_SALT’.COOKIEHASH);

    define (‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);

    define (‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);

    // define (‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH); // If you use connection SSL

    define (‘LOGGED_IN_COOKIE’,’LOGGED_IN_COOKIE’.COOKIEHASH);

    define (‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);

    As a result, I can’t find the salts needed in wp-admin/options.php as they are not listed. I’ve tried using the same settings in bbpress as above in the bb_config file (see below), but no love. I’ve also tried changing them to BB_%WHATEVER% which doesn’t seem to work either.

    define (‘COOKIE_DOMAIN’, ‘.mydomain.com’);

    define(‘COOKIEPATH’, ‘/’);

    define( ‘BB_AUTH_KEY’, ‘mygeneratedkey’ );

    define( ‘BB_SECURE_AUTH_KEY’, ‘mygeneratedkey’ );

    define( ‘BB_LOGGED_IN_KEY’, ‘mygeneratedkey’ );

    define( ‘BB_NONCE_KEY’, ‘mygeneratedkey’ );

    $baseurl = ‘http://www.mydomain.com’;

    $cookiehash = md5($baseurl);

    define(‘COOKIEHASH’, $cookiehash);

    define (‘AUTH_SALT’,’AUTH_SALT’.COOKIEHASH);

    define (‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);

    define (‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);

    // define (‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH); // If you use connection SSL

    define (‘LOGGED_IN_COOKIE’,’LOGGED_IN_COOKIE’.COOKIEHASH);

    define (‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);

    All of the users can login to bbpress using the same username and password as on the wp sites, but the cookie integration doesn’t work, and again – I cant find the correlating values in wordpress.

    Does anyone have any suggestions?

    #15260
    Driftless
    Member

    Hi –

    I want any user who I register on my WPMU site to automatically get the cookie-share-log-on-goodness that bbpress provides.

    HOWEVER!!!

    I do NOT want any user who registers at my bbpress site to get a WPMU account. I don’t even want them to get a “subscriber” account.

    Any ideas?

    #15259

    I’m trying to protect page on another subdomain… but unfortunately bbPress is not authenticating the cookie. (they are set for .domainabc.net)

    for test.domainabc.net:
    Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dc

    for forums.domainabc.net
    Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dc

    on test.domainabc.net i have something like this:

    require_once ('../forums.domainabc.net/bb-load.php');

    function add_allowed_redirect_hosts() {
    $allowed_redirects = array('test.domainabc.net');
    return $allowed_redirects;
    }
    add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');

    bb_auth( 'auth' );

    It will properly redirect to the login page, enter info, redirect back to test.domainabc.net – but then it will issue another 302 redirect back to forums.domainabc.net.

    and if i place a die statement within this bb_auth else on test.domainabc.net it will echo

    if ( 'auth' === $scheme && !bb_is_user_logged_in() ) {
    //redirects fine to login page the first time...
    } else {
    //echo - this happens when returning a 2nd time
    }

    BUT… if i return to forums.domainabc.net i’m logged in… and everything works.

    #75877
    Greg
    Participant

    Quick update: after upgrading from 0.8.3 to 0.9.0.5, upgrading from 0.9.0.5 to 1.0.1 in a second step went smoothly. Except for:

    – The “New bbPress installation” email message still had “Please give me a name!” in the from field.

    – The first time I went to the upgraded forum it had “Please give me a name!” in the header where the name should be. After I logged in as keymaster this fixed itself.

    #15258
    Greg
    Participant

    I just tried to upgrade a 0.8.3 forum to 1.0.1. I am experimenting, so I did the following:

    – Created a copy of my production forum db (didn’t turn off plugins or anything first) – call it “DBCOPY”

    – Copied the 1.0.1 bbPress files to a domain I use to stage upgrades – call it “stage.com”

    – Browse to “stage.com/forum”

    The first strange thing was that after the first step in the upgrade process I checked “bb-config.php” and BBDB_NAME was *not* what I specified in the form. Somehow the upgrade process had found a previous bbPress database that I had associated with stage.com and used that instead (!). This seemed so strange that I repeated the entire process, with the same result.

    I manually set the DB to the correct name, and then the upgrade then appeared to complete without a hitch, but…

    1. When I browsed to “stage.com/forum” I see the message “Could not determine site URI”

    2. The “New bbPress installation” email message has “Please give me a name!” in the from field

    I then started from scratch with bbPress 0.9.0.5 and everything went as expected. Upgrade completed flawlessly.

    Is upgrade from 0.8.3 not supported? I don’t see that written anywhere. If bbPress is really overriding my BBDB_NAME specification then this is a pretty serious bug.

    #15257
    johnhiler
    Member

    I’ve noticed that when I’m commenting on bbpress.org, there’s also a “tags” field.

    Does that allow me to tag the topic itself? Or just my individual post? Or maybe the goal is to encourage commenters to help tag the topic?

    Wondering if this is a new option or if it’s always been there but just off by default (it doesn’t show up on my 0.9 installs). I worry that it would be slightly confusing for new users… but thought I’d check what everyone else thought!

    #50397
    Croyd
    Member

    I have a site with a wordpress/bbpress integration using a modified Atahualpa/Kakumei theme. My wordpress is version 2.8.1 & my bbpress is version 0.9.0.5. and it all works fine.

    I want to upgrade to the latest version of bbpress( version 1.0.1 ) but when I tested it I get backslashes before any single or double quotes no matter where I’m at in bbpress. It happens in topic titles, topic contents, when putting in the name for the site etc..

    Both work fine with the integrated logins and cookies. The problem only comes after I’ve put my reference to wp-blog-header.php in the bb-config.php file.

    I could do the hack that was suggested earlier but the downfall to that is that you won’t be able to have backslashes at all in anything.

    I’m thinking maybe the problem is that bbpress is using wordpress’s apply_filters function instead of its own, but that is a guess.

    Anyone got any ideas?

    Oh and besides the bbpress-integration plugin in wordpress i’m not using anything else on the test I did.

    #75831
    citizenkeith
    Participant

    I have switched off all plugins except the following:

    Allow Images 0.7.1

    BBCode Buttons Toolbar 0.0.9

    BBCode Lite 1.0.3

    bbPress Smilies 0.0.8

    Human Test 0.9.2

    I haven’t had a problem for 24 hours. Will slowly switch on plugins until I do.

    #75870
    johnhiler
    Member

    Yah it’s a bug with 1.0… chrishajer reported it to trac recently:

    https://trac.bbpress.org/ticket/1139

    You can manually change the permissions for now… and hopefully it will be fixed in future releases!

    #75049
    Josh Leuze
    Member

    Bummer, I took a closer look at the YAF forum thread, and it’s actually to convert from phpBB to YetAnotherForum…

    Anyone else have any other wild ideas?

    #15256
    sms1962
    Member

    Hi,

    I did not see information on how to upgrade from 1.0-alpha-x to 1.01. Are there any problems? Someone already did this?

    I’ve bbPress 1.0-alpha-2 with WP integration (v. 2.8)

    SMS

    #75868

    Which version of bbPress are you using?

    If you have phpMyAdmin access, then open the usermeta table (should be bb_capabilities if you are not using shared user tables and should be wp_capabilities if you are using shared tables) and change the value of bb_capabilities to a:1:{s:9:"keymaster";b:1;} for your user.

    Hope that helps.

    P.S. – Change the default table prefixes as your case may be.

    @toosalty & @navjotjsingh

    WordPress 2.8 integrates easily with bbPress 1.0

    I just wrote a post today : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/

    I will also be writing a post on how to upgrade existing integrated installations (most probably tomorrow morning). Let me know if you are facing any issue, I will try to help.

    P.S. – No plugin is now needed for integration. ;)

    #75725

    @Ipstenu – thank you for the clarification regarding the upgrade!

    About the recount issue, there was also Simple Onlinelist causing the conflict. If a recount is needed, it will work by deactivating it.

    https://bbpress.org/forums/topic/recount-errors

    #15253

    Fistly excuse my english ….

    Hi, i have integrated bbpress inside my wordpress installing on the same database.

    The problem is that i have made all the integration except the user relation, so now i can logon like admin user on bbpress but i can’t change nothing :-( it seems to be a normal user

    Can i do manually (changing the database) to assign admin user as administrator ????

    #75372

    In reply to: bbPress 1.0 released

    grassrootspa
    Member

    Loving the addition of Voices into the core. Just figured out how to display them :)

    #75860
    johnhiler
    Member

    Well _ck_’s excellent Hidden Forums plugin will get you started. Let me know if you need help with the Custom Role plugin. Or if you’re using bbPress 1.0, there’s a Role Manager plugin that should do the trick!

    #75863
    _ck_
    Participant

    You can make a view to filter just about any way you want. Just bypass the proprietary internal bbPress query system and make your own mysql query. Study the My Views plugin set to see how it’s done.

    #75859
    deadlyhifi
    Participant

    I may have to start doing it manually, then either adapt an existing plugin, or get my head around it myself at a later stage. They’re really banging on about it at work right now :( as a must have ASAP feature. It’s all about the monies!

    #75770
    deadlyhifi
    Participant

    The standard version of approve user registration does not work in V1. This may be breaking registration.

    There’s an updated version of this plugin here: https://bbpress.org/plugins/topic/approve-user-registration/page/2/#post-3902

    I’ve got V1.0.1 working great with that and human test. But if you’ve tested with the plugins disabled I can’t really offer anymore help. Sorry.

    #15250
    deadlyhifi
    Participant

    For anyone interested, I’ve got the Approve User Registration plugin working for V1. With the help of _ck_ of course (big thanks!). There’s more work to do on it, but for now it works…

    http://bbpress.org/plugins/topic/approve-user-registration/page/2/#post-3902

    #75858
    johnhiler
    Member

    You could do that with a third plugin for sure. I haven’t automated it because rebilling through Paypal is a pain… so I have someone manage it manually.

    I think WordPress MU has a plugin that does something similar. Maybe you could adapt that?

    #75857
    deadlyhifi
    Participant

    Have you looked into automating the procedure at all with the PayPal recurring payments system? I was thinking about creating a separate ‘advanced’ roles table, which WP and bbP check to see if that user should have access to certain content.

    This table would log the user ID and keep the callback from PayPal, and when their time was set to expire so they would lose access should they cancel their auto renew payments.

    #75783
    _ck_
    Participant

    Is it possible you have lost the proper integration and WP is making one cookie name and bbPress is making the other?

    #75861
    r-a-y
    Participant

    This isn’t BuddyPress-specific.

    You can accomplish changes for the title, meta keywords, and description with a bbPress plugin or custom bbPress code.

    I answered this in your post on the BuddyPress forums:

    https://buddypress.org/forums/topic/group-forums-meta-data

Viewing 25 results - 50,426 through 50,450 (of 64,511 total)
Skip to toolbar