Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,826 through 58,850 (of 64,431 total)
  • Author
    Search Results
  • #62332

    So it’s likely that my database was latin1 all along, when created in admin, since I haven’t touched it and the only thing that could have is bbPress’ install or upgrade script? I don’t understand why I didn’t get the problems after install then, since UTF8 was specified in config.php, while getting the problem after the upgrade forced me to change it to latin1 in config.php. Have I stumbled onto a bug, or is it something else?

    Edit: I’m no database ninja, so sorry if I’m not getting things. :)

    #2790
    vhilaire
    Member

    I installed bbPress and was able to get into the Admin dashboard right after installation. However once I changed the config file to talk to WordPress I can’t get to the bbPress admin dashboard anymore. It just redirects me to my bbPress homepage.

    Any idea what’s causing the problem?

    Beau Lebens
    Participant

    Background: Installed WPMU (at “/”) and bbPress (at “/forums/”), followed integration instructions (and tweaked to get it all working). I used my WP theme header.php and footer.php as the basis for a bbPress theme, and loaded the full WP engine into bbPress by putting this code in my config.php

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

    Symptoms: Pages load just fine, and all appears successful, but, upon further inspection, all bbPress pages actually return a 404 error in the HTML headers (you can see this using FireBug, or using a HEAD command to the page). NOTE: This will also happen if you create custom pages (not WP “Pages”) that load the WordPress engine – they load fine, but actually throw a 404).

    Explanation: What appears to be happening here, is that the page loads fine, because it is a real page. Internally however, WP doesn’t know about this page (because it’s a bbPress, or custom page), and so it assumes it’s a request for a permalink that it can’t resolve. Thus it throws a 404.

    The internal rewrite system in WP allows you to add new rewrite rules, but appears to only like dealing with “internal” or WP-specific rules. If you add in what it refers to as “non_wp_rules”, then it doesn’t actually apply them (so it still throws a 404).

    The FIX! on the code that I’m running, I have put the following WordPress plugin in place to add rules appropriate for my bbPress installation:

    function mbob_flush_rewrites() {
    global $wp_rewrite;
    $wp_rewrite->flush_rules();
    }
    add_action('init', 'mbob_flush_rewrites');

    function mbob_add_rewrites($wp_rewrite) {
    add_rewrite_rule('forums/topic', 'forums/topic.php');
    add_rewrite_rule('forums/forum', 'forums/forum.php');
    add_rewrite_rule('forums', 'forums/index.php');
    $wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
    }
    add_action('generate_rewrite_rules', 'mbob_add_rewrites');

    NOTE: I have removed a lot of my bbPress installation as part of my integration, so I didn’t require any other rules to handle things like profile pages or tags – you probably will need to add them if you use those features.

    Hopefully this will help someone else and prevent you from beating your head against a wall like I almost did :)

    Thanks to sambauers for helping me out with this in #bbpress as well.

    Beau

    #62349

    In reply to: bbPress versus PunBB

    kernow
    Member

    bbPress looks great on a mobile phone. Well it does on my Nokia N95 8gb anyway :) Downloads quick too. The future is mobile!

    #62370
    Sam Bauers
    Participant

    I assume that bbPress is in a sub-directory of your WordPress install?

    Sounds like the rewrite rules are incorrectly set or the existing WordPress rules are somehow getting in the way of bbPress.

    What type of permalinks are you using? Set that value to FALSE in your config.php if they are turned on and see if this still happens. I think that will narrow it down a bit.

    #62331
    Sam Bauers
    Participant

    bbPress will create tables using the character set and collation specified in the config.php file. However it won’t change the tables character set or collation if they are already created, as in the case with upgrades like yours.

    In fact, once installed, the collation value is not used at all, but the character set value is forced on every connection to the database with “SET NAMES ‘foo'”, where ‘foo’ is the character set (if it is specified).

    So if your database is ‘latin1’, and for some reason we don’t address it that way you will get improper character mapping of your data to characters.

    #62369
    chrishajer
    Participant

    That still happens at bbpress.org/forums as well. This was reported long ago, but it still happens here. Maybe the same thing is happening to you.

    https://trac.bbpress.org/ticket/588

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

    https://bbpress.org/forums/topic/login-error

    I have noticed that even though the redirect seems to continue until the browser times out, if I cancel the page load, then just try to access the forum, I am logged in. Maybe you would find the same thing?

    Maybe it’s not noticed frequently by people who use bbPress heavily since their cookie never times out and they’re never asked to log in again?

    #62330

    For some reason UTF8 worked before, but the db was latin1. Does bbPress create the tables in latin1?

    Anyway, changing to the right latin1 table in config.php did the trick. Weird that I didn’t have the issue before the upgrade though.

    Thanks!

    #2787

    Topic: New Green theme/forum!

    in forum Themes
    newyearwill
    Member

    I’d like to start off by saying what a fantastic piece of software bbpress is – I love the similarities with WordPress: clean HTML & CSS code. In my opinion it’s like a breath of fresh air compared to other forum software because you can easily customise it to fit your site. I just hope the clever designers and developers continue their excellent work with future releases.

    …anyway enough of my rambling, here is my forum (still needs a few finishing touches):

    http://forum.reclaimyourskin.co.uk

    #62368
    Olaf Lederer
    Participant

    Hi,

    do you checked the setting in the config.php file?

    it must be something like:

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

    maybe you can post some URL?

    #2782

    I’ve just installed bbpress for the first time and that part seems to have worked. Now I’m trying to log in for the first time and after entering my correct username and password (I’ve triple checked everything) and am sent to my blogs 404.php page. It’s like it’s redirecting or something. I’m stuck. Any ideas on what I’m doing wrong?

    #62348

    In reply to: bbPress versus PunBB

    trex33
    Member

    Thank you both for the insights. Yeah, that PunBB 1.3 has been in the works for some time. Interesting take on the pitfalls of email notification. Never thought of it that way. That Joel Spolsky article had some great points in it.

    Definitely leaning towards bbPress at this point…

    #62326
    intellivision
    Participant

    Having user names being the same on two domains (very possible) is different than having two domains share a cookie (impossible due to the security implications I mentioned above).

    #51930

    In reply to: Language

    daga
    Member

    I installed version 0.8.3.1 succsessfully. Then I changed the config-file as written, before installing a .mo-file in /bb-includes/languages. The .mo file is based on the 0.8.3 bbpress.pot file. I´m pretty sure this is done correctly. But nothing happens. Same old english language everywhere. Any suggestions how to make the localization work – anybody ?

    #62252
    fel64
    Member

    It depends where your bb-load.php file is (in relation to your wordpress wp-config.php). You may find it easier to give an absolute path rather than a relative path. http://www.computerhope.com/jargon/a/absopath.htm

    #62389
    fel64
    Member

    What’s the fatal error?

    #2785
    Erica Kapoor
    Member

    I added

    “require_once(‘../wp-blog-header.php’);”

    in bbPress’ config.php

    And I’m getting Fatal Error

    Help me

    #62251
    Erica Kapoor
    Member

    Thanks, Should “path/to/bb-load.php” this be like this?

    “forums/bb-load.php”

    I’m getting errors…

    Would you explain little bit easier?

    #62250
    fel64
    Member

    You need to include bbPress. To do this, make sure that your bbPress supports being integrated thoroughly with WordPress (not just users, also functions), then open your wordpress config file and at the bottom put require_once('path/to/bb-load.php'); That’ll let you use the bb functions too.

    #2784
    Olaf Lederer
    Participant

    Just published my second bbpress plugin:

    http://www.finalwebsites.com/bbpress/auto-add-member-favorites.php

    Use this plugin for your bbpress forum to let members add their favorites while writing a post for an existing thread or while creating a new topic.

    any suggestion / comment is welcome…

    #2757
    Erica Kapoor
    Member

    I’m making website using wordpress and bbPress intergrated together. I want to put a login form in wordpress header using <?php login_form(); ?>. What should I do?

    #61658

    In reply to: User Registration

    rslater
    Member

    version 0.8.3.1 – bbpress and WordPress (Version 2.3.2).. Nt Box

    Clarification Below.

    do you now of any bugs in the synchronizing of wp an bbp. I am testing these sytems and having issues with email registrations. I get an email notification in wp letting me know there is a new registrant but no registration password and link come through. When you register in bpress nothing happens other then saying password was sent.

    Even more odd is the fact that email notification for favorites in bbpress works just fine. I have no idea what the issue is. can anyone help me.. At this point I would donate to your cause if you can get this to work/synchronize.

    sit is located at homesandagents dot com

    #62355

    In reply to: PHP Error Messages

    chrishajer
    Participant

    Sam, there are no trac tickets that I know of, just forum reports. I’ve already provided links to those. I hesitate to create a trac ticket myself since I have not experienced it first hand. I suspect the developers haven’t either, which is why it appears to still be happening.

    Maybe instead of trying to recreate the problem, someone can look at lines 168 – 172 in bb-settings.php and see if the warning thrown on line 169 has a good reason. It certainly seems to be related to a missing my_plugins or bb-plugins folder, and no underscore plugins. I thought there was a difference between PHP4 and PHP5 at some point, but maybe that’s a red herring.

    Also, since it’s just a warning, maybe it’s not really a hard error, just a warning, but the server is configured to show warnings, thus the warning comes first and then you get the “cannot modify header information” because the warning came first. Maybe the server needs to be configured to show warnings for this to happen? Is there an .htaccess directive to force PHP to show warnings, or maybe another way to test this?

    (BTW, I just checked out 0.8.3.1 and configured my server to use PHP4 and I do not have this error. In the stock install, there is no my-plugins or bb-plugins folder. So, maybe it is throwing a warning but my server is not configured to show them?)

    tommy2toes
    Member

    I had some luck using wordpress Theme Functions.

    For example my BBPress pulls the top header image, navigation and footer from wordpress. It does not pull between the <head> </head> tags. But this allows me to control the nav and header in one place as well as footer, so that everything gets updated.

    If you have your bbpress install setup to use wordpress functions it’s pretty easy to do.

    As for CSS, I hate the way other people code css so I always end up ripping it all out and starting from scratch.

    Check out this page:

    https://codex.wordpress.org/Theme_Development

    #61657

    In reply to: User Registration

    chrishajer
    Participant

    What version of WordPress are you using and what version of bbPress?

Viewing 25 results - 58,826 through 58,850 (of 64,431 total)
Skip to toolbar