Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 54,951 through 54,975 (of 64,430 total)
  • Author
    Search Results
  • #68216

    OK, I’ve looked at the other thread and looked at the cookie interaction on my site and have it working. I did have to make a change to my wordpress installation to get it to work. Here is what I did:

    My wordpress installation is at sacbikekitchen.org

    My bbpress installation is at sacbikekitchen.org/forum/

    I added the following to my /forum/bb-config.php:

    $bb->cookiedomain = '.sacbikekitchen.org';

    $bb->sitecookiepath = '/';

    I added the following to my /wp-config.php:

    define('COOKIE_DOMAIN', '.sacbikekitchen.org');

    define('COOKIEPATH', '/');

    Then I made a couple additions to the wp-includes/pluggable.php file:

    Around line 596 I added:

    setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, '/forum/', COOKIE_DOMAIN);

    setcookie($auth_cookie_name, $auth_cookie, $expire, '/forum/bb-plugins', COOKIE_DOMAIN);

    setcookie($auth_cookie_name, $auth_cookie, $expire, '/forum/my-plugins', COOKIE_DOMAIN);

    setcookie($auth_cookie_name, $auth_cookie, $expire, '/forum/bb-admin', COOKIE_DOMAIN);

    Around line 620 I added:

    setcookie(LOGGED_IN_COOKIE, ' ', time() - 31536000, '/forum/', COOKIE_DOMAIN);

    setcookie(AUTH_COOKIE, ' ', time() - 31536000, '/forum/bb-plugins', COOKIE_DOMAIN);

    setcookie(AUTH_COOKIE, ' ', time() - 31536000, '/forum/my-plugins', COOKIE_DOMAIN);

    setcookie(AUTH_COOKIE, ' ', time() - 31536000, '/forum/bb-admin', COOKIE_DOMAIN);

    Hope it helps…

    #68937

    In reply to: reCAPTCHA for bbPress

    fatbikez
    Member

    looks good. im going to check that out

    Meraj Chhaya
    Member

    Hi all!

    I run wordpress 2.6 at phonereport.info. I tried installing bbPress 1.0 Alpha so that it could integrate with WordPress, but just as I concluded the installation successfully, I get the following error:

    ‘Parse error: syntax error, unexpected T_STRING in /home/nokisat7/public_html/phonereport.info/test/bbpress/bb-config.php on line 20’

    Line 20 is the following:

    ‘// the value of their equivalent keys in the WordPress file wp-config.php’

    Here is the installation log, I changed the password:

    ‘Referrer is OK, beginning installation…

    >>> Setting up custom user table constants

    Step 1 – Creating database tables

    >>> Modifying database: nokisat7_bbpress (localhost)

    >>>>>> Table: bb_forums

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_meta

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_posts

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_terms

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_term_relationships

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_term_taxonomy

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_topics

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    Step 2 – WordPress integration (optional)

    >>> WordPress address (URL): http://phonereport.info/

    >>> Blog address (URL): http://phonereport.info/

    >>> WordPress cookie keys set.

    >>> WordPress “auth” cookie salt set from input.

    >>> WordPress “logged in” cookie salt set from input.

    >>> Fetching missing WordPress cookie salts.

    >>>>>> WordPress “secure auth” cookie salt not set.

    >>> User database table prefix: wp_

    >>> User database name: nokisat7_wrdp9

    >>> User database user: nokisat7_forum

    >>> User database password: something

    >>> User database host: localhost

    >>> User database character set: utf8

    Step 3 – Site settings

    >>> Site name: PhoneReport test forum

    >>> Site address (URL): http://phonereport.info/test/bbpress/

    >>> From email address: only.meraj@merajnet.com

    >>> Key master role assigned to existing user

    >>>>>> Username: admin

    >>>>>> Email address: only.meraj@merajnet.com

    >>>>>> Password: Your existing password

    >>> Description: Just another bbPress community

    >>> Forum name: PhoneReport test forum

    >>>>>> Topic: Your first topic

    >>>>>>>>> Post: First Post! w00t.

    >>> Key master email sent

    Installation complete!’

    Please let me know what else you wish to have.

    There are two different databases: one for the wordpress installation, the other for bbpress.

    Thank you in advance, and keep up the good work!

    #68936

    In reply to: reCAPTCHA for bbPress

    dchest
    Member

    johnhiler: It should work with 0.9. It won’t work with some rare strange (perhaps, Windows-based) PHP configurations with 0.9 and earlier that have empty PHP_SELF variable.

    #68935

    In reply to: reCAPTCHA for bbPress

    johnhiler
    Member

    Has anyone had a chance to this with bbPress v 0.9?

    #68215
    jasonfrank77
    Member

    thanks guys for releas))

    #68908

    In reply to: WPMU integration

    Klark0
    Member

    I count the number of blogs and the number of the posts using two queries. All posts from all the other blogs are copied to blog_id 1. So i do like so

    $count_posts = wp_count_posts();
    echo $count_posts->publish;

    and

    $stats = get_sitestats();
    $tmp_blog_count = number_format ($stats[ 'blogs' ] );
    print "".$tmp_blog_count." blogs";

    Can bbpress grab those ?

    #68934

    In reply to: reCAPTCHA for bbPress

    dchest
    Member

    Thanks! Commited and tagged.

    #68945
    chrishajer
    Participant

    You might want to take a stab at validating the page:

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwrvna.org%2Fforum%2Ftopic.php%3Fid%3D9

    It looks like there’s an unclosed div (plus a couple other minor problems that are not affecting this.) Maybe fixing that will help?

    #68907

    In reply to: WPMU integration

    chrishajer
    Participant

    What is a “blog and post counter”?

    If it’s a plugin, it might be easier to just adapt it to bbPress rather than load WPMU into the bbPress config, if that’s the only function you need.

    #68566
    jonkristian
    Member

    Hm, turns out I still have trouble accessing admin panel in bbpress. Straange, I tested it with login via both bbpress and wp the last time, however now, it doesn’t seem to work. :/

    Regarding the setup, i followed Deadpan’s setup down to the very last line, except that i kept the hash in

    $bb->logged_in_cookie = ‘wordpress_logged_in_ikeptthishashin’;

    #68565

    @Jon: Curious. There is a difference between my setup and yours.

    I have bbPress in a separate db but share the wp user tables…you?

    #68933

    In reply to: reCAPTCHA for bbPress

    _ck_
    Participant

    dchest don’t worry about the double submission, mdawaffe will figure it out when he gets a chance to check the requests (he does it about once a week)

    You don’t have to post the whole readme in there. In fact anything you put there is only seen by mdawaffe and then it gets replaced automatically when you upload a readme.txt file.

    update: well that was fast, he just added you to the svn

    #68944
    glenncvance
    Member

    btw, I’m using 0.9.0.2.

    #68932

    In reply to: reCAPTCHA for bbPress

    glenncvance
    Member

    This is something I’ve wanted for the forum I admin. I’ll be trying this out. Thanks.

    #4263
    glenncvance
    Member

    Hello everybody – I’m having a formatting issue with bbpress and IE7. You can see an example of what my problem is here –

    http://wrvna.org/forum/topic.php?id=9

    In FF, naturally, everything works fine, but IE7 puts the username and status underneath/inside/within the topic post. I’m using a stripped down (even further) version of the 1col_fixed

    theme.

    I’ve searched the forum here and can’t find anyone else with this problem. My fear is that it’s a IE7 CSS problem….

    Thanks.

    #4262

    Topic: reCAPTCHA for bbPress

    in forum Plugins
    dchest
    Member

    I wrote a plugin to add reCAPTCHA to user registration page. (It’s inspired by _ck_’s Human Test.)

    I’ve submitted request to add it to the plugin repository, however 1) the submission form didn’t have any feedback, so I ended up with two identical requests, 2) I didn’t realize you have to put the whole readme.txt to description field of this form. Could someone fix this, and write at least a few sentences describing the submission process?

    Anyway, you can download it from http://www.codingrobots.com/files/bb-recaptcha.zip

    IMPORTANT: You must get an API key from the reCAPTCHA project to use it. See readme.txt.

    Tested under 1.0-alpha1, may not work with previous versions on some PHP deployments.

    See how it works here: http://forum.codingrobots.com/register.php

    Comments and code review are welcome!

    #68562

    @jonkristian and klarko:

    Are you using bbPress 1.0.2a?

    Jon, are you using WP2.6x? I see that klarko is using wpmu.

    #4259

    Topic: WPMU integration

    in forum Showcase
    Klark0
    Member

    Almost finished!

    http://forums.cariblogger.com

    I think everything works right with the integration. Was too scared to load the whole wpmu into bbpress so I modified a theme to look like my MU home theme.

    One thing I have to figure out is how to get that blog and post counter I use on MU to show in bbpress. Is there any other way other than loading mu into the config file?

    #52357
    eslavin83
    Member

    can anyone help?

    after the script runs, isn’t there an sql file that’s supposed to be generated from the old board & saved into a /tmp/ folder?

    #67991
    hotshottwo
    Member

    I like this idea. Would it be possible to force bbPress login/logout through WordPress too? That way all “membership” functions would be treated consistently.

    #68887
    wiseacre
    Member

    -1 The script starts with <?php and finishes with ?>

    0 Change lines 1 and 2 with you user, host, password and database name

    1 Save to file filename.php

    2 Upload to your forum directory

    3 Start it. For example – open http://example.com/bbpress/filename.php

    #68236
    _ck_
    Participant

    You could easily turn this into a more standardized script by starting the code with require('./bb-load.php'); to load the bbPress code and check user authorization, and then if (!bb_current_user_can(administrate)) {exit;}

    The mysql_query( would become $bbdb->query( and you’d have to do a global $bbdb; once at the top too. Just for completeness you might want to look at some of the functions in bb-do-counts.php in bb-admin.

    Actually it would be fairly easy to turn it into a full blown plugin for the admin menu.

    #68561
    Klark0
    Member

    Thank you very much, Deadpan.

    I’m integrated with cookies now ..but

    When I click the Admin link in bbpress it just reloads the page. It doesn’t take me to the admin area.

    Edit: Seems to be happening both ways. If i log into WPMU first and go the bbpress, the admin link just reloads the page. If login to bbpress first, the admin link works but I’m forced to login again if I try to access wp-admin

    #68637
    _ck_
    Participant

    It might be possible to create the MediaWiki cookie from the bbPress side and visa versa.

    From the mediawiki side, you could do something as simple as

    require('./bb-load.php');
    wp_set_auth_cookie( (int) $user_id,0 );

    Which will create the bbPress cookie. Where $user_id is the user’s bbPress id. Since you are using the same user table, it should be available?

Viewing 25 results - 54,951 through 54,975 (of 64,430 total)
Skip to toolbar