Re: Group forum subscription
These lines will fix the problem I was having in the bbPress trigger plugin:
$con = mysql_connect("localhost",constant("BBDB_USER"),constant("BBDB_PASSWORD"));
mysql_select_db(constant("BBDB_NAME"), $con) or die(mysql_error());
This will work for all bbPress installs; no more assumptions
To be safe, you could probably switch out “localhost” for constant(“BBDB_HOST”).