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.
I am interested to hear what this is. I’ve never heard of a secret between bbPress and WordPress…
What is it that you’re unable to do (other than access phpMyAdmin)?
First: what is the “secret” option set in the WordPress database that bbPress asks for when setting up WP/BB integration in the installer?
Second: Is there some sort of easy way to access the “secret” value? At the moment, I can’t access phpmyadmin, so I’m wondering if there is some WordPress plugin or script that could do this for me?
That’s not the only way you can do this.
You can either use the wordpress header replacement technique, by which you use the wordpress header and any number of theme files, meaning that you can have your forums exactly where your wordpress content is, surrounded by your wordpress header and sidebars and footer, using the wordpress theme file, with a supplemental file to style bbPress differently. This is great because not only the stylesheet is shared but so are a bunch of the HTML-generating files, and your bbPress stylesheet is seperate so it doesn’t get in the way of anything.
You can also just copy your theme by duplicating the look in bbPress. I’d say it was a lot easier to change the CSS than it was to go through all the HTML-generating files and changing those to use the WordPress CSS, and then still adding more CSS.
Having just done both for two different clients, I’d personally recommend the first option; it’s going to be slower on the server, but faster to do (ie. cheaper to have done) also a lot more maintainable and thorough.
leeppp, I offer this sort of thing professionally. If you want me (or even someone else) to do it, just post your email and I’ll get in touch.
Yes you can however it is fiddly as it requires coding! It involves crafting a bbPress theme manually to make use of the same stylesheet and page structure as your WordPress theme. Your theme stylesheet will also need certain rules for bPress.
I found when developing my themes that bbPress will use template files from the default theme if they are non-existent in a theme. This means that you can keep the number of .php template files in the theme to a minimum of 3 php files for a 1 column theme or 5 php files for a 2 column theme (i.e. with sidebar).
If you had someone create your WordPress theme for you, then direct theme to bbpressraw.com since these themes are a bare-bones starting point for creating a new bbPress theme. They save some time in stripping down a bbPress theme to its bare essentials.
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
http://www.wiiplaygames.com/bb/
Theme: Modified Kakumei
Plugins/Misc: Integrated with WordPress
*bushes shoulder*
I think what you’re looking for is bbSync, a WordPress plugin. Check this thread:
https://bbpress.org/forums/topic/bbsync?replies=214#post-7922
Read all the way to the end, or start at the end and work backwards, since a lot has changed since he original post 7 months ago.
Can BBpress and WordPress have integration that allows for:
-Automatic forum postings driven from WordPress posts?
-Comments in WordPress posts powered by BBpress (so that comments left on WordPress posts also show up within the BBpress forum post of that article.
From Sam’s Post on the main bbPress blog:
Due to popular demand we have bundled a bug-fix release for bbPress. 0.8.3.1 (still called “Desmond” I believe) and it is now available for download.
This version is not the latest development release so as to remain as compatible as possible with the current version of WordPress.
The primary reason for the release is to fix some bugs in the MySQLi implementation. We anticipate that MySQLi support will be dropped in the future and to this end we have made MySQL the default extension instead of MySQLi.
A few other fixes and enhancements have also snuck in:
- Deep forum breadcrumbs with thanks to baptiste
- More consistent topic labeling methods – users of the support forum plugin will probably need to upgrade to version 2.3.3
- Some fixes to stop orphaned sub-forums from disappearing from all view
- There is now one of those fancy checkboxes to mark a user as a bozo
A couple of those changes will affect existing themes. If you have questions about adapting your theme to be compatible with the new topic labeling and forum breadcrumb features, then ask over on this forum topic.
If you post your email I’ll get in touch about converting the theme, but have you explored your options of using your wordpress headers? I haven’t done it, but there’s quite a bit of discussion on these forums about it and it should achieve the same effect.
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
Hi, someone knows if (and how…) is it possible to integrate the wonderful Mandigo theme (http://www.onehertz.com/portfolio/wordpress/mandigo) in bbPress? For my site http://www.raccontidiviaggi.com (still working in progress…) I use Mandigo theme, I made the integration using the same database, but now I want to have the same theme also for the forum, which (as you can see here: http://raccontidiviaggi.com/forum-dei-viaggiatori) looks different. The problem is that it is a highly customizable theme, and apparently it’s not so easy as simply copy/paste the header… Someone can help me?
Thank you
Filippo
Hi,
I’m also new to bbpress but I’m using wordpress since a while.
I think that akismet is a good prevention, if you have to much new user registrations made by bots you should protect with
http://recaptcha.net/
and moderate your forum, I wrote this plugin
http://www.finalwebsites.com/bbpress/moderator-notification.php
to get all new posts in my email
I’ve recently enabled the hard cache, to see how it handles on a test forum with only a few users. The first problem I’ve come across has been an error with $bb_cache->get_forums() – the array it was returning when cached was 0, instead of containing the forum ids.
I fixed it by a simple reversal of the sections of code within the get_forums() function in cache.php:
$forums = (array) $bbdb->get_results("SELECT * FROM $bbdb->forums $where ORDER BY forum_order");
if ( $this->use_cache && $normal && $forums )
$this->write_cache(BBPATH . 'bb-cache/bb_forums', $forums);
$_forums = array();
foreach ( $forums as $forum )
$_forums[(int) $forum->forum_id] = $bb_forum_cache[(int) $forum->forum_id] = $forum;
After reversing them (the above are their original positions), I then made sure the write cache line was using $_forums, instead of $forums.
No idea if this may have other consequences I’ve yet to unearth, but I thought it may be worth noting here.
I’ve also used the “load all options” function from wordpress as a basis for creating a global array containing all topicmeta options. By default (even with cache enabled, although maybe I’ve missed a setting), there were several calls to to topicmeta, whereas only one was really required.
The next release will include the changes, but it might not be until WordPress 2.4 comes out, since there were a lot of changes to keep integration working. The bbPress version you install is highly dependent on the WordPress version, if you are looking to integrate the two.
i just had the same issue too. sounds like the nest release (971) will inlude this change?
So how did you fix this problem?
My bbPress and WordPress run on the same server.
WP RSS feeds do not have that problem.
All I get is:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.ajakirigolf.ee/foorum/rss.php
Line Number 2, Column 1:
<?xml version="1.0"?><!-- generator="bbPress" -->
^
I can not parse the forums RSS feed to other pages.
I’m new to bbPress so apologies if this is covered elsewhere and my searching didn’t turn up a previous answer…
Is there any documentation or more complete explanation of what is meant by “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’.”?
sub-domain? did you mean add-on domain?
You just need to move (re-install) all bbPress files up a level. If you installed them into public_html/konpaforum.com/bbpress/
, then mv public_html/konpaforum.com/bbpress/* public_html/konpaforum.com/
If you want to integrate into WordPress, then leave them and install WordPress in public_html/konpaforum.com/
, would be a good idea.
hey guys thanks, like goldfinger said everything is installed in a folder
titled bbpress. I’ve reinstalled in several places, but with no success. I
don’t know if its because im using a sub-domain not sure. Anyways I will
keep trying, I’m also going to try to install wordpress first. thanks again.
No. Unlike '/bbpressfolder/'
(I presume), 'wordpressuser'
and 'wordpresspass'
are not placeholders for your actual value: they are the literal values you will have there. Check your wordpress cookie; those are what they use. A part of the structure is:
wordpressuser_site-unique hash=your username
wordpresspass_site-unique hash=hash of your password
With his settings, bb should now be using that too.
Don’t grab trunk in an attempt to fix this problem, as that uses phpass password hashing which would break your user tables for wordpress. It may work with wordpress trunk, but, you know, with two trunk releases you may have problems. Be careful.