Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,226 through 58,250 (of 64,394 total)
  • Author
    Search Results
  • #2976
    Beau Lebens
    Participant

    Just wanted to put out my bbPress installation that I’ve worked on. It’s completely integrated (for user accounts, authentication, registration etc) with a very customized WPMU install as well.

    Our system gives users the ability to manage a custom avatar (uploading, then cropping to 2 different sizes), plus handles all of their (extended) profile information.

    Hope you like it!

    http://mybabyourbaby.com/forums/

    _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.

    #63378
    _ck_
    Participant

    If you did what you want to do,

    bbPress would have no way to tell if

    example.com/welcome-everyone

    was a sub-forum or a topic.

    In WP you need some way to determine if something is an archive view vs a post. ie. example.com/archives/monthly vs. example.com/monthly (which would be a post) It’s the same logic with bbpress.

    However it might be possible someday to easily change /forum/ and /topic/ to something else. Removing them is impossible.

    If you move bbpress to your webroot, you will get rid of /forums/ but it cannot co-exist with bbpress in that way as you cannot have two index files (without super-integration which is ill advised).

    BackPress might solve this however someday.

    #63337

    WOuld be nice if sometimes you bump the .pot SVN too, so we thta do translation can jump on it earlier before the release.

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

    #2972
    philgreen
    Member

    I set up bbpress at board.veryserious.org. It worked just fine for a few months but all of a sudden today it shows me blank page when I go to the board.

    board.veryserious.org/register.php for example comes up just fine but board.veryserious.org/index.php appears to be blank (o kb). Has security been compromised somehow?

    #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.

    #63278
    chrishajer
    Participant

    That type of pagination happens here and in a default installation within a topic, but not between topics. Are you looking for what exists here or for pagination for the older topics?

    How about something like this?

    https://bbpress.org/forums/topic/previousnext-thread-navigation#post-10592

    You can also search the forums here for pagination and find more interesting things.

    #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

    #63327

    In reply to: Fatal Error?

    chrishajer
    Participant

    You have the wrong URI in your config.php. You have this (I think):

    // The full URL of your bbPress install
    $bb->uri = 'http://ironboundforum.com/forums/';

    and it should be

    $bb->uri = 'http://ironboundforum.com/';

    bbPress doesn’t care if it’s in a folder or not, just like it doesn’t know that it’s in your webroot of /kunden/homepages/46/d93680635/htdocs/ironbound/, so that ‘forums’ portion does not need to be in the config.php for your URI.

    See this after I applied the proper stylesheet:

    http://www.chrishajer.com/bbpress/Ironbound.png

    #62060
    harryworld
    Member

    I am currently using the version of 0.8.3.1, the version is still not solved by the above method. Any idea?

    ixray2, what version of bbpress are you using?

    #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.

    #63334
    Trent Adams
    Member

    I am not sure _ck_ but Sambauers wrote the plugin to take the password hash back to the old method. I am testing it with 2.3.3 and WPMU tomorrow and will let you know if it works or not :)

    Trent

    #63325

    In reply to: Fatal Error?

    chrishajer
    Participant

    You can make that change in your 1&1 control panel. Administration > Domains > click the domain name, click the Destination [Edit] button, then select the /forums/ directory from the “Existing directory” select box. That directs all traffic destined for mysite.com to whatever website you have installed in the forums directory (which is bbPress in this case.)

    That works fine if you want your bbPress installation to be the whole website mysite.com and everything is in the ‘forums’ directory. It’s the most direct way to do it, since you have the option to do it this way. It basically hides the fact that things are in a ‘forums’ directory, just like all the rest of the web server path is hidden. My full path is something like /kunden/homepages/46/d93680635/htdocs, and then each website has a subfolder there.

    /kunden/homepages/46/d93680635/htdocs/chrishajer/

    /kunden/homepages/46/d93680635/htdocs/forums/

    /kunden/homepages/46/d93680635/htdocs/somesite/forums/

    Your subfolder will be called “forums”, but people visiting your site will never know.

    Coffee – black :)

    #63324

    In reply to: Fatal Error?

    ironbound
    Member

    Chris: Although my forum is working right now. It is not doing what I want it to do. Let me explain what I want to accomplish and then my current setup. I have 1&1 shared hosting.

    I would like mysite.com to be directly forwarded to the forum. Meaning if I type mysite.com it goes to the forum’s main page.

    Right now (the only way I made everything work) mysite.com is just at the root folder and displays nothing (the 403 error because there is now index in the main root directory). The forum is at /forums and works. But i have to type mysite.com/forums.

    The config file was setup for http://mysite.com/forums/

    inside /forums/ you find the bb-admin and folders etc. Basicly I renamed bbpress as forums and installed it from there.

    The problem is that is I forward the mysite.com domain to either the /forums/ directory or do an HTTP forward. It does not work. It messes everything up. I am clearly doing something wrong. I can’t understand shared hosting. ahhhhhhhhh. Please help me. Buy you a latte.

    #63315

    In reply to: Themes in FireFox

    Hi, chrishajer.

    This is what I see in Firefox: http://thelifelesstraveled.com/forumInFirefox.jpg

    However, if I view the forums in Safari, it looks great (just like the default theme should look and how it looks in your screenshot http://www.chrishajer.com/bbpress/tlltf.png).

    #63253
    _ck_
    Participant

    I think you want bb_get_option()

    ie. bb_get_option(‘name’)

    etc.

    #63314

    In reply to: Themes in FireFox

    chrishajer
    Participant

    The forum has style, it has the default kakumei theme applied. Here’s what I see with Firefox 2.0.0.12 on Windows XP.

    http://www.chrishajer.com/bbpress/tlltf.png

    If you are expecting it to look like something else, maybe you need to select it in your admin panel. But there is a theme applied, the default one. That’s different than saying it has “no style”. It has the default style, not a broken path to your stylesheet or theme.

    #63333
    _ck_
    Participant

    The password method change will require WP 2.5 for integration.

    (Unless someone makes a plugin)

    #63332
    helpy
    Participant

    Will 0.8.4 still work with WordPress 2.3.3 ???

    #63303
    techhost
    Member

    Wait, what’s this:

    Warning: version_compare() has been disabled for security reasons in d:hostingarock1rockline_forumbbpressbb-includesdb-base.php on line 479

    Cannot select DB.

    I don’t know what this is either .. .. I got this the first time i tried the install.php . .. .. .. Then I fixed the (uri)line, because I had forgotten the ‘.com’ in the address

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

    then first part of the error went away and all I had was the ‘Connot selectDB’ .. . .and now

    the first part is back again .. … …

    #63298
    chrishajer
    Participant

    Wait, what’s this:

    Warning: version_compare() has been disabled for security reasons in d:hostingarock1rockline_forumbbpressbb-includesdb-base.php on line 479
    Cannot select DB.

    You didn’t post the first part of that message which I received when trying to access your forum.

    Do you know what version MySQL is installed? You could probably work around that. The fact that you still have a “Cannot select DB” error after the warning means there is probably still a problem with your four connection details.

    #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 .. . .. .

    #63258
    _ck_
    Participant

    Wow I can’t believe bbPress doesn’t do that.

    I’ve whipped up a function to do it, should be in the plugin browser soon or try this:

    <?php
    /*
    Plugin Name: New User Notification Email
    */
    add_action('bb_new_user', 'new_user_notification');

    function new_user_notification($user_id=0) {
    if (!$user_id) {$user_id=bb_get_current_user_info( 'id' );}
    $user=bb_get_user($user_id);

    $message = sprintf(__('New user registration on %s:'), bb_get_option('name')) . "rnrn";
    $message .= sprintf(__('Username: %s'), stripslashes($user->user_login)) . "rnrn";
    $message .= sprintf(__('E-mail: %s'), stripslashes($user->user_email)) . "rnrn";

    $message .= sprintf(__('Agent: %s'), substr(stripslashes($_SERVER["HTTP_USER_AGENT"]),0,80)) . "rnrn";
    $message .= sprintf(__('IP: %s'), $_SERVER['REMOTE_ADDR']) . "rnrn";

    $message .= sprintf(__('Profile: %s'), get_user_profile_link($user_id)) . "rnrn";

    @bb_mail(bb_get_option('admin_email') , sprintf(__('[%s] New User Registration'), bb_get_option('name')), $message, '' );
    }
    ?>

Viewing 25 results - 58,226 through 58,250 (of 64,394 total)
Skip to toolbar