Skip to:
Content
Pages
Categories
Search
Top
Bottom

Maintenance Mode?

  • @citizenkeith

    Participant

    Have I missed something, or is there no Maintenance Mode for bbPress?

Viewing 9 replies - 1 through 9 (of 9 total)
  • @fel64

    Member

    I don’t think you’ve missed anything.

    @trent

    Member

    No Maintenance Mode for bbPress. Could be a pretty simple plugin to write though. Any takers?

    Trent

    @gtim

    Member

    I couldn’t make a plugin for it, but you can restrict users without the “administrate” capability from accessing the site by appending this line to bb-settings.php:

    if ( ! bb_current_user_can( 'administrate' ) ) { die('<p>The site is down for maintenance.</p>'); }

    @citizenkeith

    Participant

    FYI…

    If you are integrated with WordPress, you can use the Maintenance Mode plugin for WP and it will work with bbPress.

    https://wordpress.org/extend/plugins/maintenance-mode/

    @chandersbs

    Member

    I tried the code, it’s not working.

    Anyone?

    @kevinjohngallagher

    Member

    The code is also 1 year old mate, and for a version of BBpress long since given up on since the RC1 was rushed out with no beta testing and very little alpha testing.

    @tsjogren

    Participant

    Hi

    I am about to do some maintenance on my forum and want to leave a message to the members.

    I have searhed the forums and the web without result.

    How can this be done in a easy way. Something like below but for bbpress or a plugin maybe?

    function wpr_maintenance_mode() {

    if ( !current_user_can( ‘edit_themes’ ) || !is_user_logged_in() ) {

    wp_die(‘Maintenance, please come back soon.’);

    }

    }

    add_action(‘get_header’, ‘wpr_maintenance_mode’);

    @bryan_w

    Member

    I agree with FEL64

    @tsjogren

    Participant

    @bryan_w OK… i know there is no built in maint-mode function, but is there a solution? How do you handle this scenario?

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar