bbPress has a fledgling xml exporter. We had a discussion on IRC#bbpress recently about creating an importer of the same format.
This would be great for migrations and backups, and if we wrote some code for other forum software to export to this same format, we would have greater ability to cross-grade.
No, from the PHP docu glob only returns false when it encounters an error. No files found makes it return an empty array. (I don’t have any underscored files and it works for me, too.)
But I agree with you, those folders should be in there by default. What plugins could be included that could be interesting to everyone? Avatars?
I’ve seen two or three seemingly unrelated problems pop up related to something like this:
if ( is_callable( 'glob' ) )
foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )
require($_plugin);
Seems like if there are no underscore plugins, this fails. I don’t follow the code exactly, but further up in that file, it defines BBPLUGINDIR if it’s not already defined as (basically) my-plugins/. But this line just says “if glob is callable, then go through the directory for all underscore plugins”. What happens if there are no plugins there? This would return false, maybe, instead of an array?
And, is there a good reason NOT to include a blank directory for my-templates and my-plugins? At least then people would know where to put stuff. I mean, what IS the reason? WordPress comes with wp-content/themes/ and wp-content/plugins/ directories, and by default, two themes and two plugins. That eliminates the possibility of something missing. Of course, people could delete those, but right off the bat, they wouldn’t and things would just work when they started out.
At the very least, I think this should be fixed to have a conditional looking for underscore plugins before looping through them (i.e. if there are none, you can’t loop through them.)
Maybe someone with a better read on it can explain to me exactly what’s happening.
It doesn’t do much of anything to add define('COOKIE_DOMAIN', '.llamaslayers.net'); or define('COOKIE_DOMAIN', 'llamaslayers.net'); to the config.php file.
Edit: It works to remove the values of $bb->wp_home and $bb->wp_siteurl
For some reason bbPress seems to think your theme is in root. I’d ask you to set the theme again, but, you know, what with not being able to log in …
so first of all, please add define('COOKIE_DOMAIN', '.llamaslayers.com'); to your config.php. Hopefully that’ll let you log in.
It’s just $bb->uri that I have to update, right?
I had wordpress installed, i removed WP and uploaded BBPRESS to the same directory, put in my mySQL info, and it worked. I havent changed any setting,
but, i have actaully changed this already to fix another problem:
Your error *sounds* like this one:
https://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173
Site Management section under admin.
Warning: Invalid argument supplied for foreach() in
domainsrcct.bizwwwrootcrookedhook.netforumbb-adminplugins.php on line 7
I have installed the online list plugin, and the print password to screen plugin. Could it be one of theses? If i check the forum, all the blugs are working properly.
I think it could just be my very raw install of bbPRESS, maybe I just have to change a few settings.
I’m running the latest version of BBPRESS
Any help is most appreciated
That fixed that one particular problem, but im still having the same problem with
There is no additional space nor new line in front of the <?xml version="1.0"?> line in rss2.php
This file is identical to the default (kakumei) theme rss2.php file
I deleted the “old” and replaced it with the one from kakumei folder.
And yes, I did upgrade to a newer version. 
—-
Update:
It’s fine now. 
We had this _blah.php file in my-plugins dir that had just a typed space in it. I deleted it and now the rss feed is fine.
Thanks for all your help
I deleted the space from file and it’s fine now.
hum such a good news some one finnaly wants to do what i want
nice.
btw, was it hard for you setting up pretty permalinks?
Hey everyone I get this ERROR, when I try to open the Site Management section under admin.
Warning: Invalid argument supplied for foreach() in
domainsrcct.bizwwwrootcrookedhook.netforumbb-adminplugins.php on line 7
I had a similar one after I upgraded, but I found a post with some code…after I put the new code in, everything worked.
Any PHPers out their that can help?
Cheers
thanks! i hope i can make this work
The dutch bbpress forum on wordpress is not very active 
Providing complete translations for a software in this stadium is very difficult…Prutser (cool nick name) you are on the way to become the most important contributor for the dutch translations
I mentioned the DP (Digital Point) forum
Hi Filippo,
I don’t think that someone will convert a theme for free, check the DP forums, there are a lot of good WP theme coder (some of them could be able to do this job for ~50usd)
deactivating the AI plugin is the solution here…
Hi just tried this code but therer is “is_forum_category()” function in my install (ver 0.83).
Is this a new one for the next version?
Thanks for pointing me on this, I will check the code from this plugin.
btw. is there some plugin to use bb code instead of html elements?
Using latest trunk code, but bb_head works fine in combo with add_action here.
bb_head appears to be a filter.
Hmmm still not working. Something’s strange because even this doesn’t show:
<?php
/*
Plugin Name: test stuff
*/
add_action('bb_head', 'my_add_test_tag');
function my_add_test_tag() {
echo '<!-- testing here -->';
}
?>
I’ve tried activating/deactivating these plugins, and I’ve tried 2 browsers to ensure it’s not cache I’m seeing. Grr.
is_forum() doesn’t take any arguments, so I believe you’d have to use the global var $forum, like so:
<?php
/*
Plugin Name: noindex stuff
*/
add_action('bb_head', 'my_add_noindex_tag');
function my_add_noindex_tag() {
global $forum;
if($forum->forum_id == 3) {
echo '<meta name="robots" content="noindex" />';
}
else {
echo '<!-- please do index -->';
}
}
?>
<?php
/*
Plugin Name: noindex stuff
*/
add_action('bb_head', 'my_add_noindex_tag');
function my_add_noindex_tag() {
if( is_forum(3) ) {
echo '<meta name="robots" content="noindex" />';
}
else {
echo '<!-- please do index -->';
}
}
?>
I modified it a bit to see both conditions… but neither are showing up in my source. Any thoughts?
I did see it in the plugins control panel, and activate it.
What forum categories?
You want a plugin like this:
<?php
/*
Plugin Name: noindex stuff
*/
add_action('bb_head', 'my_add_noindex_tag');
function my_add_noindex_tag() {
if( is_forum_category() )
echo '<meta name="robots" content="noindex" />';
}
?>
That’s off the top of my head, so it may not work without some modification, but that’s what I think the structure needs to be. You’ll need a different conditional tag than is_forum_category(), probably is_forum() if you just wanted to not index forum pages.