Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 57,676 through 57,700 (of 64,059 total)
  • Author
    Search Results
  • #63697
    chrishajer
    Participant

    How about this plugin to fix this very thing:

    https://bbpress.org/plugins/topic/fix-admin-access/#post-821

    I believe you use it once, then remove the plugin. Don’t leave it in the plugin folder after you’re done.

    #63165
    Nola1974
    Participant

    Getting thread back on track.. i have no access to IRC at the moment, but I definitely think this is AJAX related. It sounds EXACTLY like the issue that above plugin fixed in WP. I’m willing to bet bbpress has a similar promlem with AJAX decrypting cookies.

    #63164
    Nola1974
    Participant

    I agree. I know bbpress isn’t ‘designed’ to be a drop in integration with wordpress, it seems obvious to me that that should be a major focus. There’s simply too many issues with integration for two projects that share so many concepts, etc… Hopefully 2.5/0.9 will solve a lot of that. It shouldn’t be too much longer after that that WPMU will graft the 2.5 code. I just can’t believe there’s threads on here from 2 years ago about problems sharing cookies.. that are still active. heh.

    #3055
    pad
    Member

    Oh dear!

    I’ve been trying to get my integrated setup to work better. It was all perfect except for how the roles differed so if you registered on bbpress, the WordPress admin panel would fail for you and the new user would have no role.

    So what I did was installed the bbpress integration plugin on WordPress. Somewhere along the way though, I’ve lost all admin privileges on my blog. I literally can’t access the Admin area!

    Someone help?

    #63693
    12thharmonic
    Member

    OK, Thanks for all that. The plugin now works!

    One issue remains.

    The image URI seems to be missing ‘my-plugins’ from the string.

    http://headonradionetwork.com/forum//support-forum-no.png

    I attempted to edit the plugin. Line 283

    $this->iconPath = str_replace(rtrim(BBPLUGINDIR, ‘/’), ”, dirname(__FILE__)) . ‘/’;

    adding ‘myplugins’

    like this:

    $this->iconPath = str_replace(rtrim(BBPLUGINDIR, ‘/my-plugins’), ”, dirname(__FILE__)) . ‘/’;

    gave me this:

    http://headonradionetwork.com/forum/um/my-plugins/support-forum-no.png

    I am bewildered by that one.

    I can cope till version 9 comes and I can upgrade to 3.0 of the plugin. The status text is there. Not earth shatteringly horrible. Not even public yet. But soon!

    Thanks for the help sambauers and chrishajer. Having been a WP person for a while now, BBPress follows in the great tradition. I knew this was the right way to go.

    #63163
    chrishajer
    Participant

    nolageek, I’m with you on the integration. Seems people are usually looking for three things from bbPress:

    1. User integration with WordPress out of the box

    (registration/login)

    2. Theme integration with WordPress out of the box

    (make the forum look like the blog)

    3. Working slugs or permalinks out of the box

    (why is it so easy with WordPress and so hard with bbPress?)

    (Regarding MU, I have no idea. I’m talking mostly about WordPress.)

    I would say those are the most common requests in these forums, ones that come up over and over.

    Sorry for hijacking your thread.

    #63692
    Sam Bauers
    Participant

    Yes, use the older one (2.3) for bbPress versions earlier than 0.9

    Functionally there is little difference and you can upgrade both bbPress and Support Forum together later on without loss of data.

    Thanks for pointing in the right direction chrishajer.

    #63160
    _ck_
    Participant

    WPMU users really are kinda out there on their own right now, sorry. Using 0.9 is probably not an option anyway for you since WPMU uses different style cookies unless there is a plugin to solve that (and there might be, I am not sure).

    I assume you looked at the user meta directly to ensure the roles are set correctly for bbpress?

    #63159
    Nola1974
    Participant

    does bbpress use it’s own Ajax decryption? I’m OK with following/mucking up php and html, but all that Ajax stuff is beyond me.

    This could be related to the albatross that is ‘integration’ that seems to haunt me from host to host. Now, I WORK at the webhost and have access to root and WHM and everything, but still… I’ve never been able to get WPMU and bbpress to play nice. I’ve followed every set of instructions I can find on it, too. Nothing seems to work. (cant wait for the new versions!)

    #63158
    _ck_
    Participant

    Just a thought but I would look at the wp nonce if it’s only happening with ajax. If it’s not being sent or interpreted correctly, I don’t think bbpress will let you do admin actions, even if you are admin.

    (Oh and the newest Suhosin has the option to hide itself in phpinfo)

    #63157
    Nola1974
    Participant

    I got paros running, could login to a bunch of sites (gmail, yahoo, here) but kept asking me for my bbpress’ login over and over.

    What exactly do you want to see from the session in paros?

    GET http://geekdc.com/forum/bb-admin HTTP/1.1
    Host: geekdc.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Paros/3.2.13
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Proxy-Connection: keep-alive
    Referer: http://geekdc.com/forum/bb-admin/
    Cookie: __utma=164913321.806591864.1206118840.1206381545.1206389257.5; __utmz=164913321.1206118840.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ?wordpressuser?=admin; ?wordpresspass?=33b7fd3d41082aeb1764e84c5e297d8f; ‘wordpressuser’=admin; ‘wordpresspass’=33b7fd3d41082aeb1764e84c5e297d8f
    Content-length: 0

    #63690
    chrishajer
    Participant

    Did you download the legacy 2.3 version for bbPress versions prior to .9, or are you trying to run v3?

    https://plugins-dev.bbpress.org/browser/support-forum/branches/2.3

    #3053
    12thharmonic
    Member

    “Plugin could not be activated; it produced a Fatal Error.”

    I am running BBPress 0.8.3.1

    I have re downlodad the plugin in case of a bad copy. Still no joy.

    #63154
    chrishajer
    Participant

    I just got an email from someone with a WordPress 2.2.2 site, and all of the sudden she lost the ability to create a new post (in the last month anyway). She gets a javascript error. Take a look at the screenshot:

    http://www.chrishajer.com/bbpress/ajax-permissions.jpg

    She is using IE7. I did not get the same error when I logged into her blog and created a new test post or page (with either IE7 or FF.) So, she cleared her cookies and everything is back to normal. Maybe it’s something simple like that for you as well.

    I wonder if there was some sort of update on the server (or a couple different hosting companies or something) that is causing these problems. Maybe they upgraded a package because of a vulnerability?

    #63587
    so1o
    Participant

    this make widgets work in forum..

    this is only for the 2.3.x wordpress and current version of bbpress .. the new version of wordpress and bbpress might have a different approach

    http://www.adityanaik.com/integratepress-part-i/

    #63151
    chrishajer
    Participant

    Yeah, I’d say the Suhosin thing doesn’t apply to your situation.

    Interesting. Can you run with a local proxy server like Paros to see what’s going back and forth when you try some of those admin functions?

    I am running bbPress 0.8.3.1 and WP 2.x(something) but not MU. I am not having any trouble like that, but obviously some people are.

    Does using a different browser make the problem any different? What browser and OS are you using when you see the problem?

    #63150
    Nola1974
    Participant

    Running BBpress 0.8.3.1, WordPressMU 1.3.3, PHP 5.25

    I don’t see any sort of indication of Suhosin, etc:

    http://geekdc.com/phpinfo.php

    I just tried a bunch of things and any and only admin functions that involve Ajax gives me the “You do not have permission to do that.” error.

    #63686

    In reply to: Bogus users

    chrishajer
    Participant

    How about the “Human Test” plugin?

    https://bbpress.org/plugins/topic/human-test/

    #63689

    In reply to: Problem with Links

    chrishajer
    Participant

    Oh, and to put it in the root directory, just move all the files from the bbpress folder into the root folder for your website. That assumes there is no other site in the root folder right now to conflict with. But if you just want a forum for your website, put everything in the root folder, not a folder called bbpress.

    I’m not sure what else has to happen for you to make that move now. Since you don’t have too much going on there yet, you might want to just reinstall it in the root folder.

    #3052
    rleon
    Member

    this is a new installation and I think I missed something .. The links are going some where else that is not in the bbpress directory.

    http://thefouragreements.rleon.net/bbpress/

    Also how would I put it in the root directory ?

    thanks

    rleon

    #51285
    tyrun101
    Member

    @mdwaffe – has there been any work on the bbpress exporter?

    Has anyone else seen anything that would work to export bbpress discussion tables?

    I need to switch over to a vanilla install, and so far I’ve had to manually export/import the user tables (which wasn’t too difficult), however, the discussion tables look a bit more complex.

    Thanks

    #3051

    Topic: Bogus users

    in forum Troubleshooting
    bradsucks
    Participant

    I’m not 100% sure this is a bbPress problem or a WordPress problem but I have a large number of spammy user signups each day. Is there anything I can do to fix this?

    #3050
    askibinski
    Member

    We build a bbpress forum integrated with WordPress and a custom template at http://www.wiatrak.nl/forum

    We also have a Polish translation available for the forum if anyone is interested.

    #63146
    Nola1974
    Participant

    This is apparently caused by servers running the Suhosin PHP hardening patch… it encrypts cookies. I was having a simlar problem about a year ago on another site:

    Can’t post. Topic turns yellow. Can’t delete.

    I found this plugin for WP that fixes it (in WP).. it’s apparently a bug in WP’s AJAX handling. Perhaps something similar is going on inside BBpress’ AJAX functionality?

    http://sparepencil.com/code/ajax-referer-fix/

    in pluggable.php (current)

    if ( !function_exists('bb_check_ajax_referer') ) :
    function bb_check_ajax_referer() {
    if ( !$current_name = bb_get_current_user_info( 'name' ) )
    die('-1');

    $cookie = explode('; ', urldecode(empty($_POST['cookie']) ? $_GET['cookie'] : $_POST['cookie'])); // AJAX scripts must pass cookie=document.cookie
    foreach ( $cookie as $tasty ) {
    if ( false !== strpos($tasty, bb_get_option( 'usercookie' )) )
    $user = substr(strstr($tasty, '='), 1);
    if ( false !== strpos($tasty, bb_get_option( 'passcookie' )) )
    $pass = substr(strstr($tasty, '='), 1);
    }

    if ( $current_name != $user || !bb_check_login( $user, $pass, true ) )
    die('-1');
    do_action('bb_check_ajax_referer');
    }
    endif;

    From above mention (wordpress) plugin:

    if (!function_exists('check_ajax_referer')) :
    function check_ajax_referer() {
    // Explode cookie data like WordPress normally does
    $cookie = explode('; ', urldecode(empty($_POST['cookie']) ? $_GET['cookie'] : $_POST['cookie'])); // AJAX scripts must pass cookie=document.cookie
    foreach ( $cookie as $tasty ) {
    if ( false !== strpos($tasty, USER_COOKIE) )
    $user = substr(strstr($tasty, '='), 1);
    if ( false !== strpos($tasty, PASS_COOKIE) )
    $pass = substr(strstr($tasty, '='), 1);
    }

    // This variable is set when cookie data was sent in an encrypted fashion
    // For more information:
    // * http://forum.hardened-php.net/viewtopic.php?pid=616
    // * http://www.hardened-php.net/suhosin/
    if(isset($_SERVER['RAW_HTTP_COOKIE']))
    {
    // Explode the raw (HTTP) cookie data using the WP method
    $crypt_cookie = explode('; ', $_SERVER['RAW_HTTP_COOKIE']);
    foreach ( $crypt_cookie as $tasty ) {
    if ( false !== strpos($tasty, USER_COOKIE) )
    $crypt_user = substr(strstr($tasty, '='), 1);
    if ( false !== strpos($tasty, PASS_COOKIE) )
    $crypt_pass = substr(strstr($tasty, '='), 1);
    }
    // Set $user and $pass to the decrypted values if the cookies match
    if($crypt_user == $user && $crypt_pass == $pass)
    {
    $user = $_COOKIE[USER_COOKIE];
    $pass = $_COOKIE[PASS_COOKIE];
    }
    }

    if ( !wp_login( $user, $pass, true ) )
    die('-1');
    do_action('check_ajax_referer');
    }
    endif;

    #63660
    _ck_
    Participant

    Well I very much appreciate the donation (though unnecessary) but you’ve only half fixed your problem by disabling the pretty permalinks you used to have. I figured your priority was getting back online asap.

    You need to check that your don’t have any higher htaccess rules interfering with your bbpress htaccess, and that bbpress’s htaccess rules are fresh and correct. Don’t use multiviews in your htaccess on godaddy, make sure you go here and get the proper rules to copy into the /forums/.htaccess

    http://www.eidolonai.com/forum/bb-admin/rewrite-rules.php

    I also am concerned that you mention using the word “slug” (singular) in your bb-config.php when it should be

    $bb->mod_rewrite = slugs;

    (plural)

Viewing 25 results - 57,676 through 57,700 (of 64,059 total)
Skip to toolbar