I think you want bb_get_option()
Thanks. i have the same problem!
Now, for something really cool…is there some magic php code that will let us test for whether we’re executing bbpress or wordpress, and make this function call conditional? Like:
if (we’re under the wordpress directory)
else if (we’re under the bbpress directory)
This would be extremely helpful in developing robust modules that are used by both wp and bbpress.