=== JAY Login & Register === Contributors: jayarsiech Tags: login, register, otp, iPPanel, digits Requires at least: 5.5 Tested up to: 6.8 Stable tag: 2.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Secure login and registration with a mobile number (OTP). Compatible with the Digits plugin and the iPanel SMS gateway for WordPress. == Description == JAY Login & Register is a complete solution for WordPress sites that want to simplify and secure their user login and registration process. With this plugin, users can easily register or log in to your site using only their mobile number and a one-time password (OTP). **Key Features:** * **Smart Login & Registration:** The system automatically detects whether a user is new (and directs them to the registration form) or an existing user (and directs them to the login form). * **Digits Compatibility:** Your old users who registered with the Digits plugin will be recognized by our system and can log in. * **IP Panel Integration:** The plugin is exclusively compatible with the new and old web services of the iPanel.com SMS panel. * **Content Protection:** Easily restrict your pages and posts to be visible only to logged-in users with a single click. * **Role-Based Access Control:** Limit access to protected content to specific user roles (e.g., only special subscribers). * **WP-Admin Access Control:** Easily restrict access to the WordPress dashboard (`/wp-admin`). From the settings page, you can select which user roles are permitted to enter the admin area, enhancing security for sites with various user types. Administrators always retain access. * **National ID & Passport Validation:** Users' national IDs or passport numbers are collected and validated during login or registration, and users are notified if the ID is a duplicate. * **Change User's Mobile Number:** Allows logged-in users to change their mobile number. * **Hide wp-login.php:** Hides the default login page and redirects users to the custom login/registration page. * **User Switching:** Allows administrators to switch into a user's account for testing or support. * **Smart Redirect:** After login/registration, users are redirected back to the page they were on, providing a seamless user experience. * **Custom Landing Page:** You can specify a particular page as the final destination for a user after logging in from the main login page. * **Beautiful & Customizable Form:** The login form has a modern look with a customizable logo available through the settings panel. * **Lightweight, Secure, and Standard-Compliant:** All code is written based on the latest WordPress security standards. == External Services == This plugin uses the iPanel.com SMS gateway to send one-time passwords (OTP) for user login and registration. To function correctly, it sends the user's mobile number to the iPanel API upon their request for an OTP. * **Service Provider:** iPanel (ippanel.com) * **Data Sent:** User's mobile number. * **When Data is Sent:** When a user requests an OTP for login, registration, or changing their phone number. * **iPanel Terms of Service:** https://ippanel.com/terms-and-conditions/ * **iPanel Privacy Policy:** https://ippanel.com/privacy-policy/ == Installation == 1. پوشه `jay_login_register` را در مسیر `/wp-content/plugins/` آپلود کنید. 2. افزونه را از طریق منوی 'افزونه‌ها' در وردپرس فعال کنید. 3. به منوی 'jay_login_register' در پیشخوان رفته و تنظیمات لازم (API Key، کد پترن و ...) را وارد کنید. 4. شورت‌کد `[jay_login_register_change_phone]` را در برگه‌ای که می‌خواهید فرم ورود نمایش داده شود، قرار دهید. 5. برای محافظت از محتوا، در صفحه ویرایش برگه یا نوشته، از «باکس تنظیمات دسترسی jay_login_register» استفاده کنید. == Frequently Asked Questions == = آیا این افزونه با پنل‌های پیامکی دیگر کار می‌کند؟ = خیر، در حال حاضر این افزونه به صورت اختصاصی برای پنل iPPanel.com بهینه‌سازی شده است. = آیا می‌توانم طول کد تایید را تغییر دهم؟ = بله، از طریق صفحه تنظیمات افزونه می‌توانید طول کد تایید را بین ۴ تا ۸ رقم انتخاب کنید. == Changelog == = 2.1.0 = * انتشار اولیه افزونه.