3,1 KiB
3,1 KiB

MozOut WordPress status plugin
API:
https://api.mozout.com, built in. Create your key in the API Center of My MozOut. Documentation: https://docs.mozout.com
WordPress plugin that shows the live status of your services. It uses only our public API, with your account key. Works in Portuguese and English.
What it does
- A status box for any page, as a block or shortcode: the API, and the hosting, servers and domains you choose.
- You give each item the name visitors see. IP addresses and other details stay hidden.
- It refreshes by itself (every 60 seconds by default) and pauses while the tab is hidden.
- A general line on top: everything working, something needs attention, or a problem.
- Domains close to expiry show as a warning.
- An optional link to the status page of the brand and a box on the WordPress dashboard.
Shortcodes
Each shortcode also has a block in the editor, with the same options.
[mozout_service_status]: Live status of the API, hosting, servers and domains chosen in the settings. Options:title,show,refresh(default60).
Install
- Download the ZIP of the latest release and upload it in Plugins > Add New > Upload Plugin (or copy the
mozout-statusfolder towp-content/plugins/). - Activate the plugin and open Settings > MozOut Status.
- Paste the API key and save. The key is checked with the API right away.
Languages
- The code is in English. Translations are gettext files in
mozout-status/languages(.pot, and.powith.moforpt_PT,pt_BRandpt_AO). - "Same as WordPress" follows the WordPress language; "Português" or "English" fixes the plugin language.
- After changing texts:
python3 -I tools/i18n-check.py --pot, translate in the.pofiles,python3 -I tools/build-mo.pyandpython3 -I tools/i18n-check.py.
The key
- Create it in the API Center of My MozOut, with
hosting:read,vps:readanddomains:read(only the ones for what you show). - When you save it, the plugin asks the API about it: a wrong, revoked or expired key is not saved, and missing permissions or a Sandbox key are said right away.
- It is stored encrypted (AES-256-GCM, with the WordPress security keys) and never shown again. You can define
MOZOUT_STATUS_API_KEYinwp-config.phpinstead.
Good to know
- The state is read once per refresh time, with one call per type, whatever the number of visitors.
- The API line uses
GET /v1/ping, which works without a key. - Optional constants in
wp-config.php:MOZOUT_STATUS_API_KEY,MOZOUT_STATUS_ENCRYPTION_KEY.
Requirements: WordPress 6.0 or newer, PHP 7.4 to 8.5, OpenSSL extension.
Maintained by RLX Holdings.