Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 21,126 through 21,150 (of 26,865 total)
  • Author
    Search Results
  • #74612

    We can see out of the box integration in upcoming releases but that can be done even now although it requires much of manual work.

    You can integrate WP + bbPress as per my guide : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-with-your-wordpress-setup/

    and using both the registration page wont be a problem but you can redirect it to one if you want. There was a plugin for it, I guess else it can be done manually too.

    #74611
    Shagalaga
    Member

    @john well now i’m curious :-D

    michael3185
    Member

    Hey, that’s very nice indeed!

    #74610

    There is a possibility to do this now. Something is in the works to do this even more neatly eventually.

    Good work!

    Sam Bauers
    Participant

    Nice, if you need help fixing your integration just let me know.

    John Blackbourn
    Participant

    I thought I would show off my first completed bbPress project:

    dinetoread.ie

    dinetoread.ie/forums

    (Note: currently the forum login integration is actually broken (see this thread) due to my hastiness to upgrade WordPress to 2.8 without finishing checking everything first.)

    User registration and logging in/out is all handled through bbPress. Integration worked perfectly first time when following the invaluable basic integration screencast by sambauers.

    Customisations include:

    • A bbPress theme written from the ground up, to match the rest of the site.
    • Extended user profiles showing “Currently reading” and favourite books (example of a full profile).
    • Private profile fields for private information needed when signing up for events.
    • Additional meta information on topics to optionally display the book being discussed (example on this topic).
    • Reverse thread ordering option, to allow visitors and users to reverse the order of posts in a thread (persistent).
    • Custom avatar uploading functionality (defaults to Gravatar).
    • Basic but surprisingly effective protection against spam user registrations in the form of blocking any registration which includes a value in the URL profile field (this field is not used on the site nor shown on the registration form). It works on the premise that any registration submission that includes a value in the URL field must be an automated spam bot registration and can simply be blocked.
    • A second level of spam registration protection using the StopForumSpam.com API.

    All the customisations have been achieved through custom plugins, the core hasn’t been touched. All the book images and links are automatically pulled in from the Amazon Web Services API.

    I’m planning on releasing a couple of the plugins I wrote for the site once I’ve tidied them up and added some comments. I’ll probably wait until bbPress 1.0 though.

    Any feedback appreciated!

    #73599

    ITguy, did you remember to do the user-role mapping in your bbPress WordPress integration after you had everything all lined up? I read through your above steps twice and didn’t see it there except for in step 3 before everything was working, but I did also just wake up from a pretty epic nap. :)

    #73597
    ITguy
    Member

    John,

    I came across your other posting ‘Integrating WPMU trunk and bbPress RC2’ and added the following to bb-press.php:

    // DEEP INTEGRATION AT THE VERY TOP
    // (Sam, I can see you shaking your head right now)
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST') & !defined('BB_IS_ADMIN')) {
    define('WP_USE_THEMES', false);
    include_once( '/absolute/path/to/domain.com/wp-blog-header.php' );
    //unset($wp_object_cache);
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy") ;
    }
    '
    and

    '
    // WordPress database integration speedup
    $bb->wp_table_prefix = 'wp_';
    $bb->wordpress_mu_primary_blog_id = 1;
    $bb->user_bbdb_name = '';
    $bb->user_bbdb_user = '';
    $bb->user_bbdb_password = '';
    $bb->user_bbdb_host = '';
    $bb->user_bbdb_charset = '';
    $bb->user_bbdb_collate = '';
    $bb->custom_user_table = '';
    $bb->custom_user_meta_table = '';

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://mydomain.com'; // no trailing slash
    $bb->wp_home = 'http://mydomain.com'; // no trailing slash
    $bb->cookiedomain = '';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_HASH-FROM-FIREFOX';
    $bb->secure_auth_cookie = 'wordpress_sec_HASH-FROM-FIREFOX';
    $bb->logged_in_cookie = 'wordpress_logged_in_HASH-FROM-FIREFOX';
    $bb->admin_cookie_path = '/SUB-DIRECTORY/bb-admin';
    $bb->core_plugins_cookie_path = '/MY-SUB-DIRECTORY/bb-plugins';
    $bb->user_plugins_cookie_path = '/MY-SUB-DIRECTORY/my-plugins';
    $bb->sitecookiepath = '';
    $bb->wp_admin_cookie_path = '/wp-admin';
    $bb->wp_plugins_cookie_path = '/wp-content/plugins';
    define('WP_AUTH_COOKIE_VERSION', 1);

    The result being the user integration is working, HOWEVER admin no longer is recognized as ‘KEY MASTER’ nor does it know about my second bbPress user I created as administrator to be used as the user in WPMU’s Forum integration. Using the admin as that user did not solve the problem either of being able post or create topics/groups. It seems that I either get partial data integration or user integration but not both. What a mess.

    BTW, I have working without any problem WPMU 2.7.1 and BudyPress 1.0.1. Trying to integrate bbPress 1.0-RC2. I had originally working WPMU 2.7.1, BuddyPress 1.0 and bbPress 1.0-Alpha-6. I should have left things alone.

    #74605
    michael3185
    Member

    You’ll find tons of useful information if you search through these forums. I’m happy to share my own experience of installing and modifying bbPress if you like. Mind you, my bbPress hasn’t so much as made eyes at WordPress, so I know nothing about integration. My email is my username at gmail.com if stand-alone is all you need.

    #73596
    ITguy
    Member

    John, this were I ended up:

    1. Log in as admin to bbPress and went to admin->settings

    2. Enabled ‘bbPress XML-RPC publishing protocol’ in the ‘Writing pane’

    3. In the ‘WordPress Integration’ pane set WordPress Administrator’ to ‘bbPress Key Master’ role. All others to ‘bbPress meber’ and saved the User Role map.

    4. added:

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    define(‘COOKIEHASH’, ‘e6bd245d6e82566f2fdcff73419dd3da’ );

    to both wp-config and bb-config files

    5. Copied the 7 unique authentification keys from the wp-config file to the bb-config file adding ‘BB_’ in from of each variable name.

    6. Added to the end of the bb-config file, just be the closing php code:

    $bb->bb_xmlrpc_allow_user_switching = true;

    Saved bb-config.sys

    7. Moved buddypress-enable.php file to the my-plugins folder under the forums folder and activated it.

    8. In the WPMU admin pane selected the BuddyPress->Forums Setup and enter the forum URL, as well as the WPPU admin name and password.

    9. Logout of BuddyPress and bbPress. Logged in to BuddyPress, changed URL to forum, needed to log in, however changing back and forth between the two now needs no further logging in.

    10. Created a new group on the Buddypress site with ‘Enable discussion forum’ selected. Forum is created and visible on the bbPress site.

    11. Enter a topic and comment, bot show up on both sites.

    END of good news. Here is what is not working:

    1. No user integration, only admin works, any other WPMU user is not recognized on the bbPress site.

    2. Existing group’s discussion are not creating forums when toggling the ‘Enable discussion forum’ option.

    3. Only admin can create topics and comments within the group forums (due to problem #1).

    I have done this now 3 times over, reinstalling bbPress (deleting the forum folder, the bb_ tables and bb_ entries in the wp_usermeta) and following the steps above which is a combination of your ‘Forum Integration: Helpful Hints’ posting and the added steps regarding the cookie integration posted on ‘The Easy Button’ and the ‘UMW Wiki’.

    I not sure what to do next to get this right :-(

    #15000
    camperadmin
    Member

    Hi All,

    (Newbie) I just installed bbPress and elected to integrate with WordPress, no problem initially. I then did something stupid, I saw a path name http://www.mysite.com/forum/forum/… and thought I had created a nested set of folders with the same name in my directory. It actually was the name of the first forum. So–I deleted the installation and the corresponding page in WP and then recreated the directory, installed the files, created the page again and this time, I could not get past step one of the installation. As soon as I click step 2 it goes to my root domain. I assume that there is now an entry in the wp database for the path and I can not change it. When I try to load that page, I get the login page, however it lacks the theme but does have the description I have in the original install (so that data survived my delete) and when I click submit I get a 404 page. I don’t know what to do to reset things. Please help!!

    Marcomail
    Member

    Why there isn’t a bbpress version totally integrated with wordpress ? I would a BBpress with the same user db, the same login panel, the same registration page. Is there a possibility to see this in the future ? Thanks

    #14997
    camperadmin
    Member

    Hi All,

    (Newbie) I just installed bbPress and elected to integrate with WordPress, no problem initially. I then did something stupid, I saw a path name http://www.mysite.com/forum/forum/… and thought I had created a nested set of folders with the same name in my directory. It actually was the name of the first forum. So–I deleted the installation and the corresponding page in WP and then recreated the directory, installed the files, created the page again and this time, I could not get past step one of the installation. As soon as I click step 2 it goes to my root domain. I assume that there is now an entry in the wp database for the path and I can not change it. When I try to load that page, I get the login page, however it lacks the theme but does have the description I have in the original install (so that data survived my delete) and when I click submit I get a 404 page. I don’t know what to do to reset things. Please help!!

    #74433

    I am sure that I am doing something wrong here.

    This is the vhost for the domain :

    server {

    listen 80;
    server_name mydomain.com;
    rewrite ^/(.*) http://www.mydomain.com/$1 permanent;

    }

    server {

    listen 80;
    server_name www.mydomain.com;

    access_log /home/public_html/mydomain.com/log/access.log;
    error_log /home/public_html/mydomain.com/log/error.log;

    location / {

    root /home/public_html/mydomain.com/public/;
    index index.php index.html;

    # Basic version of WordPress parameters, supporting nice permalinks.
    # include /usr/local/nginx/conf/wordpress_params.regular;
    # Advanced version of WordPress parameters supporting nice permalinks and WP Super Cache plugin
    include /usr/local/nginx/conf/wordpress_params.super_cache;
    }

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ .php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    include /usr/local/nginx/conf/fastcgi_params;
    fastcgi_param SCRIPT_FILENAME /home/public_html/mydomain.com/public/$fastcgi_script_name;
    }
    }

    I have added the rewrite rules for bbPress in /usr/local/nginx/conf/bbpress_params.regular

    Now where should I add include /usr/local/nginx/conf/bbpress_params.regular; in my vhost file?

    #74570

    Here is what worked for me, on my WPMU sub-domain setup. (Sam, when you go through this, I understand that bbPress stores the salts in the DB and that they aren’t needed here, but for some reason I just feel better inside knowing I put them there the same as they are in wp-config.php :) )

    2:05pm eastern time – UPDATE: I have confirmed these settings work on both WPMU subdomain and subdirectory installs. All logins/logouts, cookie clears, posting, and admin panel access works 100%.

    WordPress MU is installed on the domain root, bbPress is installed in a SUB-DIRECTORY called “support”

    Terms

    SUB-DIRECTORY = Name of directory that bbPress is installed in
    HASH-FROM-FIREFOX = Cookie hash taken from pre-integrated login cookie
    GENERATED = String generated by WordPress key/salt generator

    bb-config.php

    // DEEP INTEGRATION AT THE VERY TOP
    // (Sam, I can see you shaking your head right now)
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST') & !defined('BB_IS_ADMIN')) {
    define('WP_USE_THEMES', false);
    include_once( '/absolute/path/to/domain.com/wp-blog-header.php' );
    //unset($wp_object_cache);
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy") ;
    }

    // Typical database stuff - blah blah blah

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');
    define('COOKIEHASH', 'HASH-FROM-FIREFOX' );

    define('BB_AUTH_KEY', 'GENERATED');
    define('BB_SECURE_AUTH_KEY', 'GENERATED');
    define('BB_LOGGED_IN_KEY', 'GENERATED');
    define('BB_NONCE_KEY', 'GENERATED');
    define('BB_AUTH_SALT', 'GENERATED');
    define('BB_LOGGED_IN_SALT', 'GENERATED');
    define('BB_SECURE_AUTH_SALT', 'GENERATED');

    $bb->bb_xmlrpc_allow_user_switching = true;

    // WordPress database integration speedup
    $bb->wp_table_prefix = 'wp_';
    $bb->wordpress_mu_primary_blog_id = 1;
    $bb->user_bbdb_name = '';
    $bb->user_bbdb_user = '';
    $bb->user_bbdb_password = '';
    $bb->user_bbdb_host = '';
    $bb->user_bbdb_charset = '';
    $bb->user_bbdb_collate = '';
    $bb->custom_user_table = '';
    $bb->custom_user_meta_table = '';

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://domain.com'; // no trailing slash
    $bb->wp_home = 'http://domain.com'; // no trailing slash
    $bb->cookiedomain = '';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_HASH-FROM-FIREFOX';
    $bb->secure_auth_cookie = 'wordpress_sec_HASH-FROM-FIREFOX';
    $bb->logged_in_cookie = 'wordpress_logged_in_HASH-FROM-FIREFOX';
    $bb->admin_cookie_path = '/SUB-DIRECTORY/bb-admin';
    $bb->core_plugins_cookie_path = '/SUB-DIRECTORY/bb-plugins';
    $bb->user_plugins_cookie_path = '/SUB-DIRECTORY/my-plugins';
    $bb->sitecookiepath = '';
    $bb->wp_admin_cookie_path = '/wp-admin';
    $bb->wp_plugins_cookie_path = '/wp-content/plugins';
    define('WP_AUTH_COOKIE_VERSION', 1);

    wp-config.php

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');
    define('COOKIEHASH', 'HASH-FROM-FIREFOX');

    define('AUTH_KEY', 'GENERATED');
    define('SECURE_AUTH_KEY', 'GENERATED');
    define('LOGGED_IN_KEY', 'GENERATED');
    define('NONCE_KEY', 'GENERATED');
    define('AUTH_SALT', 'GENERATED');
    define('LOGGED_IN_SALT', 'GENERATED');
    define('SECURE_AUTH_SALT', 'GENERATED');

    #54990
    Sam Bauers
    Participant

    Perhaps talk to the WordPress Chinese translation group… http://www.wpcng.com/

    Raw POT files for each version are here… http://svn.automattic.com/bbpress-i18n/pot/tags/

    #74364
    the_Wish
    Member

    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 );

    Thanks for addressing this problem but the “fix” doesn’t change a thing for me unfortunately.

    #74290
    johnhiler
    Member

    Super Cache would help for slow-updating forums… but if you get a lot of traffic, I don’t think it’d really end up caching very much? Blogs don’t get nearly as many updates, so I could see it being a lot more helpful there…

    Anyway to answer your question, I haven’t seen a guide on converting WordPress plugins to bbPress ones… that would be really useful!

    #74568
    Sam Bauers
    Participant

    Try fudging it by adding a subdomain to the WordPress URLs in the WordPress Integration section.

    I’m going to look at WPMU integration now to see what else might be up there.

    #74532
    Sam Bauers
    Participant

    The fix on the WordPress side is to remove these defines from wp-config.php:

    define('COOKIEHASH', 'whatever');
    define('SITECOOKIEPATH', '/wp-admin');

    The plugin will be updated soon, but remove those if you are running WordPress standard (i.e. Non-WPMU)

    #74531
    Sam Bauers
    Participant

    There is now a fix in bbPress trunk for an associated issue where bbPress would not clear all wordpress_logged_in cookies that were generated by WordPress.

    Seriously, my life is wasting away chasing WordPress cookies.

    #74567

    Something must be up with the trunk…

    If I install bbPress in a sub folder of WordPress, what seems to happen regardless of my settings or fudges, is that the bbPress login cookie is dropped with a “Host: domain.com” and a login via WordPress drops a cookie with a “Domain: .domain.com”

    I’ve matched the URL’s, used with and without the integration speedup short-cut, deep/shallow integration, etc… Basically I’ve tried wiggling the settings back and forth, to no avail.

    I was actually going to start my integration screen casts, so I suppose this will wait until tomorrow. haha! :D

    I was able to get a WordPress login to drop cookies like “Host: domain.com” but the cookies the integration plugin drops are still “Domain: .domain.com” (If it dropped “Host: domain.com”, or if bbPress knew to look for “Domain: .domain.com” I suspect they’d work just fine.)

    Note: I swear this WAS working earlier last week, as I’ve integrated two sites successfully with login/logout working from either direction.

    #74529
    Sam Bauers
    Participant

    There is a problem with the integration plugin. Some code which was meant to distinguish between WordPress and WPMU is now failing.

    I’ll have a new plugin out soon. When you upgrade the plugin, you will need to remove the settings it previously instructed you to use in wp-config.php and then check the admin page in WordPress for the new settings to use.

    #74528
    Tynan Beatty
    Member

    Please excuse my previous longwindedness as it seems it was unnecessary. I just tested a site with WP in the base folder and bbP in a subfolder of WP, and a site with WP in a subfolder of the base folder with bbP in a subfolder of WP. Neither site needs anything added to either config file except that the 3 secret keys match between them (my nonce keys also match but that shouldn’t matter). It is also necessary to fill in the wp-admin’s bbPress Integration Plugin settings, and the bb-admin’s WordPress Integration settings.

    On any sites I’ve tested where I have WP in a subfolder of the base folder, and bbP in a subfolder of the WP folder, bbP sets 2 logged_in cookies, one with a trailing / and one without, which poses a problem since WP doesn’t get rid of the one without a trailing / and thus WP cannot logout from bbP if the user logs in from bbP. After I made the change mentioned above to bb-settings.php and tested it on both sites mentioned I found both sites integrating as expected and the double logged_in cookie from bbP login was no longer a problem. That’s why I submitted the patch to Trac.

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