Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 23,626 through 23,650 (of 26,844 total)
  • Author
    Search Results
  • #65874
    _ck_
    Participant

    You cannot use WordPress 2.6 with bbPress 0.9

    There are major cookie changes in 2.6.

    It’s going to be awhile before there is a version of bbPress that will work with 2.6, so stick with 2.5.1

    #65745
    chrishajer
    Participant

    bbPress does not create the .htaccess file for you like WordPress does. I think in future releases they are considering creating it for you.

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

    #55405
    _ck_
    Participant

    Wait, so was this ever resolved after a year?

    With WordPress in the root and bbPress in a sub-directory (ie. /forums/) can they both have pretty permalinks?

    I have an idea if not – simple edit the webroot wordpress htaccess like so:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/forums/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    where /forums/ is the install path of bbpres underneath wordpress. Remember you still need the local htaccess for bbpress in it’s own folder.

    #65623
    Graeme
    Member

    I can vouch for ThemePress. It is an excellent solution imho. I am using it on a site that is still in the development stage. It is quite easy to use. It is also much better than trying to make separate bbPress and wordpress themes similar.

    #65897
    _ck_
    Participant

    Oh wow I wonder when they slipped that in. Good find.

    I bet it’s just copied from the WordPress code.

    If you know how, you might want to stick that into TRAC (and if you have the time, check WordPress and it’s TRAC too)

    #65873
    jfox95
    Member

    (couldn’t get the quote to work) from _ck_ post above: ” Also, none of this truly fixes WP 2.6 to work properly with cookie integration with bbPress 0.9.0.2 – that’s going to require an upgrade on the bbPress side.

    ahh this must be why I am having trouble with single sign-on? In the past hour, I have tried everything in all the other posts about this topic to no avail. Unless I tried every combination/setting with the configs except the right one, of course.

    #65872
    _ck_
    Participant

    The trouble is that the developers on the WP side, in their wisdom ;) decided to re-use an existing cookie name for a new purpose and change the cookie path.

    The idea is higher security as the admin cookie in theory should only get transmitted when you are entering the admin section.

    This is why you need to try deleting all your cookies (for your site) after installing WP 2.6

    If that fails, try my define fix above.

    Note that changing the cookie path to ‘/’ takes you back to the lower level of security that WP 2.5.1 and earlier had. There’s a particular WP mod who’s upset with me for even suggesting this but I figured the idea is to get you up and running ASAP first until they address this later.

    Also, none of this truly fixes WP 2.6 to work properly with cookie integration with bbPress 0.9.0.2 – that’s going to require an upgrade on the bbPress side.

    #65871
    pulk99
    Member

    yes, that seems to fix it (at least for me):

    from this thread: https://wordpress.org/support/topic/188964/page/2#post-803992

    go into your wp-config.php

    and add this line:


    @define
    (‘ADMIN_COOKIE_PATH’, ‘/’);

    NOTE ‘/’ will be your blog path.

    If you find that ‘/’ doesn’t work, make it ‘/blog/` or whatever your path is.

    #65793
    hyperhookup
    Member

    OK I checked the wordpress database users and came up with the only user name registered which is my admin user and the id is 3. Then I went and checked it against the user meta and it has all the correct settings for an admin account. I then went into the bb database users and found the keymaster account which id is 1. I checked it against the bb database user meta and it has the setting you specified above and a few others. I think its because my admin id on my wp database is 3 and not one. Do you think that is the problem? If so how do I go about fixing it without messing everything up? Thanks for your help BTW. I appreciate it.

    #65870
    750331
    Inactive

    My installation seems to work with just that slash “/” on it own, but at least it working. I added the below into my wp-config.php file

    @define('ADMIN_COOKIE_PATH', '/');

    I have tried it with '/blog/wp-admin' and that didn’t seem to work, at all.

    #55244
    parthatel
    Member

    That doesn’t work when I add that to my WordPress (it has integrated functions). Nothing appears when I added the code. Also, what is the code to display content if user is logged in, else (if not logged in) display some other content.

    #65869
    _ck_
    Participant

    Okay, some bbPress users may be able to get it to work with WordPress 2.6 by adding to your wp-config.php

    @define('ADMIN_COOKIE_PATH', '/blog/wp-admin');

    where “blog” is your blog’s actual path. If it’s in the webroot, just take out “blog” entirely and leave '/wp-admin'

    #65867
    _ck_
    Participant

    We might have to sit tight for a 0.9.1 release or something like that.

    I figured out a work-around to get into admin area on WP 2.6 but this will “knock out” your bbPress login as you switch back and forth:

    https://wordpress.org/support/topic/188964/page/2?replies=41#post-803992

    #65866
    jasonistaken
    Member

    There was a large commit to trunk a few days ago that upgraded most of the cookie stuff.

    #65865
    Erunafailaro
    Member

    So what next?

    Is this an issue of configuring wp 2.6 and bbpress 0.9.0.2 correctly to fix this problem?

    Or is a software-update necessary?

    #65864
    _ck_
    Participant

    I wonder if a newer bbPress build will be required which can be taken from trac (or via svn).

    Let me tinker a bit and see if they changed cookie methods (yet again, sigh)

    CONFIRMED: WP 2.6 breaks cookie sync

    and I get a endless-loop login by WP 2.6

    Many people seem to confirm similar cookie problems:

    https://wordpress.org/support/topic/188964

    https://wordpress.org/support/topic/188870

    #3622
    #3621
    749549
    Inactive

    Hello,

    I have a new installation of bb press integrated with my main wordpress site. For a whole bunch of reasons I want to edit the bb press installation so that there’s no way to register for the board through the board itself; I only want people to be able to register through the main wordpress site. Is there any way to block registration through the board, or just remove each element of it manually? I’m using the theme “Scoun” if it makes any difference. Any suggestions would be greatly appreciated.

    #65756
    chrishajer
    Participant

    Those don’t look like errors to me, they just look like informational messages that the tables already exist, and the reason they already exist is because you are performing a “database integrated installation”, since you already installed WordPress.

    Is there some functionality missing that makes you think these are errors?

    #3596
    749067
    Inactive

    Hi —

    So the first time I tried to install this onto my new database, I selected the WordPress Integration and gave it a go: I received an email telling me I was all set to go, but the installation page reported this error:

    Table ‘wp_users’ already exists

    Table ‘wp_usermeta’ already exists

    >>> User tables will already exist when performing a database integrated installation.

    So I went back to Step 2 and went through the installastion, skipping the Integration part … and again I received the confirmation email, but got the same error:

    Table ‘wp_users’ already exists

    Table ‘wp_usermeta’ already exists

    >>> User tables will already exist when performing a database integrated installation.

    even though, looking at the installation log, it clearly says it skipped the integration part …

    how do I get a fresh installation, or fix the error?

    #65768
    hinch
    Member

    I hadn’t read the guide on merging with wordpress – I am building it into a CMS built for a client.

    I had already adjusted pluggable.php instead of simply editing bb-config and adding the cookiepath, d’oh!

    I actually have a working solution now. Instead of ussing about with automatic login the main website can generate a cookie that BBpress likes. I did have to modify wp_validate_auth_cookie and wp_generate_auth_cookie to include my own hash and adjust the config as pointed out above but otherwise everything is unmodified… so far!

    #50096
    chrishajer
    Participant

    You need to add this to the top of your wp-config.php right after <?php:

    require_once('/path/to/bbpress/bb-config.php');

    I would use the full server path to the bb-config.php file, not a relative path like ./bbpress/bb-config.php (rumor is that full paths work better) and not a URL like http://www.example.com/bbpress/bb-config.php (URLs won’t work at all here).

    That’s it, just one step. Good luck.

    #65849
    chrishajer
    Participant

    Can you past that code into something like pastebin or pastie? The formatting is lost displaying it here.

    Thanks.

    http://pastebin.com/

    http://pastie.org/

    parthatel
    Member

    ok, so I added require_once('path/to/bbpress/bb-config.php'); to my wp-config.php file. I then added the bbpress discussions code:

    <table id="latest">

    <tr>

    <th><?php _e(‘Movie’); ?> — <?php new_topic(); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Last Poster’); ?></th>

    <th><?php _e(‘Freshness’); ?></th>

    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; // $super_stickies ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> “><?php topic_title(); ?></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; // $topics ?>

    </table>

    I added that code to my index.php file in my wordpress theme and this is what I get as the output in the browser:

    <table id="latest">

    <tr>

    <th>Movie — Add New »

    </th>

    <th>Posts</th>

    <th>Last Poster</th>

    <th>Freshness</th>

    </tr>

    </table>

    Obviously, there is something wrong. Does anyone know what?

    #50095
    parthatel
    Member

    ok, so what exactly are the steps to load bbpress into wordpress?

Viewing 25 results - 23,626 through 23,650 (of 26,844 total)
Skip to toolbar