Search Results for 'code'
-
Search Results
If you define('WP_BB', true);, you still have to call the WordPress script yourself.
put require_once('../wp-config.php'); (or whatever the right path is) in bbPress’ config.php.
klasen,
Users with spaces:
You way be able to get away with creating a plugin that overrides bb_check_login and bb_set_current_user with your own functions of the same name. If not, you’ll probablp have to edit the user_sanitize function. That function should probably be made pluggable.
I’ll try to get more details about this soon.
Fatal Error:
I assume you are talking about defining the constant WP_BB. All this does is tell bbPress not to load certain functions. It does not include the wp-config file for you (haw would it know where to look?). You need to do that yourself. I’d suggest require_once('../wp-config.php'); (or where ever it is) in bbPress’ config.php file.
mod_rewrite:
bbPress can generate a sample .htaccess file for you if you log in and browse to bb-admin/rewrite-rules.php. Copy the output and save it into your .htaccess file. Alternatively, you might be able to forgo the rewrite rules and instead set Options +MultiViews
Nice!
Awesome! Now, I’ll start working on making awesome themes for bbpress..
spencerp
So awesome to finally see this up.