johnhiler: It should work with 0.9. It won’t work with some rare strange (perhaps, Windows-based) PHP configurations with 0.9 and earlier that have empty PHP_SELF variable.
Has anyone had a chance to this with bbPress v 0.9?
I count the number of blogs and the number of the posts using two queries. All posts from all the other blogs are copied to blog_id 1. So i do like so
$count_posts = wp_count_posts();
echo $count_posts->publish;
and
$stats = get_sitestats();
$tmp_blog_count = number_format ($stats[ 'blogs' ] );
print "".$tmp_blog_count." blogs";
Can bbpress grab those ?
Thanks! Commited and tagged.
You might want to take a stab at validating the page:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwrvna.org%2Fforum%2Ftopic.php%3Fid%3D9
It looks like there’s an unclosed div (plus a couple other minor problems that are not affecting this.) Maybe fixing that will help?
What is a “blog and post counter”?
If it’s a plugin, it might be easier to just adapt it to bbPress rather than load WPMU into the bbPress config, if that’s the only function you need.
Hm, turns out I still have trouble accessing admin panel in bbpress. Straange, I tested it with login via both bbpress and wp the last time, however now, it doesn’t seem to work. 
Regarding the setup, i followed Deadpan’s setup down to the very last line, except that i kept the hash in
$bb->logged_in_cookie = ‘wordpress_logged_in_ikeptthishashin’;
@Jon: Curious. There is a difference between my setup and yours.
I have bbPress in a separate db but share the wp user tables…you?
dchest don’t worry about the double submission, mdawaffe will figure it out when he gets a chance to check the requests (he does it about once a week)
You don’t have to post the whole readme in there. In fact anything you put there is only seen by mdawaffe and then it gets replaced automatically when you upload a readme.txt file.
update: well that was fast, he just added you to the svn
This is something I’ve wanted for the forum I admin. I’ll be trying this out. Thanks.
Hello everybody – I’m having a formatting issue with bbpress and IE7. You can see an example of what my problem is here –
http://wrvna.org/forum/topic.php?id=9
In FF, naturally, everything works fine, but IE7 puts the username and status underneath/inside/within the topic post. I’m using a stripped down (even further) version of the 1col_fixed
theme.
I’ve searched the forum here and can’t find anyone else with this problem. My fear is that it’s a IE7 CSS problem….
Thanks.
I wrote a plugin to add reCAPTCHA to user registration page. (It’s inspired by _ck_’s Human Test.)
I’ve submitted request to add it to the plugin repository, however 1) the submission form didn’t have any feedback, so I ended up with two identical requests, 2) I didn’t realize you have to put the whole readme.txt to description field of this form. Could someone fix this, and write at least a few sentences describing the submission process?
Anyway, you can download it from http://www.codingrobots.com/files/bb-recaptcha.zip
IMPORTANT: You must get an API key from the reCAPTCHA project to use it. See readme.txt.
Tested under 1.0-alpha1, may not work with previous versions on some PHP deployments.
See how it works here: http://forum.codingrobots.com/register.php
Comments and code review are welcome!
@jonkristian and klarko:
Are you using bbPress 1.0.2a?
Jon, are you using WP2.6x? I see that klarko is using wpmu.
Almost finished!
http://forums.cariblogger.com
I think everything works right with the integration. Was too scared to load the whole wpmu into bbpress so I modified a theme to look like my MU home theme.
One thing I have to figure out is how to get that blog and post counter I use on MU to show in bbpress. Is there any other way other than loading mu into the config file?
can anyone help?
after the script runs, isn’t there an sql file that’s supposed to be generated from the old board & saved into a /tmp/ folder?
I like this idea. Would it be possible to force bbPress login/logout through WordPress too? That way all “membership” functions would be treated consistently.
-1 The script starts with <?php and finishes with ?>
0 Change lines 1 and 2 with you user, host, password and database name
1 Save to file filename.php
2 Upload to your forum directory
3 Start it. For example – open http://example.com/bbpress/filename.php
You could easily turn this into a more standardized script by starting the code with require('./bb-load.php'); to load the bbPress code and check user authorization, and then if (!bb_current_user_can(administrate)) {exit;}
The mysql_query( would become $bbdb->query( and you’d have to do a global $bbdb; once at the top too. Just for completeness you might want to look at some of the functions in bb-do-counts.php in bb-admin.
Actually it would be fairly easy to turn it into a full blown plugin for the admin menu.
Thank you very much, Deadpan.
I’m integrated with cookies now ..but
When I click the Admin link in bbpress it just reloads the page. It doesn’t take me to the admin area.
Edit: Seems to be happening both ways. If i log into WPMU first and go the bbpress, the admin link just reloads the page. If login to bbpress first, the admin link works but I’m forced to login again if I try to access wp-admin
It might be possible to create the MediaWiki cookie from the bbPress side and visa versa.
From the mediawiki side, you could do something as simple as
require('./bb-load.php');
wp_set_auth_cookie( (int) $user_id,0 );
Which will create the bbPress cookie. Where $user_id is the user’s bbPress id. Since you are using the same user table, it should be available?
Thaks,
I’ll try this way for next time, in the meantime I ended using PhpMyAdmin to delete post and tipic with status=1
I hope this fucntionality will make its way in the core because it can become a real problem.
I had a problematic user, I first deleted all his messages (deleted, but not really deleted as BBPress don’t really delete) then I deleted his account.
A few hours later he recreated his accoun and suddently all supposedly deleted messages appeared with “anonymous” has author…. very strange.
Using phpMyAdmin the problem is gone 
How to use your script ?
Thanks again
The bbPress I’m using is on 0.83… upgrading to 0.9.0.2 on a test server, and then testing the integration with WordPress and Mediawiki.
Once everything is looking good, we’ll migrate the live site to use bbPress 0.9.0.2. Then I’ll install this plugin – excited!
Yah Mediawiki is tricky stuff. The worst part is that the cookies don’t truly integrate! I used a plugin to get both software reading off of the same bbPress users table… so that works. But you have to re-sign in manually as you click from the blog/boards to the wiki… alas.
Will keep you posted on the plugin!!
ok update as ive been messing with thing maybe too much.
if i include the wp-blog-header.php to use WP functions i am never recognized as logged in on BB side even though using the bb form gets me logged in on wp side. everything redirects me to the forum homepage when trying to go to admin or profile. weird.
with the include not there I can login and be shown logged in on bbpress side, but i cannot logout! omg it doesnt end. maybe its because i have had 5 hours of sleep the past two nights but any help on this would rock!