Info
- 10 posts
- 8 voices
- Started 4 years ago by citizenkeith
- Latest reply from t.sjogren
Maintenance Mode?
-
- Posted 4 years ago #
Have I missed something, or is there no Maintenance Mode for bbPress?
-
- Posted 4 years ago #
I don't think you've missed anything.
-
- Posted 4 years ago #
No Maintenance Mode for bbPress. Could be a pretty simple plugin to write though. Any takers?
Trent
-
- Posted 4 years ago #
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>'); } -
- Posted 3 years ago #
FYI...
If you are integrated with WordPress, you can use the Maintenance Mode plugin for WP and it will work with bbPress.
-
- Posted 2 years ago #
I tried the code, it's not working.
Anyone?
-
- Posted 2 years ago #
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.
-
- Posted 8 months ago #
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'); -
- Posted 8 months ago #
I agree with FEL64
-
- Posted 8 months ago #
@bryan_w OK... i know there is no built in maint-mode function, but is there a solution? How do you handle this scenario?
-
You must log in to post.