Mistainu
What I wrote should have helped you. You are doing what I said you cannot do.
You CANNOT have BBPress inside WP. BBPress must be outside WP. Then you edit bbpress’ config.php to link to the WP directory. That is where the integration happens.
The other option that could work is that WP is a subdirectory of BBPress (being the root). But I haven’t tried that.
The same happent to me when i deletet alle post in the first forum bbpress automatic made when installing, I think its becors you not made the first topic yourself it count -1 ?
why not do as wordpress does? just copy a script/code into a folder and then activate the plug-in and then folow the install instructions acorting too the plug-in readme about tags? and so on?
then you can easly can deside yourself witch you need this plug-in ore not just like wordpress.
in the 0.72 version of bbpress, i cannot remove forum treds in my Mysql database..
Yes its quit nice skin to bbpress, i hope in the futre there vil come more cool skins to bbpress like wordpress
#1. have a smoother “intuitive” integration between wordpress and bbpress?
#2. plugins and theme options pages in control panel *doh* 
#3. in the bbpress control panel, have a link that says “over to wordpress” and vice versa; that would require bbpress and wordpress to “recognize” each other’s presence on the website. a result of suggestion #1
#4. search function? etc
that’s all i can muster… otherwise it’s awesome.
nevermind, i figured out what went wrong:
near the bottom…
// Use the following line *only* if you will be loading WordPress everytime you load bbPress.
//define('WP_BB', true);
so i removed the //
define('WP_BB', true);
and that’s what caused the problem… now that i replaced the // back, integration works fine. but i have a question?
what was that line even supposed to do? i thought load everytime means i can callup the wordpress functions in the bbpress template? or something to that extent? someone please clarify?
it said something about capabilities.php had an error… so that’s why i added both plugins again, yet both failed to fix the problem.
consider me a first timer dummy and guide me step by step how to go about integrating bbpress to my wordpress?
What about importing from PunBB?
*sigh*
Please! You’ll have to be patient.. we are lucky we got this phpBB to bbpress importer this quickly.. jeesh! I’m sure brunotorre will probably make up more import scripts then..
If not brunotorre, then someone else I’m sure.. We’ll just have to be patient here.. Just my 2 cents …
spencerp
The domain should be http://localhost and the path should be /~myusername/bbpress/ but that shouldn’t stop the database connection.
Do you know if you have PHP’s mysqli extension loaded (as opposed to the normal mysql)? If you do, try copying bb-includes/db.php to bb-includes/db-mysqli.php to overwrite that later file (it seems to be out of date).
Please let me knw if that helps or not.
It’s the space.
Try this plugin:
<?php
/*
Plugin Name: Allow spaces in user names
Plugin URI: https://bbpress.org/forums/topic/99
*/
function wpbb_user_sanitize( $text, $raw, $strict ) {
$username = strip_tags($raw);
// Kill octets
$username = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $username);
$username = preg_replace(‘/&.+?;/’, ”, $username); // Kill entities
// If strict, reduce to ASCII for max portability.
if ( $strict )
$username = preg_replace(‘|[^a-z0-9 _.-@]|i’, ”, $username);
return $username;
}
add_filter( ‘user_sanitize’, ‘wpbb_user_sanitize’, -1, 3);
?>
Jaxia, bbPress cannot use forum and topic names in its urls currently.
This will likely be a feature in future versions.
What do you mean “but it failed”?
I would like to try bbPress, but cannot get past the “Cannot select DB.” error message. What am I doing wrong? Here is what I have done…
1. Downloaded and am successfully running MySQL 5.0.26 server on Mac OS X 10.4.8.
2. Added a database called “testbb” to the mysql server (this is working because I can access this database through the mysql commandline in Terminal and in CocoaMySQL).
3. Turned on php (version 4.4.1) in the httpd.conf file.
4. Turned on the apache webserver running on my computer.
5. Downloaded the bbPress folder and put it in my webserver directory.
6. Changed the config-sample.php file to config.php.
7. Modified the config.php file. I changed the database name to testbb, changed the username to root, added the appropriate password, and changed the URL domain to “http://localhost/~myusername” and the URL path to “/bbpress/” because I did not change the folder’s name. It is still “bbpress”.
When I try to access the install.php file, I type in “http://localhost/~myusername/bbpress/bb-admin/install.php” into my browser. This successfully brings up the following error message: “Cannot select DB.”
What am I doing wrong? Why can’t it access the database, when I can access it through the commandline with the same username and password?
Agreed. Put the fields right there! (this should actually be simple to do with a little template editing) the bbPress dev team might be better to delegate this one…
ear1grey: what you need is already available see:
https://bbpress.org/forums/topic/87?replies=5
I tried this one:
http://www.ozpolitics.info/blog/?p=87
but eventually used this one:
http://www.underjc.com/?page_id=15
You may need to modify your rss2.php and copy it to your my-templates folder.
You can see it in action on my site (link via my username).
Hope that helps.
i’ve also tried activating the plugin for the WP side, didn’t help. here’s the error msg i got…
Fatal error: Call to undefined function: __() in /home/gray/domains/unlimitedinfinity.com/public_html/sandpress/bb-includes/capabilities.php on line 27
none of the above helped with my situation. here’s my predicament:
i’ve got a full running WP. so i install bb in a directory inside WP’s means ROOT/ is WP and ROOT/bbpress is bb. bbpress worked fine when it was in it’s own database too. but when i edited the few lines… at the bottom of bbpress’ config.php, to direct to wordpress’ prefixes and urls (i also edited the top lines to direct to my wordpress database as well).
then it didn’t work… what went wrong>?
here’s a link to the thread i started abt it…
https://bbpress.org/forums/topic/98
first, i setup my bbPress, tested it… worked great! now i went to the config.php and changed the settings to point to my wordpress. my wordpress has in the root directory and mt bbpress was i a folder root/forums/ … for the configuration, i’m sure i did everything right. changed the wordpress prefix from false to wp_ then added in the urls of my wordpress as required. i then removed the // on the next line as the instructions said.
now i loaded the directory with bbpress… i expected to go thru the whole installation thing again but it failed. someone please help?
@ear1grey: Maybe I´ve got the plugin you want to have – some time ago I created a plugin like that for a bbpress+wordpress site which is no more online – I´ll search it on my HD and test it, and if it still works I´ll put it up for download…
larmir,
I had a similar thing happen to me on WordPress. Just about went nuts trying to figure it out, but I finally did. I would think that since bbpress is made by the same folks who did WordPress that you’re experiencing the same thing I did with WordPress. I’m guessing that when you created your database that you didn’t create it in UTF-8 format. If you check the installation documentation, see if it recommends UTF-8. Then, check to see what kind of encoding is on your database. If that is the problem, you can solve the problem fairly easily. Here’s a link to instructions that I wrote for fixing the problem in WordPress:
http://www.minc.info/?p=32
You should be able to do the same thing to fix it with bbpress. *NOTE* I haven’t tried this with bbpress so I can’t guarantee it will work.
Hope that helps,
Ben
someone can help me to edit my config.php?
i edited my self, but it not working…
db host Url: http://db2.awardspace.com
db name: n22_n22
db user: n22_n22
db password: 123456 (im gonna change it later)
web URL: http://n22.awardspace.com
the forums folder URL: http://n22.awardspace.com/bbpress/
email: haiyuezhang@hotmail.com
THANKS A LOT!!!!
Ok, I see there is an importing from phpbb but I’ve got a slightly different issue with vanilla. I like it but love bbpress much more now and would love to bring over my site to it. Is there anyone with any ideas on where to start on this and possibly some help over that. It would be greatly appreciated.