Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 24,351 through 24,375 (of 26,822 total)
  • Author
    Search Results
  • horrorshow
    Member

    I fixed the problem by making changes to the bb_cookie() and bb_logout() since wpmu and bbpress set cookies differently: (the expire times are different). If anyone wants to me to post the code, please let me know.

    Also, I added the “cookiedomain” to the config.php

    Here’s the full list relevant to the integration.

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://achillesblog.com';
    $bb->wp_siteurl = 'http://achillesblog.com';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.achillesblog.com';
    $bb->path='/forum/';

    _ck_
    Participant

    By the way, since the registration and login/out process in wordpress is a bit more advanced than bbPress, many people just change all the bbpress links for such actions to use the WordPress links. WordPress can even redirect back to the point of logout/login.

    horrorshow
    Member

    _ck_, I cleared all the cookies for this domain when doing the test. I also closed all open pages, and started fresh.

    The three cookies that I see generated when doing this test on both BBPress and WPMU are:

    wordpressuser

    wordpresspass

    wordpress_test_cookie

    I’ll look at the code for logging out of wpmu, and also see if anything gets changed in the database. I’ll then compare that to how BBPress logs out and see if it makes any changes in the database too.

    Thanks for the link, but he basically added:

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    And I’ve already done that.

    #2974
    kernpunt
    Member

    Hopefully you folks can help me. I have a few questions about integration and bbPress. What I have right now is a custom built populated member database with passwords, usernames, emails, etc.

    What I would like to do is get bbPress to “hook” into this database instead of having to have two member/user tables to keep synchronized. Is there a certain way you’d go about doing this, that perhaps isn’t too messy? Or will it require rewriting a lot of code?

    I’ve found a lot of WordPress integration help here, but really not much on integrating with other types of websites (aside from template editing). So any help would be great, even if you just give me a little push in the right direction. Thanks. :)

    _ck_
    Participant

    You have the right approach if you find that log-outs are out of sync.

    You need to watch the cookie names and paths.

    MAKE SURE you clear ALL cookies while you are experimenting with paths and names. If you leave left overs, you are going to get strange behaviors.

    If you leave the page open, even after clearing cookies you may have form post data or session data in there. Close page, clear cookies, THEN confirm behavior.

    If you find that path names and cookie names are absolutely identical, it’s possible that the logout process for WPMU is not robust enough in the way it resets cookies. ie. doesn’t set the date far enough in the past.

    Following the WPMU tag will probably help you bunches. ie. https://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls

    horrorshow
    Member

    Hi,

    I don’t mean to post twice, but I realized that I replied this to a thread that had already been resolved.. so I am posting a new topic.

    I am trying to integrate bbpress(0.8.3.1) with wordpress mu (1.3.3), and I am having some issues with cookies for login/logout.

    I’ve tried setting this: (“MD5hash” replaced with my MD5)

    $bb->usercookie = 'wordpressuser_MD5hash';
    $bb->passcookie = 'wordpresspass_MD5hash';

    However, that didn’t seem to allow single sign-on login(meaning, if I am log into wp, go to bbpress and find myself already logged and vice versa)

    Watching the cookies during the login/out process on WP MU, I found that the cookie names that WP MU uses are: “wordpresspass” and “wordpressuser”

    So in config.php for bbpress, I used:

    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    This works somewhat, let me explain:

    This scenario works:

    Log into WPMU, refresh bbpress page, I find myself already logged into bbpress.

    Log out of WPMU, refresh bbpress page, I find myself logged out of bbpress.

    Log into BBpress, refresh WPMU, I find myself logged into WPMU

    This doesn’t work:

    Log into BBpress, refresh WPMU (I find myself logged into WPMU) AND THEN when I try to log out from WPMU, I can’t log out.

    I refresh BBpress page, and I am not logged out either.

    If I log out from BBpress at this point, then I am logged out of WPMU as well.

    I have a feeling it might be something with WPMU, but I thought I’d post here first since this is where I found all the information about the integration. Thanks for your help. I am appending my config.php relevant to the integration part.

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://achillesblog.com';
    $bb->wp_siteurl = 'http://achillesblog.com';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiepath = '/';

    thanks for your help.

    #63260
    _ck_
    Participant

    It’s a formal plugin now:

    https://bbpress.org/plugins/topic/new-user-notification/

    There’s probably only a handful of bbPress sites in existence that get more than a dozen registrations per day right now but they don’t want to put it in the core, so that’s fine. Simply deactivate it if getting too many emails. Then there’s gmail which can keep track of all of the registration threads as a single thread.

    (When the backpress integration is more complete I suspect this will then be in the core with the WordPress functions which has had it for years now, even on the biggest sites)

    #60605
    horrorshow
    Member

    themebyc,

    Just curious, have you been able to get single sign-on between phpbb and wordpress?

    thanks.

    #59100
    horrorshow
    Member

    Hi,

    I am trying to integrate bbpress(0.8.3.1) with wordpress mu (1.3.3), and I am having some issues with cookies for login/logout.

    I’ve tried setting this: (“MD5hash” replaced with my MD5)

    $bb->usercookie = 'wordpressuser_MD5hash';
    $bb->passcookie = 'wordpresspass_MD5hash';

    However, that didn’t seem to synchronize login(meaning, if I am log into wp, go to bbpress and find myself already logged and vice versa)

    Watching the cookies during the login/out process on WP MU, I found that the cookie names that WP MU uses are: “wordpresspass” and “wordpressuser”

    So in config.php for bbpress, I used:

    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    This works somewhat, let me explain:

    This scenario works:

    Log into WPMU, refresh bbpress page, I find myself already logged into bbpress.

    Log out of WPMU, refresh bbpress page, I find myself logged out of bbpress.

    Log into BBpress, refresh WPMU, I find myself logged into WPMU

    This doesn’t work:

    Log into BBpress, refresh WPMU (I find myself logged into WPMU) AND THEN when I try to log out from WPMU, I can’t log out.

    I refresh BBpress page, and I am not logged out either.

    If I log out from BBpress at this point, then I am logged out of WPMU as well.

    I have a feeling it might be something with WPMU, but I thought I’d post here first since this is where I found all the information about the integration. Thanks for your help. I am appending my config.php relevant to the integration part.

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://achillesblog.com';
    $bb->wp_siteurl = 'http://achillesblog.com';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiepath = '/';

    thanks for your help.

    #63336
    helpy
    Participant

    Thank you all for your work!

    I just started with bbpress in one project … and I use some plugins for WordPress … so I have to wait some time, before I can update WP to version 2.5

    cu, guido

    #63335
    Sam Bauers
    Participant

    Also, the cookies have changed structure.

    I’ll have to re-check the password hashing plugin too.

    We’ll do our best to make sure it is simple enough to integrate with older WordPress installs too.

    #63332
    helpy
    Participant

    Will 0.8.4 still work with WordPress 2.3.3 ???

    #63296
    techhost
    Member

    here are my settings for the config.php Sorry for not posting it at first.

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘sameasUSER’);

    define(‘BBDB_USER’, ‘sameasDB’);

    define(‘BBDB_PASSWORD’, ‘xxxxxxxxx’);

    define(‘BBDB_HOST’, ‘localhost’);

    define(‘BBDB_CHARSET’, ‘utf8’);

    define(‘BBDB_COLLATE’, ”);

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.rocklineproduction.com/rockline_forum/bbpress/’;

    // What are you going to call me?

    $bb->name = ‘Rockline Production Forum’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘myemail@hosttechs.net’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = true;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 8;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ”; // Example: ‘0123456789ab’

    // I didn’t change anything below that which is above .. . .. .

    #63323

    In reply to: Fatal Error?

    chrishajer
    Participant

    I use 1&1 without any trouble with many bbPress and WordPress installations. If you need help, just post. Every host is a little bit different, but I have 3+ years of experience with 1&1 on all types of servers.

    Cheers.

    #63270
    Sam Bauers
    Participant

    That plugin is old and won’t work with 0.8.4 (and maybe not with 0.8.3.1)

    Once 0.8.4 is released this should work as a plugin for both WordPress and bbPress:

    <?php
    /*
    Plugin Name: Lax user names
    Plugin URI:
    Description: Makes all user name sanitisation non-strict
    Author: Sam Bauers
    Version: 0.0.1
    Author URI: http://unlettered.org/
    */

    function i18n_sanitize_user($username, $raw_username = false, $strict = false) {
    if ($strict) {
    return sanitize_user($raw_username);
    } else {
    return $username;
    }
    }

    add_filter('sanitize_user', 'i18n_sanitize_user');
    ?>

    #2970
    Sam Bauers
    Participant

    [Update: this release will now be version 0.9 instead of 0.8.4]

    bbPress 0.9 will be released on the 10th of March, 2008 to coincide with the release of WordPress 2.5

    A full blog post on the bbPress blog will outline all the changes in the near future.

    In the meantime if anyone wants to give the latest 0.9 beta a test run, simply download a zip package of the current version of the “0.8 branch” at the bottom of this page.

    If you find any problems then please login to the bbPress Trac site and create a new ticket to report it as a bug. Alternatively, you can see if either sambauers or mdawaffe is in the #bbPress IRC channel on irc.freenode.net and report the problem directly to them.

    #2969

    Topic: Fatal Error?

    in forum Installation
    ironbound
    Member

    I am getting the following error and I don’t understand why:

    Fatal error: main() [function.require]: Failed opening required ‘./wordpress/wp-blog-header.php’ (include_path=’.:/usr/local/lib/php’) in /homepages/19/d158184300/htdocs/index.php on line 4

    Please help me solve this.

    #63310
    chrishajer
    Participant

    Put it here:

    /home/"mywordpressblogsname"/public_html/bbpress/

    Then in config.php set bb->uri:

    $bb->uri = 'http://"mywordpressblogsname"/bbpress/';

    (assuming your blog is visible at http://”mywordpressblogsname”/ not http://”mywordpressblogsname”/public_html)

    You can name the bbpress folder whatever you want. Sometimes people call it forums. Just be sure to change it to the same thing in config.php.

    #2966

    At first I uploaded the folder bbpress-0.8.3.1.zip to

    /home/”mywordpressblogsname”/public_html/wp-content /plugins

    where I unzipped it and modified the necessary files. Obviously, that didn’t work, as it’s not a plugin (I think I was on autopilot, as I’ve only installed plugins up to now).

    So, where do I upload bbpress to exactly? I have some ideas, but I’d rather get some help than bumble around again.

    FYI I am not integrating my forum users with my wordpress blog users (actually, my blog doesn’t allow user login at all).

    Thanks!

    #60354
    rkudeshi
    Member

    Thanks for the pointer to the “Custom Profile Fields” plugin, never saw it before.

    As for the “Use Display Name” plugin, I think that only works on a WordPress-integrated install, and I’m trying to get it to work on a BBPress only site. Any ideas?

    #2959
    darkling235
    Member

    does anyone know the bbpress equivalent of wordpress’s get_bloginfo function?

    Thanks

    #58243

    In reply to: bbSync

    hilium
    Member

    Is there a way to do the reverse and show posts on wordpress?

    #63246

    In reply to: Post Won’t Show

    Onion
    Member

    Active Plugins

    Allow Images

    Human Test for bbPress

    Memberlist

    Report Post

    bbPress Polls

    bbPress signatures

    Ignore Member

    Admin Can Post Anything

    Post Count Plus

    Mass Edit

    Wordpress Integration

    Currently I can get around the problem by making a short post:

    Like just saying “test”

    Then editing that post

    #63236

    In reply to: Integration questions

    zappoman
    Member

    Well, assuming I succeed in what I’m attempting, I will release it as an open source plugin for wordpress…

    But since I’ve had to make one hack to the bbPress core, it will unfortunately require one small bbPress core change.

    So, I’ll keep working on it, and post more here once I’ve made more progress.

    #63235

    In reply to: Integration questions

    triipriit
    Member

    Oh man. This is way too advanced for me.

    This site I’m doing is my first WordPress attempt and all of my previous websites have been static html.. So PHP is new to me and globals, functions etc. are brand new termins…

    I actually, at first, thought that: integration=embed bbpress in WP.

    I never thought this would be so complicated.

Viewing 25 results - 24,351 through 24,375 (of 26,822 total)
Skip to toolbar