You will have to make changes to some core files to make this work properly, as they are in different subdomains.
Find your bbPress config.php
file and add these lines:
//try to sync cookies
$bb->cookiedomain = '.mpm.org.au';
$bb->cookiepath = '/';
Now go to your wordpress folder, open wp-settings.php
.
#line 190
FROM
define('COOKIE_DOMAIN', false);
TO
define('COOKIE_DOMAIN', '.mpm.org.au');
Make sure that you make note of this change to wp-settings.php
. Every time you upgrade wordpress this change will be overriden and you will have to make this change again.
my forum: http://www.mpm.org.au
my wordpress: http://300.mpm.org.au
I don’t think the integrated logins are working properly – can someone kindly check and report back here?
I have this alert in my mysql database regarding wp_users
http://i93.photobucket.com/albums/l69/mikedelighttoo/users.png
Hi
I was following a tutorial which says that in order to use wordpress tags you need to include the blog header in your bbpress config. The tags work when I do this, however my bbpress-admin just gives me a whitepage?
Thanks
Speaking of which, it doesn’t add a topic-slug either, which is required to have permalinks set to slug. I tried adding the topic_slug field and a variable to make it update, but when I did that it didn’t work at all
Can someone else have a look at this too?
wordpress:
define(‘DB_HOST’, ‘sql.kmr.nazwa.pl:3305’);
define(‘DB_NAME’, ‘kmr’);
bbpress:
define(‘BBDB_NAME’, ‘kmr’);
define(‘BBDB_HOST’, ‘sql.kmr.nazwa.pl:3305’);
What do you have in your wp-config for the host and database name in wordpress?
Trent
sql.kmr.nazwa.pl:3305 i tried also localhost and host without port defined.
version of server: 5.0.26-log
version of mysql: 4.1.11
http://www.kmr.nazwa.pl – wordpress
http://www.kmr.nazwa.pl/forum – bbpress.
It hasn’t been talked about for a ‘long time’ here in the forums, but if you just embed your bbPress install around your WP theme, it will be calling the wordpress stuff for the sidebar and then have your forum on something like a WP ‘page’. We just implemented the plugin admin for the 1.0 release and 0.8 has the theme admin. It won’t be too long before someone figures out how to get ‘sidebar’ widgets working with bbPress…..just time!
Trent
If you setup that old WordPress blog as an integration with your bbPress installation and then install the bbPress-Post plugin from http://dev.mbzeus.net/forum/ you can do it. It is a real pain in the butt, but if you have the integration plugin working, you can ‘edit’ each of the old posts and then save them again . This creates the entry in bbPress. Last time I checked though, it didn’t update the timestamp to the original post time though.
Trent
Are you using any plugin on this installation? I have heard of people having this issue when using the bbPress-Post plugin for posts out of wordpress.
Trent
I don’t think so. Blogs and forums serve two different purposes and I don’t know that anyone has written an exporter to get WordPress blog posts into bbPress.
It looks like WordPress uses the same exact syntax for the connection, so, it SHOULD work. Are you certain the string is exactly the same as the one you have in wp-config.php? If it works in WordPress, I think it should work in bbPress.
I’m sorry but it just doesn’t work with 8.0 or 8.1 when I select that theme its the default theme all messed up. Is there something else that needs to be enabled on the server? because wordpress and all other software I’ve intalled on this server works fine. Maybe its an incompatability with php5?
Is there information on or a plugin on exporting wordpress posts into bbpress?
I’d like to export an old wordpress blog into my forums.
yes, i tried and doesn’t – i get ‘Cannot select DB.’ . in wordpress it works.
Sorry, I do not. WordPress is like this too with no provision AFAIK for a non-standard port.
But, I was looking at bb-includes/db.php just now and the mysql_connect function is being used. That function can user dbservername.com:port
by default according to this page: http://www.php.net/function.mysql-connect
So, in theory, this should work:
define('BBDB_HOST', 'blabla.bla.pl:3305');
Did you try that and it does not work?
I’m still having that problem. I tried all solutions on this page, but had no luck getting pretty URLs. Forum is working fine, but whenever I apply .htaccess settings, either copy-pasted from this forum or from rewrite-rules.php, I get an error
Not Acceptable
An appropriate representation of the requested resource /forum/topic/1 could not be found on this server.
Available variants:
* topic.php , type application/x-httpd-php, language ru
What could that be? I have the latest version of bbPress, it’s using wordpress database for authorization & authentication, but runs in a separate directory.
They used to be ajaxed… or was that wordpress?? well ajexing this would be great to have as default!!
Any bbpress programmer who wants to comment this?
Also editing could be made ajaxed…
I’ve been using WordPress for years so when it came to adding a forum to my site bbpress made sense to me. However I’m having some integration issue which I would appreciate some help on.
I’ve gone through the process of integrating bbpress with wordpress following these instructions http://bbpress.org/documentation/integration-with-wordpress/ which seemed to work fine but…
When I look at my users in bbpress I can see them all there but if I try to edit any of them (to create a modorator for example) by clicking edit (http://www.forums.geekpulp.co.nz/profile/1/edit), I just get a 404
I also have the same issue when I attempt to view any posts/forums create. The url looks like this http://www.forums.geekpulp.co.nz/topic/3?replies=1
Any ideas?
I’ve just installed the last version of bbpress on last version of wordpress, its all ok but, when I click on “view your profile” or other links the result is: “Not Found The requested URL /forum/profile/1 was not found on this server.”
Why?
Many Thanks
I thought about having separate headers, but concluded that sweating blood and tears now is easier than having to remember later that I have near-identical info in two different places. But it is really up to your own preferences, I suppose.
Now that I’m able to make WordPress recognize when it’s serving bbPress pages, I can also modify the sidebar and other design features accordingly on the fly, which I think is really quite nice.
With new version of plugin, u dont need to edit the file directly anymore. U can always get the new version from https://bbpress.org/plugins/topic/39
From what i can see. SELECT * FROM topics WHERE
It seem the bb table prefix is missing. Maybe u miss the setting.
I dont know what u mean by “i still have the SMF forum that reads the forum topics” but u can find the option page inside wordpress option under “BbLD Option”
I’m just going to add onto this post with my error about the plugin.
I edited the php at these two lines:
Code:
$bbpath = ‘/forum’; // Adjust the path to suit your bbpress
$forum_slimit = ’10’; // Adjust the limit to show
uploaded the plugin into wp-content/plugin and then added
Code:
<?php wp_bb_get_discuss_sidebar(); ?>
to my sidebar. activated the plugin to get the following error:
Code:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
SELECT * FROM topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT
i still have the SMF forum that reads the forum topics with the line code:
Code:
<?php include (‘/forum1/extern.php?action=active’);?>
so i have no clue what I did wrong… i’m thinking maybe its something I didn’t edit. Also i keep hearing about a option page for the plugin and can’t seem to find it.
My site has a similar integration. I tossed around the idea of doing a conditional header like you describe, but in the end it was just simpler to have a second header file specific for bbpress, which is basically a copy of the WP one with some of the required bbpress stuff thrown in.
I think the point of bbpress is to allow ultimate customizability (same as wordpress). If you want all-in-one forums, then bbpress is certainly not for you because you’ll spend 3 years installing and writing plugins to get you to that point.
If you want a slim forum software that allows you to pick and choose what functions you want, then bbpress is really good. You don’t NEED to know php unless you want to add something specific for you.
And, of course, as bbpress grows so does its plugin list. Plugins is what makes bbpress particularly special because if, for instance, you don’t find private messages useful, then don’t install that plugin. The base software is just enough to have forums that are easily navigated and posted to. Everything else is up to you (and plugin creators)