Support » Plugin: BulletProof Security » [Plugin: BulletProof Security] Customizing maintenance mode file

  • Resolved Katie


    I know that I’m supposed to modify bp-maintenance.php to customize the file displayed while in maintenance mode. However, I don’t like to touch any original files as updating can become a nightmare.

    Is there anything I can add to functions.php to use my own file or some other option? I’m specifically looking to remove the div ID website_domain_name and the $_SERVER[‘REMOTE_ADDR’]. And to style the messages.


Viewing 1 replies (of 1 total)
  • Plugin Author AITpro


    You could change the file that is loaded instead of the bp-maintenance.php file, but this would make something very simple, then very complicated. I added all the basic coding to that file so that it could be customized very quickly and easily. It contains inline CSS and is a self contained file / template with its own <html> and <head> tags.

    I will never be changing the bp-maintenance.php file in any future version updates of BPS or changing the coding in BPS to use another file or handle this file any differently so as long as you have a copy of your customized bp-maintenance.php file downloaded to your computer then when you upgrade BPS you can just upload your customized bp-maintenance.php file and overwrite the default bp-maintenance.php file that comes with BPS.

    I think using the existing bp-maintenance.php file is the simplest way to go without having to do any additional coding modifications to BPS. And the bp-maintenance.php file is designed to work as a stand alone file / template. In other words a drag and drop file. Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: BulletProof Security] Customizing maintenance mode file’ is closed to new replies.