Search Results for '\"wordpress\'
-
AuthorSearch Results
-
September 15, 2008 at 7:02 pm #66086
In reply to: WordPress + bbPress Integration 101
nekita
MemberIn my case, yes, the relative path works just fine, given that I have access to my WP scheme files after I utilize it.
However, I just found out that adding:
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
instead of just
require_once(‘../wp-blog-header.php’);
does the trick, at least to get access to the admin area.
I’m still stuck with the limitation of my admin account though. Once it’s integrated and I log on the bbP, I can’t write a post nor reply or edit my own profile because the admin user receives the status “Inactive”.
September 15, 2008 at 5:31 pm #66085In reply to: WordPress + bbPress Integration 101
chrishajer
ParticipantIs the wp-config.php actually located at ../ ?
Also, you could try the absolute path rather than a relative one. I have heard before that that might be a problem (although I’ve never seen that. I don’t use MAMP though.)
First verify if the wp-config.php is located ../ from bb-config.php. If it is, try the full absolute path rather than a relative one. Something like
/Applications/MAMP/htdocs/wp-config.php.September 15, 2008 at 4:16 pm #66084In reply to: WordPress + bbPress Integration 101
doyle640
Memberhere is my errors when I try to access the bbpress admin section:
[15-Sep-2008 12:10:48] PHP Warning: require_once(../wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/forum/bb-config.php on line 34
[15-Sep-2008 12:10:48] PHP Fatal error: require_once() [function.require]: Failed opening required ‘../wp-config.php’ (include_path=’.:/Applications/MAMP/bin/php5/lib/php’) in /Applications/MAMP/htdocs/forum/bb-config.php on line 34
On the regular part of the forum, I do not get these errors.
September 15, 2008 at 2:46 pm #67654In reply to: Permalinks Not working
chrishajer
ParticipantWhy did you put bbPress into the wp-plugins folder? It’s not a WordPress plugin.
September 15, 2008 at 11:02 am #66083In reply to: WordPress + bbPress Integration 101
nekita
MemberSeems as if I have the same problem as doyle640. Integrated the Alpha with WP 2.6.2 and after adding “require_once(‘../wp-blog-header.php’);” to bb-config.php I can’t access the bbP Admin section anymore. the “Reply” and “New Topic” area is gone as well, Profile can’t be edited etc. The title under my Admin name (“Key Master” by default) will also change to Invalid.
The loading error for the admin section is indeed a 500 error. At first I figured it might be related to some class conflicts within the WP and bbP CSS structure but fiddling with that didn’t help either.
Now it seems more likely that the User Account looses all of it’s user privileges in bbP once it’s integrated with WP for some reason.
September 15, 2008 at 12:52 am #67614In reply to: Integrated WP Installation – Can’t Login
nekita
MemberNarrowing down on the problem, I’m now able to log in even with the integration code added (by using the exact same setting for WordPress address and Blog address as used in General Settings), however the account is extremely limited in use.
It’s basically the same issue described by user doyle640 here (https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101/page/3), the Admin screen is unaccessable (blank page) as well as the Profile edit options, even the form to add a new topic is completely missing.
This is true for the Admin account as well as any user account.
Once the line “require_once(‘../wp-blog-header.php’);” is deleted from bb-config.php, everything is accessable as usual.
The login synchronization now works both ways as it should though.
September 14, 2008 at 8:01 pm #67611In reply to: Integrated WP Installation – Can’t Login
chrishajer
Participant> Is this the reason why bbPress 0.9.0.2 shouldn’t be
> intergrated with WordPress 2.6 and I need to try bbPress
> 1.0 Alpha instead?
Yes. bbPress 0.9.0.2 and WordPress 2.6.* are not cookie-compatible.
https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101#post-17409
September 14, 2008 at 7:59 pm #3986Topic: Integrated WP Installation – Can’t Login
in forum Troubleshootingnekita
MemberHi there.
I just installed bbPress 0.9.0.2 and integrated it with my WP 2.6.2.
I also added WordPress functions via require_once in bb-config.php so I can utilize my blog’s header and footer for the forum.
Now everything looks the way I want it, but I just can’t login to a bbPress account anymore (direct login via bbPress interface). When I enter wrong login data, it takes me to the failed login screen as expected. When I enter the right login data it will just return me to a blank login form.
Is this the reason why bbPress 0.9.0.2 shouldn’t be intergrated with WordPress 2.6 and I need to try bbPress 1.0 Alpha instead?
Or should I still be able to login via the bbPress interface, just not synchronized via WP, and the problem is located elsewhere?
Thanks a bunch
Lars
September 14, 2008 at 7:50 pm #66082In reply to: WordPress + bbPress Integration 101
chrishajer
ParticipantIf the browser is blank when you load a page, it’s probably due to a 500 error. Do you have access to error logs to see what’s causing that error? I have not hear of that before when including WordPress in bbPress.
September 14, 2008 at 7:16 pm #66081In reply to: WordPress + bbPress Integration 101
doyle640
MemberDoes anyone know why the admin section is displaying blank when the wordpress functions are included in bbpress?
September 14, 2008 at 4:26 am #66080In reply to: WordPress + bbPress Integration 101
isaacgreenspan
Member@ck:
based on my recollections, as i’m on a road trip and can’t readily pull up the code, WP2.6 (maybe older, too, i don’t know), in the midst of their new cookies, has an action hook that can be tapped at cookie-creation to make an additional cookie for bbPress to read (in my instance, bbPress is in /forums/ so the new cookie is restricted to that path). the function that destroys the cookies at logout doesn’t have an action hook, so it has to be overridden (it’s pluggable). on the bbPress end, it’s virtually identical–use an action hook at login to create the various cookies that WP expects, override the pluggable cookie-destroying function.
there’s also some work in syncing up all the various secrets.
it’s worth noting that the cookie that’s now restricted to wp-admin/ in WP2.6.x is the same cookie that was unrestricted in path previously, so the mechanics of the cookie contents and whatnot aren’t any different, just the path restrictions.
September 14, 2008 at 3:25 am #66079In reply to: WordPress + bbPress Integration 101
doyle640
Memberthat works, however, i can no longer access the admin section, it only loads as blank, any ideas why? thanks for your help with this.
the rest of the functions work on the main pages of the forum.
September 13, 2008 at 3:51 pm #66078In reply to: WordPress + bbPress Integration 101
chrishajer
ParticipantTo use the WordPress functions get_sidebar and get_header, you need to include WordPress inside bbPress:
https://bbpress.org/documentation/integration-with-wordpress/#func
This might help as well:
September 13, 2008 at 2:32 pm #66077In reply to: WordPress + bbPress Integration 101
doyle640
MemberI successfully integrated bbpress alpha with the latest wordpress. The install is pretty flawless.
Now, I want to pull in the header and sidebar from wordpress. Does anyone have any tips for me on how to do this?
September 13, 2008 at 1:09 am #67624In reply to: I Can’t Get into the Admin
chrishajer
ParticipantYou need to log in on the front page of your forum, as keymaster, and then next to your name, after you log in, will be a link to admin. Click that, and you’re in. If logging in does not show the admin link, then the user you are logged in as is not the keymaster.
Do not try to access the bb-admin/index.php directly. It doesn’t work like WordPress.
September 13, 2008 at 12:56 am #67623In reply to: I Can’t Get into the Admin
leoleoleo
Memberlogout and use bbPress login not wordpress.
September 12, 2008 at 6:21 pm #66076In reply to: WordPress + bbPress Integration 101
_ck_
Participant“.mysite.com” should cover all subdomains.
Techincally .www.mysite.com is a subdomain.
I don’t know why it didn’t work for you
unless perhaps it was already “.www.mysite.com” on the WP side. They have to match.
September 12, 2008 at 5:42 pm #67565In reply to: WordPress Forums Theme
contoaberto
Participantthank u very much, Chris.
I thought you integrated themes with them.
anyway, it would be great of you if you could offer it for dummies.

It’s an elegant theme.
September 12, 2008 at 4:08 pm #66075In reply to: WordPress + bbPress Integration 101
Benjamin Lee
MemberGot integration working under WP 2.5.1 and bbpress 0.9.0.2
I’d just like to make an observation regarding integration instructions for power users –
Instruction part 8 says: Copy all these items into the bottom of wp-config.php and edit as required:
$wp->cookiedomain = ‘.your-domain-name.com’;
define(COOKIE_DOMAIN,’.your-domain-name.com’);
// note the leading DOT – this is important
// we list both for WordPress legacy compatibility
Originally, I took this to mean:
$wp->cookiedomain = ‘.mysite.com’;
define(COOKIE_DOMAIN,’.mysite.com’);
It wasn’t working. However, once I changed it to:
$wp->cookiedomain = ‘.www.mysite.com’;
define(COOKIE_DOMAIN,’.www.mysite.com’);
and in bb-config.php:
$bb->cookiedomain = ‘.www.mysite.com’;
(adding the www part) It works perfectly fine now.
Hope this helps.
September 12, 2008 at 5:35 am #3984Topic: Can add bbPress poll into wordpress?
in forum Requests & Feedbackleoleoleo
MemberCan add bbPress poll into wordpress like Bbpress Latest Discussion and embed wordpress post?
September 12, 2008 at 3:18 am #66074In reply to: WordPress + bbPress Integration 101
_ck_
ParticipantI experimented for awhile with making a plugin that would make 2.6 work with the 2.5 cookies using a pluggable replacement but the task proved overwhelming. Then I tried making a replacement pluggable for bbPress to make it work with 2.6 cookies and that was just as insane too.
Unless your mods are concentrated into one file I wouldn’t recommend tampering with the core.
I don’t get the rush to WP 2.6 It’s getting terribly bloated.
I miss 2.0 – feature rich yet still lightweight.
September 12, 2008 at 12:09 am #66073In reply to: WordPress + bbPress Integration 101
isaacgreenspan
MemberThough I hesitate to say this out loud, it is possible to integrate bbPress 0.9.0.2 with WordPress 2.6.x (I have a site running the two and logins to one part work in the other, cookies are properly set and cleaned up, etc.), BUT it requires plugins to both bbPress and WordPress (or, alternately, modification of core code) and I’d venture to guess that it might substantially weaken the cookie security introduced in WP2.6. If anyone is desperately interested, I can share details, but it’s messy.
September 10, 2008 at 10:48 pm #67571In reply to: Integrating to WP has broken the static front page
chrishajer
ParticipantAlso, why are you loading bb-load.php into WordPress? Do you need to use bbPress functions inside WordPress?
September 10, 2008 at 10:47 pm #67570In reply to: Integrating to WP has broken the static front page
chrishajer
ParticipantTo me this sounds like you are way off on the wrong track. I’ve never heard of anything like this before. I use a static front page for WordPress and have never had this problem.
Did you install bbpress and wordpress into separate folders? Is bbPress in a subfolder of WordPress?
Did you create an .htaccess for bbPress and are you using permalinks?
Is this relevant at all?
Not trying to distract you from the work you’re doing, but I’ve never heard of anyone going off in that direction before for a problem like this.
September 10, 2008 at 4:55 pm #67568In reply to: Integrating to WP has broken the static front page
jpope
MemberSo I have confirmed that this happens even if I set both bbpress and wordpress to the default themes, so it is definitely not something in the themes I’ve customized.
I really wish I could find the code where wp is determining the post ID of the home/front page as I suspect that is the best place to start trying to tackle this.
-
AuthorSearch Results