MyBrain Utilities

Description

This plugin is a collection of various utilities, used by My Brain for different websites.
We released this to the WordPress Plugin repository as we think it is also useful to others.

HTAccess_Keeper

Checks, backs up and restores your .htaccess and wp-config.php files.
Makes a backup when files are modified and restores when a 0 bytes file has been detected. An e-mail will be sent to the Administration Email Address, whenever a damaged file has been restored.
Originally developed because some plugins keep (re)writing to these two files and sometimes leave them damaged as empty file. That broke the complete website, but /index.php was still being executed, allowing this plugin to restore the damaged file.

Keep_me_logged_in

Stay logged in longer. WordPress will keep you logged in for 48 hours. If you’ve clicked the “Remember Me” checkbox at login, you get remembered for 14 days.
This option keeps your login active longer than the standard WordPress Login Cookie time-out. You may need to login again after you change the time-out value.

Console_Warning

This plugin adds a warning in the browser console log to any visitor, to only continue if they understand the code and trust the source.
Disable this option at your own risk.

Openstreetmap/Leaflet Shortcode

Adds a simple OpenStreetMap/Leaflet Shortcode to be used in your content/contact-page.
Inludes a standard marker and optional information popup.

Copyright

Copyright (C) 1999-2025 My Brain

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.

MyBrain Utilities uses the following third-party resources:

WordPress plugin boilerplate generator, WPPB by Enrique Chavez
License: GPLv2
Source: https://wppb.me/

OpenStreetMap, by the OpenStreetMap Foundation (OSMF)
License: Open Data Commons Open Database License (ODbL)
Source: https://www.openstreetmap.org

Leaflet, created by Volodymyr Agafonkin
License: MIT, BSD 2 clause
Source: https://leafletjs.com/

Screenshots

  • MyBrain Utilities About Information.
  • MyBrain Utilities HTAccess Keeper Settings.
  • MyBrain Utilities Keep My Login Settings.
  • MyBrain Utilities Maps Settings.
  • Sample Shortcode and Popup-information on Page-Edit screen.
  • Sample Openstreetmap/Leaflet Map on the website.
  • Browser Console Warning.

Installation

USING WORDPRESS PLUGIN INSTALLER

  1. Go to your WordPress Dashboard, ‘Plugins > Add New’.
  2. Search for ‘MyBrain Utilities’.
  3. Click ‘Install’ and then ‘Activate’.
  4. Navigate to your WordPress dashboard, ‘Settings > MyBrain Utilities’ and configure as needed.
  5. Done!

MANUAL INSTALLATION

  1. Download the ‘mybrain-utilities’ zip file.
  2. Extract the content and copy to the /wp-content/plugins/ directory of your WordPress installation.
  3. Navigate to your WordPress dashboard, ‘Plugins > Installed Plugins’.
  4. Find the ‘MyBrain Utilities’ plugin and activate.
  5. Navigate to your WordPress dashboard, ‘Settings > MyBrain Utilities’ and configure as needed.
  6. Done!

FAQ

Can I change the alert e-mail address

No, alerts are only e-mailed to the Administrator address as defined in your WordPress dashboard, ‘Settings > General’.

Where can I report problems or bugs?

You can report problems on this support forum.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“MyBrain Utilities” is open source software. The following people have contributed to this plugin.

Contributors

“MyBrain Utilities” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “MyBrain Utilities” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.5 – 7 April 2025

  • Enhancement: Added browser console warning

1.0.4 – 26 March 2025

  • Improvement for is_plugin_active(‘htaccess-keeper.php’)

1.0.3 – 30 January 2025

  • Improvements for WordPress Plugin Review

1.0.2 – 5 December 2024

  • Initial release

1.0.1

  • Merged the HTAccess_Keeper plugin into the MyBrain Utilities Plugin

1.0.0

  • Improved keep_me_logged_in_for_1_year
  • Added OpenStreetMap/Leaflet Map