Version 1.0.0 · WordPress 6.0+ · PHP 7.4+ · GPL-2.0-or-later
Unzip the package. You get two folders and this documentation:
mintpaid-profile/ the free plugin
mintpaid-profile-pro/ the optional Pro add-on
documentation.html this file
CHANGELOG.md what changed in each release
tests/ the automated test suite
mintpaid-profile folder into /wp-content/plugins/, or use Plugins → Add New → Upload Plugin and pick the free plugin ZIP.sodium extension for licence verification — it ships with PHP 7.2+ and is enabled by default on every mainstream host.
The Pro add-on is a separate plugin that requires the free plugin to be active. If the free plugin is missing, the Pro add-on deactivates itself and tells you so.
mintpaid-profile first.mintpaid-profile-pro to /wp-content/plugins/ and activate it.The trial unlocks every Pro feature for 30 days. Its start time is stored in three separate places — an option, a transient and a dedicated table — so deleting and reinstalling the plugin does not reset it. The site owner can start it from the License screen.
Licence keys are Ed25519 signatures: payload.signature. They are verified entirely offline against the public key that ships inside the plugin. No request leaves your server to validate a key.
To activate: paste the key into MintPaidProfile → License and save it. The screen shows which features the key covers.
If you issued your own keys, define the public key in wp-config.php:
define( 'MINTPAID_LICENSE_PUBLIC_KEY', 'your-base64-public-key' );
A constant always wins over the value stored in the database, and the database value wins over the key embedded in the plugin.
The Pro add-on can report to a licence server so that a revoked key stops working immediately. This is off by default — nothing is sent anywhere until you turn it on. To point it at your own server, define:
define( 'MINTPAID_PRO_LICENSE_SERVER_URL', 'https://licence.example.com' );
The client follows a documented nine-case contract:
| Server answer | What the client does |
|---|---|
200, valid: true, no action required | Normal operation, any earlier notice is cleared. |
200, valid: true, action_required | Shows a warning banner. Features are not disabled. |
200, valid: false, heartbeat_stale | First time: a warning. Second time in a row: read-only. |
200, valid: false, status revoked / suspended / deleted / expired | Disables the Pro features and shows the server's message verbatim. |
404 | The key is not known to the server. Reports "no longer recognised" — never a generic licence error. |
422 | The key is forged. Stops immediately, no retry. |
5xx or a network failure | Backs off, keeps the last known state, disables nothing. |
MintPaidProfile → Settings holds everything that is not a screen of its own:
| Screen | What it does |
|---|---|
| Dashboard | Licence state, trial state, a short activity summary. |
| Avatar | Maximum upload size, the allowed file types, the crop size and the default avatar. |
| Email Templates | The eight transactional templates, with variables and a WYSIWYG editor. |
| Custom Fields | Create and edit the extra fields on a member profile. |
| Shortcode Builder | Every shortcode with its arguments and a copy button. |
| License | Activate a licence, start the trial, see the feature list. |
| Audit Log | Every security-relevant action, filterable, with the IP and the user agent. |
| System Info | The environment: PHP, the extensions, the limits and the plugin version. |
| Social Login Pro | The Google, Facebook and X credentials, and the callback URL for each provider. |
| Membership Pro | The Stripe keys, the currency and the plan manager. |
| Approvals Pro | The queue of registrations waiting for approval. |
| Email Log Pro | Every message the plugin sent, with resend. |
| Form Builder Pro | The front-end form builder. |
Thirty-eight shortcodes are available. The most used ones:
| Shortcode | What it renders |
|---|---|
[mintpaid-login] | The sign-in form. |
[mintpaid-registration] | The registration form. |
[mintpaid-password-reset] | The "forgot my password" form. |
[mintpaid-edit-profile] | The edit-profile form for the signed-in member. |
[mintpaid-melange] | Login and registration on one form. |
[mintpaid-myaccount] | The tabbed My Account area. |
[mintpaid-profile] | The public profile card of one member. |
[mintpaid-user-directory] | The searchable member directory. |
[mintpaid-avatar] | The avatar of a member. |
[mintpaid-avatar-upload] | The avatar upload control. |
[mintpaid-cover-image] | The cover image of a member. |
[mintpaid-cover-upload] | The cover image upload control. |
The Shortcode Builder screen lists every one of them with its arguments.
Add fields under Custom Fields. Fifteen types are available: text, email, tel, textarea, select, checkbox, radio, date, file, URL, number, biographical, website, display name and nickname.
Mark a field public and it appears on the public profile card and in the member directory. Every field is sanitised on save and escaped on output.
Eight templates ship with the plugin: registration, registration confirmation, login, password reset, password changed, profile updated, account deleted and admin approval. Each one carries the variables the plugin substitutes, and every one can be rewritten in the admin.
reCAPTCHA v2 and v3 are configured on the Settings screen and can be enabled per form. Cloudflare Turnstile and Akismet are configured on the same screen. When a provider does not answer, the fail mode decides: deny by default, which is the safe choice — a site owner can flip it to allow while testing on staging.
Five routes under /wp-json/mintpaid/v1/:
POST /register
POST /login
POST /avatar
POST /profile
POST /password/reset
Every route is rate limited, sends the same audit records as the forms and answers with the same validation messages.
Register an application with Google, Facebook or X, then paste the credentials into Social Login. The screen shows the exact callback URL to paste into the provider. The buttons appear wherever you place [mintpaid-social-buttons].
Enter your Stripe keys under Membership, then create the plans. Each plan has a name, a price, a billing period, a WordPress role, a level and a feature list. [mintpaid-plans] renders the plan table.
A member turns it on under Profile → Two-Factor Authentication. The setup key and eight recovery codes are shown once, at that moment — save them. At the next sign-in the login form asks for the six-digit code from the authenticator app, or one of the recovery codes.
Restrict a page, a block or a shortcode to the roles and capabilities you choose.
A front-end profile page with a cover image, the avatar and the activity tabs.
Network activation creates the custom tables on every site of the network, and deactivation cleans up on every site. The Pro add-on can push its settings from the main site to the rest of the network.
The package ships with an automated test suite. It needs nothing but PHP — no WordPress install, no database and no network.
cd tests
php test-heartbeat.php # the licence heartbeat: 64 assertions
php test-integration.php # the trial, the forms and the redirect rules: 21 assertions
Both scripts print a summary and exit with a non-zero status when an assertion fails.
| Symptom | Cause and fix |
|---|---|
| The Pro features stay locked | Open License. Either the key is not activated, or the trial has run out, or the licence does not cover that feature. The screen lists the features the key carries. |
| "The licence key is not valid" | The key is malformed, expired, or signed with a different key. If you use your own keys, define MINTPAID_LICENSE_PUBLIC_KEY. |
| A member cannot sign in after turning on two-factor authentication | Use one of the eight recovery codes shown when the feature was switched on. Each code works once. |
| The avatar does not change | A caching plugin or a CDN is serving the old file. Purge the cache, and check that the uploads directory is writable. |
| Nothing appears where a shortcode is | Open Shortcode Builder for the exact name — the names are not guessed, they are listed there. |
| The registration form is not shown | Registration can be switched off, and administrators can be asked to approve each new member. Both are on the Settings screen. |