Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,176 through 58,200 (of 64,394 total)
  • Author
    Search Results
  • #63477
    chrishajer
    Participant

    Looks like you’re using the WordPress header (blogheader) and WordPress would be looking for bloginfo(‘name’) and wp_title() where bbPress looks for bb_get_title() and uses whatever forum or topic you’re viewing. So, the bbPress data is not available to WordPress.

    Just a guess. Not sure of the best way to fix it, but I would guess that’s what’s going on. The header is supplied by WordPress but the titles need to be supplied by bbPress functions.

    #2996
    leeppp222
    Member

    I customised my bbpress forum to fit in with the look of my blog.

    I am 99% finished now but noticed one problem.

    If you go to http://www.thecvstore.net/community/ all forum pages have the same page title.

    What have I done wrong and does anyone know how to rectify it?

    #63460
    chrishajer
    Participant

    1. Good. The easiest way is if the installations are like this:

    http://chickspeak.com/ (which is actually WordPress)

    http://chickspeak.com/bbpress/

    (the bbPress installation is in a subfolder of your WordPress folder.)

    2. Search this forum for integration or view topics tagged integration. Here’s a good one:

    https://bbpress.org/forums/topic/seemless-wordpress-integration

    3. Maybe bbSync https://bbpress.org/plugins/topic/bbsync/

    #2993
    ironbound
    Member

    1. I have a wordpress blog and a bbpress forum. Independent of eachother (different directories).

    2. How do I integrate the two? By integrate I mean: Have bbpress be a page within the blog. (chickspeak.com style)

    3. It would be cool to integrate the blog comments into forum posts too but lets just work and word this out one at a time.

    Thank you in advance for clearing this up.

    #63409
    Beau Lebens
    Participant

    Actually I’m not using any plugins for the integration process, as bbPress and MU seem to handle it reasonably well “out of the box”.

    I’m running r1197 of WPMU and 0.8.3.1 of bbPress.

    Here’s some of the things that are modified/running though:

    config changes in bbPress:

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://url.to.wordpress.install.com/';
    $bb->wp_siteurl = 'http://url.to.wordpress.install.com/';

    // Integrating with mu
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.domainname.com'; // leading . allows subdomain sharing
    $bb->usercookie = 'wordpressuser'; // WPMU doesn't hash cookies
    $bb->passcookie = 'wordpresspass'; // WPMU doesn't hash cookies

    // Load WordPress so we can use the same templates.
    define('WP_BB', 'true');
    require_once dirname(dirname(__FILE__)) . '/wp-blog-header.php';

    config changes for WPMU

    // Adding custom settings to force cookies to be shared with/accessible to bbPress
    define('USER_COOKIE', 'wordpressuser');
    define('PASS_COOKIE', 'wordpresspass');
    define('COOKIEPATH', $base);
    define('SITECOOKIEPATH', '/');
    define('COOKIE_DOMAIN', '.domainname.com'); // same as bbPress

    Plugins in bbPress

    – A custom one I call “NoLogin” that just attempts to remove all reference that’s built into bbPress (and block actual attempts) at logging in via bbPress (rather than via MU)

    – MD5 insecurity for bbPress by Sam Bauers

    – A quick fix called “MainDomain” that redirects requests to a subdomain instance of the forums to the canonical version which is hosted from mybabyourbaby.com (rather than babyname.mybabyourbaby.com)

    – A quick and dirty “FixKSES” which allows the left/center/justify/right paragraph buttons to work in TinyMCE, because I’m using that for post formatting.

    – Display Names by Michael Adams et al to show the MU display_name, rather than the bbPress username

    WPMU plugins/hacks

    Because I load the WP engine in addition to the bbPress engine (not very performance-friendly, but makes life easier for sharing code etc), I have access to a lot of the functionality I rely on in the rest of the site – grabbing friendly usernames, user icons/avatars, links to profiles (which are handled completely outside bbPress and WP functionality), etc etc.

    I use the TinyMCE editor bundled with WP in bbPress for posting, which is surprisingly easy to add – just load the JS file and add a class to the TEXTAREA. The only thing I haven’t fixed just yet on this is that if you edit an existing post with multiple paragraphs in it then TinyMCE seems to squash it all back down to one.

    I also found that I had to add a quick function to stripslashes() onto the hooks “pre_post” and “pre_topic_title” to prevent annoying slashes appearing in them.

    One last thing that I discovered was that because the WP engine is being loaded to display bbPress pages, but it doesn’t really “know about” those pages (they’re not internal WP pages), it technically triggers a 404, even though it displays just find. I explained this a bit here: https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load including a way around it.

    Templates

    I’m actually using the same templates for bbPress as I am for MU. I accomplish this by symlinking those files directly from the place they normally live, into my-templates/mbob/header.php and footer.php, then make custom files for all the internal bits.

    HTH someone :)

    Beau

    #62106

    In reply to: Add a new page?

    I’m trying to do exactly the same thing. I’m really surprised that there’s not an easier way to just add a new page/template & tell bbpress to load the template based on the URI, there must be an easy fix via mod_rewrite, toying around with it now …

    There’s an interesting approach in this thread although thus far I haven’t been able to quite get that method behaving the way that I’d like, but will keep playing with it.

    Not sure if that helps, good luck & would be curious about any further insight anyone may have ?

    #59102
    horrorshow
    Member

    Funny that my settings are screwy and there are better ways at accomplishing single sign on?

    Or funny: “yes, this is the closest that I am able to get to single sign-on, and I get the same results”?

    If it’s the first case, then please enlighten me.

    If it’s the second case, then this link might help you.

    https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress

    #62985

    In reply to: Log in / Log out issue

    chrishajer
    Participant

    That used to happen here depending on which login box you used. I think it still does. You get a message in Firefox along the lines of “This page is redirecting in a way that will never resolve”.

    Discussion long ago about this very problem:

    https://bbpress.org/forums/topic/redirect-error-on-login-at-bbpressorg

    https://trac.bbpress.org/changeset/556

    I think since then, I’ve learned second hand that this does not work because referers are blocked by the browser or personal firewall. If referers were enabled, I don’t think it would happen. Maybe that’s why IE acts differently than FF. See this recent discussion:

    https://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login

    #2905
    _ck_
    Participant

    This thread is a few weeks old but just wanted to make sure you saw that I made a plugin to do mass deletions:

    https://bbpress.org/plugins/topic/mass-edit/

    #63455

    In reply to: pig2twig

    _ck_
    Participant

    It’s unlikely to be the bbPress software’s fault.

    If you are using a Hotmail or AOL account, they tend to block many independent servers because of configuration requirements.

    Try getting a gmail account instead if you use hotmail normally and you’ll find much more of your email showing up.

    #2989

    Topic: pig2twig

    in forum Troubleshooting
    abi86
    Member

    hi i see that bbpress is the name on the website pig2twig. i am having trouble registering on the website, i have done so 5 times over 3 days but have never received my password. i wondered if anybody could help me please? http://www.pig2twig.co.uk

    #59101
    harryworld
    Member

    horrowshow,

    I tried your settings, and it’s funny that if you login on either on side, you cannot log out on the other side.

    If I login WPMU first, I can only logout through WPMU.

    #63254
    aabd
    Member

    Thanks. i have the same problem!:)

    #63448
    chrishajer
    Participant

    Wonder why it doesn’t error out here with either quote? Can someone please provide the full text of a post entry that causes this problem, BEFORE it’s inserted, so it can be tested on other platforms?

    #63342
    Sam Bauers
    Participant

    @ _ck_

    I’ve added information about the new conventions for storing active plugins and the active theme to the notes.

    #2988

    Topic: User Groups!

    in forum Troubleshooting
    Craig
    Member

    Hello,

    I am running a gaming community’s web site. Currently I just have bbPress forums up there while I build up the rest of the site’s content. What I needed is Private Forums!

    I know there is a plugin for Private Forums. However, it just restricts based on the three default groups (Members, Moderators and Admins) … this does not do me any good since I need to give access only to the members of the actual group, not just the forum. Is there anything out there to help me?

    #63447
    mettled
    Member

    Ok, here’s what seems to have fixed the problem for me and maybe for you too, Guru06. Using the normal quotation mark – ‘ – caused the error. When I used the apostrophe version – ’ – there was no error. On a Mac that symbol is shift+option+]. I have no idea why it needs to be that way.

    #63446
    mettled
    Member

    I just got the same error message on my forum as well. Obviously I was entering different copy, but everything else was the same. I’ve posted on my forum before without any problem. I haven’t changed anything that I can recall, so this was totally unexpected. I’m not a coder so any help would be great. My bbPress is version 0.8.3.1.

    horrorshow
    Member

    nolageek,

    In WPMU, did you put the bbpress-integration.php in the “mu-plugins” directory or the “plugins” directory?

    I want only the site admin to be able to activate the “bbpress Integration” plugin, but it shows up for all users giving them an option to activate the plugin. That’s not good.

    On the bbPress side, I found that the wordpress-integration is not necessary (I’ve asked about this, but no replies so far), and display name plugin requires some code changes to the BBPress code for it to work properly. It causes permission problems, and I had to dig around the forum where it shows you which code to change.. In retrospect, it probably wasn’t worth the trouble. (Gurus, please correct me if I am wrong, as I am new to BBpress)

    If you want me to look for that thread again, let me know.

    To get single sign-on working properly, you need to make code changes on the bbPress side to bb_cookie() and bb_logout() in pluggable.php along with the config changes I mentioned (which you’ve done already).

    function bb_cookie( $name, $value, $expires = 0 ) {
    if ( bb_get_option( 'cookiedomain' ) ){
    setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ), bb_get_option( 'cookiedomain' ) );
    }else{
    setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ) );
    }
    }

    function bb_login($login, $password) {
    if ( $user = bb_check_login( $login, $password ) ) {
    bb_cookie( bb_get_option( 'usercookie' ), $user->user_login );
    bb_cookie( bb_get_option( 'passcookie' ), md5( $user->user_pass ) );
    do_action('bb_user_login', (int) $user->ID );
    }
    return $user;
    }

    I hope this helps, and please let me know how it works out.

    #63341
    da3rx
    Member

    I am really looking forward to the new release. Keep up the good work!

    #63340
    _ck_
    Participant

    There are also changes to the way theme names and paths are stored (ie. core#, user#) though I suspect this won’t affect many plugin developers. I’ve already patched my plugins to deal with that.

    Nola1974
    Participant

    I’m not able to get this working in WPMU/bbpress:

    Using newest versions of both (fresh install 3 days ago)

    Site: http://geekdc.com

    bbpress: http://geekdc.com/forum

    bbpress config.php :

    $bb->wp_table_prefix = 'wp_';  // WordPress table prefix.  Example: 'wp_';
    $bb->wp_home = 'http://geekdc.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
    $bb->wp_siteurl = 'http://geekdc.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'

    //if ( isset( $bb->wp_table_prefix ) ){
    $bb->usercookie = ‘wordpressuser’;
    $bb->passcookie = ‘wordpresspass’;
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.geekdc.com';
    $bb->path='/forum/';
    //}
    /* Stop editing */

    Stock WPMU wp-config.php

    Using the following plugins on WPMU:

    bbpress-integration.php

    https://downloads.wordpress.org/plugin/bbpress-integration.0.74.zip

    Using the following plugins on bbpress:

    wordpress-integration

    https://bbpress.org/plugins/topic/wordpress-integration/

    display name

    https://bbpress.org/plugins/topic/display-name/

    Is there anything else I need to do?

    When I first log in to WPMU I get the following cookies:

    geekdc.com wordpress_test_cookie (content:’ WP+Cookie+check’)

    geekdc.com wordpressuser (content username)

    geekdc.com wordpresspass (content: hash)

    I go to the forum, and I’m not logged in.

    I log into bbpress and I get two more cookies, exactly the same execept for the expiration dates. The WPMU expires at the end of session. The wordpress expires in one week. I do not get another wordpress_test_cookie.

    #63445
    chrishajer
    Participant

    What version bbPress are you using? Looks like mismatched quotes are causing a problem inserting this post into your database. I inserted that text into a post on my installation and it is inserted fine. Of course, I might be missing some of what you tried to insert before it erred out.

    This is what I posted:

    Internet. I've taken to not answering my phone lately, and I like it. And Eh@ the laptop-- it's nice to have, but I don't need it. The internet tho, is a lifeline How would you get on the internet without your laptop?

    Was there something before “Internet”? Can you post a link to a plain text file that contains the whole text of the post? Maybe some characters in there are causing this problem.

    #2987
    guru06
    Member

    bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ve taken to not answering my phone lately, and I like it. And Eh@ the laptop– i’ at line 4]

    INSERT INTO bb_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES (‘2’, ‘220’, ‘1’, ‘

    Internet. I’ve taken to not answering my phone lately, and I like it. And Eh@ the laptop– it’s nice to have, but I don’t need it.

    The internet tho, is a lifeline

    How would you get on the internet without your laptop?

    ‘,’2008-03-06 18:11:55’, ‘69.219.156.202’, ‘0’, 5)

    Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/*****/bb-includes/db.php:86) in /home/*****/public_html/*****/bb-includes/pluggable.php on line 164

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