Put bbPress in Maintenance Mode
If you want to test a new plugin or theme in bbPress, you might want to disable the site for regular users. Add the following code to the end of bb-settings.php:
1 2 3 | if ( ! bb_current_user_can( 'administrate' ) ) { die( '<p>The site is down for maintenance.</p>' ); } |
This modification will only show pages for users who have the “administrate” capability. Make sure that you log in before you upload the new bb-settings.php.

What plugin is used for those code boxes?
Comment by Aki — May 17, 2007 @ 6:20 pm
Aki: WP-Syntax. I highly recommend it.
Comment by Tim — May 20, 2007 @ 3:57 pm