=== MobileOnline Matrimony Pro ===
Contributors: santoshsahu
Stable tag: 2.1.6
Donate link: https://mobileonline.com/donate
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A matrimony plugin for WordPress with custom profiles, membership management, and advanced search with privacy protection.

== Description ==

**MobileOnline Matrimony Pro** is a robust and secure solution for building a community-driven matrimony platform on WordPress, with a strong focus on data integrity, scalability, and user privacy.

MobileOnline Matrimony Pro is free to install and use. There is no payment required to the plugin author. Site owners may optionally use the plugin to collect payments from their own users in order to grant Premium membership, subject to manual admin approval.

== Membership Model ==

The plugin includes two membership levels: Free and Premium.

Premium membership is optional and intended for site owners who choose to offer paid access to additional visibility or contact features on their own websites. Any payments are collected by the site owner and reviewed by an administrator before Premium status is assigned.

The plugin itself does not require a commercial license and does not process payments to the plugin author.

== Key Features ==

* **Custom Profile Management**: A dedicated 'Profile' Custom Post Type with unique ID generation (e.g., MAT-26-1234).
* **Manual Payment Workflow**: Optional manual payment submission by users, managed and approved by the site administrator, with file-based proof and an admin review dashboard.
* **Privacy Protection**: Allows administrators to control the visibility of sensitive contact details (Phone, Email, Address) based on membership level. Restricted content can be blurred for free or guest users.
* **Advanced Search Engine**: Redesigned modern grid layout with horizontal filters, caste-first prominence, and status badges.
* **Hindu Astrology (Guna Milan)**: Lightweight built-in compatibility engine with automated Ashta-Koota score calculation (out of 36) and a detailed breakdown modal.
* **Admin Dashboard**: Custom admin columns with review indicators for membership verification and a dedicated Help & Guide center.

== Installation ==

1. Upload the `mobileonline-matrimony-pro` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Use the following shortcodes on your pages:
   * `[momp_edit_profile]` - For users to manage their profiles.
   * `[momp_membership]` - For membership dashboard and membership status requests.
   * `[momp_search]` - For the search engine.
4. Visit the 'Matrimony Profiles > Help & Guide' menu in your admin dashboard for setup instructions.

== Screenshots ==

1. The Profile Editor form with meta fields and gallery.
2. The Search Engine with horizontal filters.
3. Admin list view showing "Needs Review" badges for membership verification..
4. Blurred contact details for restricted profiles.

== Changelog ==

For a full list of changes, please see `changelog.txt`.

= 2.1.6 =
* **Compliance**: Replaced external QR generation with a local privacy-compliant QR code library (chillerlan/php-qrcode).
* **Compliance**: Removed external service references and broken URLs from readme.
* **Update**: Updated DOMPDF library to version 3.1.5.

= 2.1.5 =
* **Architecture**: Abstracted database queries for homepage statistics into a public helper function (`momp_get_public_stats`) for use by companion themes.
* **Compliance**: Ensuring strict decoupling of functionality and presentation according to WordPress Theme Review Team (TRT) standards.
== Privacy ==

This plugin stores personal data such as name, age, contact details, and profile attributes for the purpose of operating a matrimony platform.

The plugin does not send personal data to external servers. It manages all profile generation and payment QR generation locally.
User data can be exported or erased using WordPress core privacy tools.

== Frequently Asked Questions ==

= How do I create a matrimony profile? =
Use the `[momp_edit_profile]` shortcode on any page to display the profile editor.

= Is the Guna Milan (Astrology) calculation automatic? =
Yes, once Nakshatras are selected, the plugin calculates the 36-point Ashta-Koota score automatically.

= How are payments processed for Premium membership? =
The plugin uses a manual payment workflow. Users upload payment proof, and administrators review and approve the request in the backend.

= Why are my uploaded photos not showing up immediately? =
If "Photo Moderation" is enabled in settings, all new uploads must be approved by an administrator before appearing on your profile.

= Why can't I access the WordPress Admin Dashboard? =
If "Frontend Auth Redirect" is enabled, non-admin users (Subscribers) are automatically redirected to the homepage to keep the backend secure.

= Who can see my contact details (Phone/Email)? =
Contact details are blurred and hidden from the public. Only users with a "Premium" membership can view them.

== Upgrade Notice ==

= 2.1.6 =
Privacy and compliance update focusing on local data processing and resolving plugin review remarks.

= 2.1.5 =
Architectural update that extracts database queries from the companion theme into the core plugin to comply with WordPress.org Theme Review guidelines. Safe to update.
