=== Hannan Shakib LMS Student Teacher Portal for Elementor ===
Contributors: hannanshakib
Requires Plugins: elementor
Author URI: https://www.hannanshakib.com
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A secure, role-based LMS portal for managing students, teachers, and intellectual property via Elementor.

== Description ==

Hannan Shakib LMS Student Teacher Portal for Elementor is an advanced, fully-featured management tool creating a robust separation between "Students" and "Teachers", allowing for controlled distribution of Class Materials, Notices, and secure document viewing.

Designed exclusively for Elementor, it provides a seamless front-end tabbed dashboard with extensive styling options.

= Features & Options =
*   **Elementor Integration:** Includes the "HS Dynamic Student Dashboard" widget with complete styling controls (Typography, Colors, Backgrounds, Borders, Hover Effects).
*   **Role-Based Access Control:** Separate registration and login workflows for Students and Teachers.
*   **Admin Approval System:** All new registrations are held in a "Pending Approval" state until an administrator approves them from the WordPress backend.
*   **Secure Document Vault (PDF.js):** Class materials open in a secure, custom-built modal viewer. Downloading, right-clicking, and printing (Ctrl+P) are strictly disabled to protect intellectual property.
*   **Teacher Backend Isolation:** Teachers have restricted access to the WordPress admin. They can only see and manage their own uploaded media and materials.
*   **Notice Board:** Publicly downloadable notices and general announcements.
*   **Dynamic Read Receipts:** Unread notices and materials are flagged with "New" badges on the student's dashboard.
*   **Profile Management:** Students and teachers can view their profile details and change their account passwords directly from the front-end dashboard.

== Installation ==

1. Upload the plugin files to your `/wp-content/plugins/hannan-shakib-lms-student-teacher-portal-elementor` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Ensure Elementor is installed and activated.
4. Create or edit a page with Elementor.
5. Drag the "HS Dynamic Student Dashboard" widget onto the canvas.
6. Configure the styling options in the Elementor panel.

== Frequently Asked Questions ==

= Does this plugin require Elementor? =
Yes, Elementor is strictly required to use the frontend dashboard widget.

= How do I approve a user's registration? =
Once a user registers, check the "Students" or "Teachers" tab in your WordPress admin. Look for the red "Pending Approval" tag and click the "Approve" button to grant them access.

= Are the Class Materials secure? =
Yes. The plugin uses advanced Canvas rendering via PDF.js to prevent unauthorized downloading, text selection, and printing.

= How do I assign materials to specific students? =
When creating a new "Notice & Material" post, you can use the multi-select search box to assign the material exclusively to specific approved students.

== Changelog ==

= 1.0.1 =
* Fixed Text Domain to match plugin slug for translation compatibility.
* Removed unnecessary core file inclusion during admin_init flow.
* Updated 3rd party libraries constraint logic.
* Enhanced readme documentation to meet repository requirements.

= 1.0.0 =
* Initial release.