The problem I think is with integrated logins. You can’t log in on the bbPress side and be logged in on the WordPress side, or vice versa. If your experience is different, please tell about it.
Sounds like you are using bbSync which is for something totally different: no cookies required to accomplish that.
Thanks
Let me repeat and clarify – it’s IMPOSSIBLE to integrate bbPress 0.9.x with WordPress 2.6 – the cookie methods are now completely different. You must use 2.5.1
I was running BBPress 0.9.0.2 when I upgraded to WordPress 2.6, and, well, it’s still working. I post to WordPress, it appears on BBPress no problem. I post a comment on BBPress and it appears on WordPress no problem.
So is the problem that it’s impossible to integrate a NEW installation? Or is there some other sort of background mess going on that I don’t know about that’s making my installation insecure or something? My site’s here and there’s a link to the bbpress install in the top right corner if you want to check it out.
The wp-pro list might be a good place to ask:
“A list for professional consultants providing WordPress services.”
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.automattic.com/mailman/listinfo/wp-pro
I think you asked this on the IRC channel but I will also answer here to help others.
PHP is not processed in style.css (unless you force your server to, and that’s not recommended)
However you can edit your theme’s header.php
and create an additional “inline” stylesheet like so:
<style>
body {background: url("<?php echo $_SERVER['REQUEST_URI']; ?>/wp-content/themes/default/images/background.gif") repeat-x top;}
</style>
</head>
(note that </head>
at the end, it’s meant to indicate you should put that code at the end of the <head></head>
section)
Also, more importantly, $_SERVER['REQUEST_URI']
is not going to be the variable you want. Probably more like $_SERVER['DOCUMENT_ROOT']
and you’ll have to add the path to wordpress too.
It occurs to me that while the for-hire market is very small on the bbPress side, it’s much more likely you might find someone on the WordPress side who does it for a living. You then might be able to convince them to give bbPress themes a try since they are so similar.
In any case, you’ve posted your email which is what the “rules” here require and then I guess I’m supposed to close the thread, so good luck and best wishes.
This is the problem: $bb->query_vars
, what is the proper bb code?
817574Inactive
I guess it’s a problem with the install wizard. I was able to get cookie-based cross-platform login going by performing a clean install without running the integration during install.
1. Perform a clean, standalone install and log in with the provided admin login.
2. Go to Settings . WordPress Integration – Input the blog URL twice, enter the blog ‘secret’ from [blog_url]/wp-admin/options.php, and enter the blog prefix.
3. Update the blog wp-config.php with the two lines suggested by WordPress Integration Settings page, and you should be in business.
Hope this helps someone else out there.
Used WP 2.5 & 2.5.1 – bbPress 0.9.0.2
Well… apparently, the hangup is in using the “wizard” installation (which results in some silly “duplicate table” error regarding wp_users – users_nicename).
My fix was to perform a clean install, without checking the option for integration during the install ‘wizard.’ Once I was in with a standalone version, I went to the Forum admin page – wordpress integration settings. I input the WP URL twice, the secret from WP and the user table prefix. Added the two lines suggested for wp-config.php and bada-bing… that did it.
Hope this helps someone else out there. 
Used WP 2.5 & 2.5.1 – bbPress 0.9.0.2
We have WordPress acting as a CMS and we’re using bbPress for the forums:
http://www.wvko1580.com/forums/
I wish I understood more about why it actually happens on integrated installs. Is it when you include bbPress in WordPress, or the other way around?
FYI…
If you are integrated with WordPress, you can use the Maintenance Mode plugin for WP and it will work with bbPress.
https://wordpress.org/extend/plugins/maintenance-mode/
I’ve decided that I’m happy with the way my forum and blog are set up. Users can use the same username and password for both my forum and blog. But, they can not log into one and automatically be logged into the other (cookie issues).
The main problem is the way I integrated my bbpress and wordpress. I already had bbpress installed, then later I installed wordpress. I then integrated the two and they share the same database. I hear from many that this is NOT the recommended way to integrate and that you shouldn’t use the same database, but, the bottom line is, everything works fine, but users can’t log in at one and then automatically be logged in at the other, they just have to log in twice if they are using both my blog and forum.
Can anyone provide instructions/tips on how to set up the cookies for bbpress and wordpress if they were integrated backwards and are sharing one database?
Ok, I followed the steps. It’s still not working for me. I log in at my forum, then go to my blog, and it will say “please log in again” so it’s like it recognizes that I logged in at the forum, because it’s saying please log in again, meaning, we know you were logged in, but, now you’re not anymore so log in again.
Having said all of that… I also did the backwards integration. I had the bbpress forum, then later got wordpress. I also did the “full” integration method which you (_ck_) do not recommend. But, the damage is done. I’m not going to uninstall and re-install anything… it is what it is.
My members will just have to log in at my forum, and if they want to log into my blog, they’ll just have to enter in their username and password again, it’s not going to kill them, it takes an extra 5 seconds. So, I’m not worried about it anymore. At least my members can use the same username and password.
I’m going to call this topic resolved. Because I got my answer. Since I did the backwards full integration method, the ability to stay logged in, isn’t going to work, unless I pay a professional to fix it.
The reason for this is that you bbPress/forum pages are returning a header of 404 (Not Found) instead of 200 (OK).
Date: Fri, 01 Aug 2008 00:29:52 GMT
Server: Apache
X-Powered-By: PHP/4.3.9
X-Pingback: http://www.sanzdrave.cz/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Last-Modified: Fri, 01 Aug 2008 00:29:52 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Keep-Alive: timeout=2, max=20
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
404 Not Found
But the page is clearly there. You need this fix:
https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load
Also described here:
https://bbpress.org/forums/topic/strange-404-report-i-firebug#post-9551
817574Inactive
I have a big problem – Google and others doesn’t index my forum. Forum is online for six months. I don’t know how to resolve it. Can anybody help me? Adress is http://www.sanzdrave.cz/forum (WordPress pages and posts are indexed.) Thanks for replies!
Is there a way to convert my SMF Forum users, passwords, threads, and board to wordpressbb?
or users from SMF to wordpress, or somthing? Thanks!
Hi,
I have the following code that works in wordpress:
<?php $homepage = get_settings('siteurl')."/search.php/";
global $wp;
$wp_received_argument = false;
foreach ($wp->query_vars as $k=>$v) if ($v) $wp_received_argument = true;
if ($wp_received_argument) require(TEMPLATEPATH . “/index.php”);
else { wp_redirect($homepage);
exit(); } ?>
Now this wont work in bbpress, so I’ve made some modifications:
<?php $homepage = bb_get_option( 'uri' )."/search.php/";
global $bb;
$bb_received_argument = false;
foreach ($bb->query_vars as $k=>$v) if ($v) $bb_received_argument = true;
if ($bb_received_argument) require(TEMPLATEPATH . “/index.php”);
else { bb_redirect($homepage);
exit(); } ?>
It now crashes at the foreach. What am I missing?
Thx
Let me repeat and clarify – it’s IMPOSSIBLE to integrate bbPress 0.9.x with WordPress 2.6 – the cookie methods are now completely different. You must use 2.5.1
Sam has hinted at the possibility of doing an early 1.0 alpha release which would be compatible with WordPress 2.6 and WPMU 2.6 – no promises and no mention of a specific date yet.
Has anyone successfully integrated bbPress with WordPress 2.6? If so can you explain how you did it?
We will not be able to download talkpress and do some hosting on our own? We can do that with wordpressMU, so why not with talkpress?
You will need bbPress 1.0 to integrate with wpmu 2.6 (or even wp 2.6) which is only available via the trunk. It’s also not stable yet, so not recommended for live sites.
Sam has mentioned possibly doing some kind of early 1.0 alpha release soon to help/please some people who insist on using 2.6 but I don’t know the specifics of the timetable he has in mind.
TalkPress is going to be like WordPress.com, it’s hosted.
You won’t have plugins (or at least access to them).
Maybe themes and customizable css for $$$
Note the names of the settings in bbPress and WordPress is slightly different. Also, never, ever, edit bb-settings.php, what you want is bb-config.php
on the bbpress side and wp-config.php
on the WordPress side.
Follow ALL the steps here and you’ll get cookie integration in just a few minutes:
https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101#post-17410
Note step #8 is where you edit wp-config.php
, the rest are for bb-config.php