Krevil User Registration & Login
A lightweight, developer-friendly plugin to create a dynamic registration form (with custom fields) and optional auto‑login—via a simple shortcode.
Install in
Simple User Registration & Login lets you build a flexible registration form from a table of custom fields and render it anywhere using a shortcode. It supports text, textarea, select, checkboxes, radio, number, date, email, URL, tel, and file upload types—plus basic validation, required flags, and user‑meta storage.
Highlights
– Shortcode‑based form: [krevil_register]
– Custom fields managed in wp‑admin (type, required, options, validation)
– Stores values in user meta on successful registration
– Optional auto‑login after registration
– Admin email notification and user “pending approval” email
– Translatable strings (krevil-user-registration-login text domain)
– Nonces and capability checks for security
– Clean, extensible code structure
Features
- Dynamic fields: Configure label, slug, type, validation, required.
- Multiple input types: text, email, url, tel, number, date, textarea, select, checkboxes, radio, file.
- Validation: email/url/number/date/tel patterns; required checkbox groups enforced client‑side.
- Email templates: Admin/user messages customizable from the settings.
- Auto‑login: Toggle in settings.
- Redirect after registration: Optional URL from settings.
- Security: Nonces, sanitization, capability checks.
Usage
- Place
[krevil_register]in a page or post. - Configure custom fields in Settings » Simple user registration and login.
- For select/radio/checkboxes options, use:
- Select:
value1 : Label One | value2 : Label Two - Checkboxes/Radio:
Label One | Label Two | Label Three
- Select:
Written by Joobi from the project's own listing. See the source page
1.0.1
- Fix: Admin approval is now enforced. Pending users can no longer log in, and auto-login is skipped while approval is required.
- New: “Require admin approval” setting, an Account status field on the user profile, an Account status column on the Users list, and an optional “account approved” email.
- New: “Allow registration” setting to turn front-end registration on or off.
- Fix: The field slug input no longer strips underscores while typing. Slugs are also sanitized on the server.
- Security: Values inserted into HTML emails ({first_name}, {last_name}, {user_login}, {user_email}, {site_name}) are now escaped.
- Security: File uploads are restricted to an allowed-types list (default: pdf, jpg, jpeg, png, doc, docx) and a maximum size (default: 2 MB), configurable per field. Rejected files show a clear error and no user account is left behind.
- Security: Server-side minimum password length (8 characters).
- Improvement: Specific registration error messages (e.g. “Passwords do not match”, “Invalid email address”).
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)