53 linhas
3,2 KiB
Markdown
53 linhas
3,2 KiB
Markdown
<p align="center"><img src="assets/logo.png" alt="MozOut" width="280"></p>
|
|
|
|
# MozOut WordPress account plugin
|
|
|
|
<!-- badges:start -->
|
|
[](https://git.mozout.com/mozout-com/wordpress-account-plugin/releases) [](LICENSE)
|
|
<!-- badges:end -->
|
|
|
|
[Português](README-pt.md)
|
|
|
|
<!-- kb:start -->
|
|
Step-by-step guide in our [Knowledgebase](https://www.my.mozout.com/knowledgebase/10140).
|
|
<!-- kb:end -->
|
|
|
|
> API: `https://api.mozout.com`, built in. Create your key in the [API Center](https://www.my.mozout.com/api-center.php) of My MozOut. Documentation: https://docs.mozout.com
|
|
|
|
Your account in the WordPress dashboard. It uses only our public API, with your account key. Works in Portuguese and English.
|
|
|
|
## What it does
|
|
- Overview: credit, unpaid invoices, active services, servers, domains, open tickets and the domains that expire in the next 30 days.
|
|
- Hosting: plans, state, due dates, disk and traffic, and a button that opens the control panel (a link that works once).
|
|
- Servers: state, IP, system, resources, and start, stop or restart.
|
|
- Domains: dates, renewal, nameservers and DNS records; turn auto-renewal and the transfer lock on or off.
|
|
- Invoices: list, PDF download and payment with the account credit.
|
|
- Tickets: read, reply and open new ones.
|
|
- A summary box on the WordPress dashboard.
|
|
|
|
## Install
|
|
1. Download the ZIP of the latest release and upload it in Plugins > Add New > Upload Plugin (or copy the `mozout-account` folder to `wp-content/plugins/`).
|
|
2. Activate the plugin and open MozOut Account (menu of its own).
|
|
3. 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-account/languages` (`.pot`, and `.po` with `.mo` for `pt_PT`, `pt_BR` and `pt_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 `.po` files, `python3 -I tools/build-mo.py` and `python3 -I tools/i18n-check.py`.
|
|
|
|
## The key
|
|
- Create it in the [API Center](https://www.my.mozout.com/api-center.php) of My MozOut, with the read permissions (`hosting:read`, `vps:read`, `domains:read`, `dns:read`, `billing:read`, `support:read`) and, for the actions, `hosting:login`, `vps:write`, `domains:write`, `billing:pay` and `support:write`.
|
|
- 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_ACCOUNT_API_KEY` in `wp-config.php` instead.
|
|
|
|
## Good to know
|
|
- Only administrators see it. Every action asks first when it changes something, and is noted in the activity log.
|
|
- Data is kept for 5 minutes (you choose); "Refresh" reads it again.
|
|
- The action buttons can be turned off for a view without changes.
|
|
- Optional constants in `wp-config.php`: `MOZOUT_ACCOUNT_API_KEY`, `MOZOUT_ACCOUNT_ENCRYPTION_KEY`.
|
|
|
|
Requirements: WordPress 6.0 or newer, PHP 7.4 to 8.5, OpenSSL extension.
|
|
|
|
---
|
|
|
|
Maintained by RLX Holdings.
|