Errors like this are far more helpful to Sam when they are entered into TRAC ( http://trac.bbpress.org )
lastest commit issues
Fatal error: Call to undefined function number_format_i18n() in /foo/bar/bbpress/bb-includes/functions.bb-core.php on line 231
see : http://luc.saint-elie.com/bbpress/
Luc
By the way, it’s perfectly possible to create a subdomain mapping to the same single copy of bbPress so a single table is shared within the same copy.
Just takes some additional mod_rewrite rules.
Merging your two separate forums now however would be a boatload of work unfortunately.
Since they share the same db on the same server it’s possible to write a custom mysql query to do the move behind bbPress’s back. This would be necessary because it’s impossible to load the core for both copies of bbPress to move the topic with the two APIs.
If you could use the API, it would be far, far easier of course, but since you are literally deleting the old topic in the 1st table and creating a new one in the 2nd table, it’s “safe”. New topic id is created and other data is not expected to carry over (other than the author id which is identical).
Email me the two different table names and I’ll try to come up with a custom query for you.
The function is tricky in how it works, many WP/bbPress functions now use the generic $args call instead of breaking it down by field.
First it checks if what’s passed to it is a number, if so, the number is treaded as a specific forum id request.
If it’s NOT a number, then it’s checked if it’s not empty, and then if it’s a string and there’s no problem using it in an array. If so, then it’s used as the before
element.
To bypass those situations, you’d have to send it an array
Something like:
$args = array( 'id' => 1, 'before' => ' [ ', 'after' => ' ] ' );
forum_description($args);
Where you could leave out any of those elements inside args if you didn’t want it, like the id
, after
, etc.
You probably need to see a breakdown of queries between bbPress and WordPress to understand what’s going on. There may be a plugin in WordPress that’s causing it to lag for you.
But in general, bbPress 0.9 is faster than WordPress 2.3-2.7
It’s similar in concept WordPress 2.0 before it got bloated with too many “features” that should have been optional plugins.
bbPress 1.0 unfortunately will change that and slow down somewhat because of a radical increase in complexity and a doubling of the number of files needed to load to execute a page. Mysql queries will also increase by at least 50%
1.0 will be easier to cache however so that will probably compensate.
Thanks first for your help.
I had an old version bbpress 0.8. Did not upgrade for a long time, thinking to do it for the beta version release. Now I guess it is a good time to do the upgrade, since holiday season my web traffic is low.
But what should I do to upgrade from bbpress 0.8 to bbPress 1.0-alpha-2 released?
Thanks but the quiries doesnt work. might be because of my theme. anyway, most of the paid server out there are much faster than the virtualhost. all other cms template like phpbb3 and mambo i’ve tried are slower than the previous version of them. i already max out my cache on the server but it’s still slow
. sometime it’s crash after a week or so. dont have budget for the bladeserver though.haha
I have a new bbpress forum integrated with WordPress 2.5.
I have 2 topics and 2 posts so far. However ,when I go into the admin panel and click on Manage and Topics and/or Posts there is nothing listed. It looks fine on the Forums page but nothing under Topics and Posts.
Why is that? How do I fix it?
Thanks!
More queries in WordPress vs. bbPress?
You can add this to your template footer.php (one for WordPress and one for bbPress) files and it will add a comment that is visible in the source with the amount of time taken and how many queries it took to generate the page.
bbPress
<!-- It took <?php bb_timer_stop(1); ?> and <?php echo $bbdb->num_queries; ?> queries -->
WordPress
<!-- It took <?php timer_stop(1); ?> and <?php echo get_num_queries(); ?> queries -->
Maybe you can spot some differences there.
No, I meant what I said. A lot of sites are just WordPress sites, so example.com/ gets you WordPress and example.com/bbpress/ gets you bbPress.
The point was only to show the relationship between the folders though. With this information, you can probably figure out where it all needs to go.
well, one more piece of info – on my site, rating works in IE (with automatic page refresh) and it doesn’t in FF (it used to work, but without automatic page refresh) but also I can’t now login into this bbPress support forum from FF and it doesn’t give any error – weird things going on now
Another thing I’ve just noticed – plugin rating on this site doesn’t work either. It says
Your attempt to do this has failed.
Please try again.
Doh, now the rating itself – bb_rating_dingus() – doesn’t work. I can click on a star, but it doesn’t go into the database 
Another thing I noticed, we’ve got different line numbers so maybe you have a different version from mine?
_CK_: sorry to bother you again, I’m sure you know the answer and I just can’t resist asking. How would the code change if I wanted to list the Forum along the top rated topics?
If you get round taking a look at it I’d be very grateful.
Thanks for this forum integration into WP.
Just what we needed for the blog.
I have one question here….
Why is BBpress much faster than WordPress?
They are freshly installed into a same debian server and wordpress would take a while to load. Most amazingly BBpress just take les than a second to load. Anyone got suggestions?
I know what you’re thinking, that it probably *should* be mentioned either here:
https://bbpress.org/documentation/integration-with-wordpress/
or
https://bbpress.org/download/
but it’s not 
BBpress, great software, also useful for testing your abilities to mind read!
That is why…
2.6x and .9 series won’t integrate or play nice together…
You could either go back to the 2.5 series of WordPress, or move up to the 1.0 beta version of bbPress…
I’ve done some research, and it appears the API route is a no-go: bbPress won’t support API’s until version 1 (and I’m on 0.9).
Anyone have any other possible angles on this one?
Which versions of bbPress and WordPress are you using?
@sc0ttbeardsley, it’s really a bad idea to edit the core files – pluggable.php is specifically designed to have replaceable functions – you can take the function you edited, copy it to a new file and make it a plugin.
Save the plugin with the appropriate header and a filename starting with an underscore and it will load instead of the function in pluggable.php
Then when you upgrade, you won’t have to edit pluggable over and over.
Unfortunately bbpress.org does not have theme browser yet like wordpress.org (which was just recently revamped).
bbpress.org is overdue for a makeover and I suspect they will get to that after 1.0 is released, maybe early next year.
>> This meant once I’d logged in via bbPress, when I was browsing WordPress (although it set the ‘auth’ cookie fine and I could view wp-admin/) it ‘appeared’ that I was logged out (log in and register link, instead of log out and site admin). <<
I’m still having that problem, even after following those directions.
I have my WP site URL as root, but the wp-home is set to /blog (since that’s where the blog folder is).
Cookiepath is set to /forums/
sitecookiepath is set to /blog/
I suppose the overriding feeling i’m getting from this is that, how can we, as a community, who want BBpress to get better and fit the needs of many know where to start if we’re not given any indication.
I’ve searched these forums, I can’t find one single solitary post with with phrase “XML-RPC” in it. There’s not one tag with it in it. So why build it? Well obviously it was a feature requested by someone at Automatic, which is fine, but lets not pretend then that the community has anything to do with this. If it’s a feature the community didn’t want, didn’t need, has 0 support questions over, has discussed 0 times in in forums, etc etc then lets not pretend that the community of developers have any real input.
So i take back my earlier comments about there being no project manager, feature list, or road map. There clearly is all 3 of these, we the community/users/developers apparently just aren’t worth the money to it would cost to post the existing documentation online.
I think, we’re all happy to be the people on the bottom peg of the ladder. The people that are giving up their free time, in the hope that it provides a better product for all of us at the end of the day. But this whole thing just doesn’t sit right with me anymore…