Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 24,226 through 24,250 (of 26,695 total)
  • Author
    Search Results
  • 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.

    #63234

    In reply to: Integration questions

    zappoman
    Member

    In the interest of sharing what I’ve learned so far, let me describe what I want to do, and what I’ve accomplished so far.

    1) I want to have a stand alone instance of bbPress running on my site that shows ALL the forums.

    2) I want to embed a single forum into a wordpress blog (actually a wordpressmu blog– but there’s nothing mu specific about my work so far)

    3) I want the forums to share the same DB, so if a topic is updated inside of my blog, I also see it updated in the standalone Forum.

    4) I want to be able to essentially allow the bbPress template functions to work inside of a wp page or post… ideally I’d like to implement a simple function like “embedd_bbpress_forum()” on a page template and have it display a fully functioning bbPress instance in the page.

    5) I want to use the chrome/theme from wordpress for the header, sidebar, footer, etc… but I also want to support the basic bbpress template structure as well.

    So far I have this working about 90%…

    What I’ve done is build a WP-plugin, that “includes” bbpress/bb-load.php. And implements a couple functions for embedding the bbpress instance in a page or post or where ever you call the embed functions.

    Things that are working:

    * forum home page

    * topic pages

    * new topic

    * comments

    * profile pages

    * favorites

    Things that aren’t working yet:

    * ajax — none of the ajax stuff is working properly yet…

    * some pages that use wp_redirect – because of how I’m embedding in wordpress, the headers are already sent before I have a chance to do the redirect, so… some functions that rely on this are reporting errors.

    How I did this so far:

    * declare GOBALS!!! – This is the biggest “sneaky trick” – basically, most of bbPress is implemented outside of a function or class context, and so the “local” variables on the bbPress pages are actually global in context. Since I’m wrapping these into a wp-pluing, I need to declare them as explicitly global. If I get all the globals right, then bbPress just works.

    * turn off mod_rewrite support in bbPress… since I want my pages to get handled by WordPress, the URL needs to end at the same location of the wordpress page, this means that my forum page has a url something like:

    http://mydomain.com/blog/forumpage/?command=topic.php&id=1

    Notice I introduced the concept of the “command” parameter, that my plugin then uses as a dispatcher to “load” (include) the right bbPress file. MOSTLY bbPress will do the rest of it’s work from the URL params.

    * Lots of filters – I’ve implemented several filters for URL remapping so that bbPress will override the standard link formation to point to my new embedded page urls

    * A COUPLE HACKS – the only hard part I’ve had to hack so far relates to bbPress’s get_bb_location() function. This function appears to be a bit of bbPresses standard “dispatcher” which tells the rest of bbPress what type of page it’s supposed to be rendering. The only problem with this approach is that in my instance of the code base it does all this logic based on PHP_SELF, SCRIPT_FILENAME, or SCRIPT_NAME… which will be pointing to my wordpress files. I made a small change to add a new filter that allows me to pull out my command param and do the bb_location determination from that.

    Has anyone else attempted this? Have they gotten further? Is there an easier way?

    Mostly this isn’t a lot of code, it’s just discovering how to make it work and testing that everything works as planned.

    #2954
    triipriit
    Member

    Hi!

    I’ve been searching through this forum like a maniac and my bad – I didn’t find any answers for my questions.

    I somehow managed to “integrate” my bbpress with WP (the part of users, cookies), BUT:

    1) How can I wrap the forum inside my WP blog (like in wordpress.com) ?

    2)…. well, the first one actually was the big one :)

Viewing 25 results - 24,226 through 24,250 (of 26,695 total)
Skip to toolbar