Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 24,251 through 24,275 (of 26,830 total)
  • Author
    Search Results
  • #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?

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

    #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

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

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

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

    Nola1974
    Participant

    I was using the Display Name plugin, and now I can’t add new forums to the bbpress. Is there anythingI should do to reverse whatever it did to screw up the permissions?

    After a couple of weeks and double checking I did everthing you outlined up there,, I *still* can’t get the cookie thing straightened out. I just cant seem to get single-login to work.. I’ve tried just about everyting I’ve found on the forum. (maybe that’s it… too many things?)

    #3048
    crazlunatic
    Member

    So what I did was take my original WordPress template and put it in the templates folder and it gave me this:

    http://vistarewired.com/test2/wp-content/bbpress/

    This is what I want except I want to center it, add some grey boxes behind it and that is pretty much it. How do I do this? Because I’m using the same CSS I used for my original blog template which is at http://vistarewired.com

    #63661
    chrishajer
    Participant

    I think you might want to get on IRC and try to raise sambauers.

    https://bbpress.org/forums/topic/talkpress#post-13406

    I’m not sure what the best bbPress revision is for using WordPress 2.5RC1. I think when WordPress 2.5 comes out, there will be a new bbPress release to match up with it. I know WordPress 2.5 was scheduled for March 10th but that’s been held up just a little bit.

    #63649
    testosteron
    Member

    hey isnt it possible?

    please help!

    #3043
    creasy
    Member

    Hey,

    as the password is stored in a different way in WordPress 2.5 (RC1) you can’t log in with bbpress anymore (if u integrated both which i did).

    Until the next version of bbpress comes out, what do I need to update to make this work again?

    Thanks so much in advance!

    #63404

    Oh, goodie! I’ve already upgraded one of my sites to 2.5 and I love it, but another is integrated with WP (after much heartache and pain) and I don’t want to upgrade if it’s going to break it!

    #3044
    proko
    Member

    Hi,

    i have installed how it will be described in the documentation.

    When i go to my install.php (http://www.kreativoase.at/taufkerze/forum/bb-admin/install.php) I am getting this:

    The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory.

    I have CGI on my webserver. I looked in my database. There are no new tables. This is the same database where my wordpress is.

    What can I do? I have the permalinks on “false”.

    Must I install bbpress in a own database?

    Mfg

    Proko

    #63648
    testosteron
    Member

    Please help me!

    I need the help or i cant finish making my new project!

    The login menu must be in the “wordpress section” and in the “bbpress section” of my homepage!.

    Thanks for the help

    #63652
    cmaujean
    Member

    Most of this code was taken directly from the bbsync plugin (I’ve attempted to remove need for configuration, and some of the bbsync functionality/flexibility).

    There are really truly NO errors logged anywhere for this.

    here is my plugin in it’s entirety:

    define('CRBBFORUMID', 1);

    function cr_post($post_id) {
    global $bbdb, $wpdb, $current_user;

    require (dirname(__FILE__) . '/../../bbpress/config.php');
    // get the post
    $post = wp_get_single_post( $post_id );

    if(!$current_user) {
    return;
    }
    bb_set_current_user($current_user->ID);

    $post_title = $bbdb->escape($post->post_title);

    $bb_topic_arr = get_post_meta($post_id, 'bb_topic', $true);
    $bb_topic_id = $bb_topic_arr[0];

    // if bb has this post already, update the topic
    $topic_exists = false;
    if ($bb_topic_id) {
    if(bb_update_topic($post_title, $bb_topic_id)) {
    $topic_exists = true;
    }
    $reply = bb_get_first_post($bb_topic_id);
    bb_update_post($post_text, $reply->post_id, $bb_topic_id);
    }

    // if not, create a new topic
    if (!$topic_exists) {
    $topic_id = bb_new_topic($post_title, CRBBFORUMID, $tags);
    $reply_id = bb_new_post($bb_topic_id, $post_text);

    $r = false;
    if ($topic_id && $reply_id) {
    bb_update_topicmeta($bb_topic_id, 'wp_post', $post_id);
    if (!update_post_meta($post_id, 'bb_topic', $topic_id)) {
    add_post_meta($post_id, 'bb_topic', $topic_id, true);
    $r = true;
    }
    }
    $oldcoms = get_approved_comments($post_id);
    if($oldcoms) {
    foreach($oldcoms AS $oldcom) {
    if($user = bb_get_user($oldcom->comment_author)) {
    $time = strtotime($oldcom->comment_date);
    $text = '<em><strong>This comment was originally posted at ' . date('G:i', $time) . ' on ' . date('jS F Y', $time) . ".</strong></em>nn" . $oldcom->comment_content;
    bb_set_current_user($user->ID);
    bb_new_post($topic_id, mysql_real_escape_string($text));
    }
    }
    }
    }
    return $r;
    }

    function cr_comment($comment_id, $approval_status) {
    global $bbdb, $wpdb;
    require_once(dirname(__FILE__) . '/../../bbpress/bb-load.php');

    $comment = get_comment($comment_id);

    $topic_id = get_post_meta($comment->comment_post_ID, 'bb_topic', $true);
    if(($topic_id) && ($approval_status == 1) && ($comment->user_id) && bb_set_current_user($comment->user_id)) {
    //topic linked, genuine comment, actual user, bb likes user
    bb_new_post($topic_id, $comment->comment_content);
    return true;
    } else {
    return false;
    }
    }

    add_action('publish_post', 'cr_post');
    add_action('comment_post', 'cr_comment');

    #63651
    chrishajer
    Participant

    Without a link to your forum or an example of the plugin code, it’s going to be hard to help. The blank screen is almost certainly a 500 error, so it should be logged somewhere, depending on your server configuration.

    If you disable the plugin and everything works, you know the problem is with the plugin. So, you need to fix that. Without posting the plugin, it will be hard for anyone to help you fix it.

    crazlunatic
    Member

    Thank you for the help. So what I did was take my original WordPress template and put it in the templates folder and it gave me this:

    http://vistarewired.com/test2/wp-content/bbpress/

    This is what I want except I want to center it, add some grey boxes behind it and that is pretty much it. How do I do this? Because I’m using the same CSS I used for my original blog template which is at http://vistarewired.com

    #63650
    cmaujean
    Member

    also, this same problem happens when I try to use the bbsync plugin.

    cmaujean
    Member

    Howdy,

    WordPress 2.3.3

    bbPress latest from yesterday

    Wordpress Integration

    I’ve created a very simple wordpress plugin to attempt to allow wordpress posts and comments to also be put in a bbPress forum.

    When I make a post and my plugin attempts to:

    require_once(dirname(__FILE__) . '/../../bbpress/bb-load.php');

    I get a blank page, and the post/comment does not get sent to bbpress. I’ve have traced this to the point where bb-settings.php calls this line:

    require( BBPATH . BBINC . 'template-functions.php');

    but no matter what I put in template-functions.php (even writing to a file), I get the blank page.

    I’ve checked all my error logs, and there are no errors being logged, not even a 500 error. I’m at my wits end, and late on this project, please help.

    Thanks,

    Christopher

    #3038
    testosteron
    Member

    Hi

    Can i add the bbpress login menu un my wordpress theme?

    The login is in the header of my wordpress blog.

    Thanks!

    and please tell me how!

    #63628
    testosteron
    Member

    mhm can you say me wich login menu i should inegrate in the theme?

    it is in the header and seen on every page!

    #54962
    chrishajer
    Participant

    I think if you wait until bbPress 0.9 is released and integrate it with WordPress 2.5, things will be a lot easier.

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

Viewing 25 results - 24,251 through 24,275 (of 26,830 total)
Skip to toolbar