I have kept reading this forums for about a month. I saw many similar processes of solving the same problem.
Not long ago, I asked Sam Bauers a question about bbpulp.org on IRC:
<livibetter> can we (users) expand it? like FAQ, troubleshooting, theme modifications?
<livibetter> there are many questions asked again and again on forums. If we can systematically organize a collection of these, then may be easily to give a solution for their questions.
<sambauers> Yeah, go ahead.
<sambauers> It is a wiki after all 
<sambauers> Although it was focused on being a developers resource.
<livibetter> Thanks! I will post a post for this, and hope many other user will do the same thing.
<sambauers> If you wanted to look at the actual bbPress.org documentation
<sambauers> you are welcome to suggest additions and edits of the pages there
<livibetter> I see
<sambauers> It makes more sense to compile FAQs there for instance
<sambauers> And installation/integration notes
<sambauers> Which will soon need updating anyway
<livibetter> means 0.8.4 coming soon?
<sambauers> Probably not until WordPress 2.4
If we can collect and organize these solutions well, we can be more easier to help. I did a small change on the main page, not really start to write something. I took a while to write those new entries, it’s harder than I can imagine. I can’t make them systematic. And that’s still not good, but collaboration can correct mistakes and build a great stuff.
So, Let’s collaborate!
It is fixed in the latest development version, I believe. There just hasn’t been a release that includes that functionality.
https://bbpress.org/forums/topic/db-access-problem-in-the-first-installation-step?replies=26#post-12711
I remember there is a post about this. Anyway, I made one.
Put this in plugin folder: http://bbpress.pastebin.com/f271761bf , use any filename you like
And this to register-success.php
of template:
<?php
global $STP_password;
if ($STP_password)
echo "<p>Your password is: $STP_password</p>";
?>
Activate plugin and test.
The problem is; I’ve never explicitly told bbPress to connect via a local socket, and since I’m not a Unix expert, I didn’t really comprehend the error message. I now understand a bit more of what it says and that I should instruct bbPress to connect via TCP/IP instead. However, isn’t this something bbPress should have available as an option in the config.php
file somehow? Or even just as an automatic switch it figures out based on whether BBDB_HOST
is set (or is different from localhost
) or not?
Which version of bbPress should I check out / download and apply the patch to? Trunk?
There are some decent programs for legal mass mailing that you can use. For Mac, there’s a great program called MailDrop that will import email addresses from a spreadsheet. The email service, Constant Contact, does the same thing. Just export from PHPMyAdmin and import the info into your bulk mail program.
A plug-in would be easier, that’s for sure!
You can have it now if you use trunk.
At the moment revision [980] is the most stable.
ZIP file is at the bottom of this page:
https://trac.bbpress.org/browser/trunk?rev=980
If you are integrating with WordPress at the moment I don’t recommend using trunk though.
> I suspect bbPress of having hard coded a connection to localhost and thus configuring define(‘BBDB_HOST’, ‘…’) to be something else than localhost doesn’t really matter.
That’s simply not the case.
Yeah, I guess it would work for now, we only have a few forums. But I’m reluctant to put that kind of thing into the templates, where it’s hard to update, and prone to typo problems, etc., if the conditional code gets accidentally mucked up.
Is there any way to add arbitrary meta attributes to things in bbPress, the way you can add them to posts in WordPress?
Check Step 2 of https://codex.wordpress.org/Installing_WordPress#Detailed_Instructions
It’s written for WordPress, but you can use it for installing bbPress.
It doesn’t look like you upgraded the installation properly. But your issue so far has nothing to do with bbPress. All those errors are from WordPress.
That looks to be a pretty common error:
http://www.google.com/search?hl=en&q=Table+*wp_terms+doesn%27t+exist
You could extract all the email addresses from the database with a tool like phpMyAdmin. I don’t know of a plugin that does this. If it’s a onetime thing, I would just grab the email addresses from the database with a query like:
SELECT DISTINCT user_email
FROM bb_users
ORDER BY user_email ASC
With all the email addresses, then just send out a mass email with your email client putting their email addresses in the BCC field.
Are you looking to do this regularly, and are you thinking this should be a plugin? I guess you’d need to know if the installation were integrated or not, then query the correct table, and also if it is an integrated installation, you’d need to separate out the bbPress registrations from the WordPress registrations.
If you want multiple forums, you need to do multiple installations, and each bbPress installation will be in a directory of its own, and the config.php in each individual directory should have a unique table prefix, as Sam suggested, like bb1_, bb2_.
In that case, each forum would be access with a different URL as well.
Maybe your site is at http://www.website.com . A normal bbPress installation would be in something like http://www.website.com/forums/ or http://www.website.com/bbpress/ . To have multiple forums, you would access them like this:
http://www.website.com/forum1/
http://www.website.com/forum2/
http://www.website.com/forum3/
or
http://www.website.com/football/
http://www.website.com/baseball/
http://www.website.com/hockey/
and the associated directories on the server would be
/var/www/htdocs/yourname/football/
/var/www/htdocs/yourname/baseball/
/var/www/htdocs/yourname/hockey/
If you just want multiple forums or subforums in your bbPress installation, you just need to install one time, then set up the forums/subforums within bbPress. You don’t need multiple forum installations.
It needs to be a database that already exists and you need to use that name, then bbPress will create the tables in that database. bbPress will not create the database.
Can anyone help me find a way to send a mass email to all users that have registered to my bbpress forum. Any suggestions to do this easy would be much appreciated.
Thanks
Are you using bbPress 0.8.3?
Here is the source:
<?xml version=”1.0″?><!– generator=”bbPress” –>
<rss version=”2.0″
xmlns:content=”http://purl.org/rss/1.0/modules/content/”
xmlns:dc=”http://purl.org/dc/elements/1.1/”
>
<channel>
<title></title>
<link>
<b>Fatal error</b>: Call to undefined function bb_option() in <b>C:wampwwwwrdp2bbp1rss.php</b> on line <b>12</b>
When using a socket, you need something like this:
https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434
It’s OK to start a new topic as well. All these recent topics dredging up old problems that are sort of close make it hard to solve the latest problem, your problem. A lot of the earlier advice in this thread doesn’t apply to your specific problem.
There is still a set of problems with this. The value of $this->$dbhname
isn’t checked before it’s used in mysql_get_server_info()
on line 75 in db-mysqli.php
. If the connection fails, the error won’t be echoed to the user because the use of @
on the mysql_connect()
call and then the script just continues, assuming the connection went fine, which in my case, it din’t. Also, the call should be to mysql<b>i</b>_connect()
and not mysql_connect()
, as far as I can understand.
The patch doesn’t fix these problems and they need to be fixed for bbPress to work on my host. I’d write these comments on the associated ticket, but there doesn’t seem to be any way to register or comment anonymously there.
I have the same problem and overwriting db-mysqli.php
with db.php
didn’t help. Just for completeness, here’s the error messages I encounter:
Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/<snip>/bbpress/bb-includes/db-mysqli.php on line 73
I suspect bbPress of having hard coded a connection to localhost
and thus configuring define('BBDB_HOST', '...')
to be something else than localhost
doesn’t really matter. I don’t have MySQL and Apache installed on the same physical server, so I have to access MySQL through a hostname and thus localhost
won’t work.
The very latest trunk [988] is a little unstable.
You are better off with [980] the zip download of [980] can be found at the bottom of the following page:
https://trac.bbpress.org/browser/trunk?rev=980