=== RS ARC Manager - Advance Review Copy Management System ===
Contributors: rswpthemes
Donate link: https://rswpthemes.com/rs-arc-manager/
Tags: arc, book marketing, book reviews, advance reader copies
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 8.1
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automate ARC distribution, manage reviewer teams, track review compliance, and securely protect your books with this WordPress plugin.

== Description ==

**[🚀 Upgrade to Pro](https://rswpthemes.com/rs-arc-manager/) | [📚 Documentation](https://rswpthemes.com/documentation/rs-arc-manager-installation-general-settings/)**

RS ARC Manager is a powerful WordPress plugin designed for authors, publishers, and book marketers to streamline the distribution and management of advance review copies (ARCs). The plugin automates the entire process from application to review submission, making it easy to manage reviewer teams and track compliance.


= Key Features =

* **Campaign Management**: Create and manage multiple ARC campaigns with custom post types
* **Secure File Delivery**: Protected downloads with unique tokens and watermarking support
* **Reputation System**: Track reviewer performance with automated reputation scoring
* **Application System**: Allow reviewers to apply for campaigns with social media verification
* **Review Tracking**: Monitor review submissions across multiple platforms (Amazon, Goodreads, etc.)
* **Embargo System**: Prevent reviews before launch date
* **Automated Reminders**: Email reminders for review deadlines (Pro feature)
* **Dashboard**: Frontend dashboard for reviewers to manage their ARCs
* **CSV Export**: Export applicant data for analysis (Pro feature)
* **Manual Reviewer Management**: Add reviewers manually to campaigns (Pro feature)

= Free Version Includes =

* Campaign creation and management
* Secure file downloads (PDF, EPUB, MOBI)
* Basic application system with Goodreads verification
* Review submission tracking
* Reputation score calculation
* Frontend reviewer dashboard
* Welcome email notifications
* Amazon and Goodreads retail links

= Pro Version Features =

Upgrade to Pro for advanced features including:
* Multi-stage email automation (4 reminder stages)
* Advanced retail links (Kobo, Apple Books, Google Play, Barnes & Noble, etc.)
* Additional social media fields (Facebook, Twitter, Instagram, etc.)
* Manual reviewer addition
* CSV export functionality

= How It Works =

1. **Create Campaigns**: Set up ARC campaigns with book details, files, and deadlines
2. **Reviewer Applications**: Reviewers apply through the frontend with their Goodreads profile
3. **Approval Process**: Approve or reject applicants based on reputation scores
4. **Secure Downloads**: Approved reviewers receive unique download links
5. **Review Tracking**: Reviewers submit their review URLs which are tracked automatically
6. **Compliance Monitoring**: Monitor review submission rates and deadline compliance

= Reputation System =

The plugin calculates reviewer reputation based on review submission rate:
* **Super Fan**: 90-100% submission rate
* **Reliable Reviewer**: 70-89% submission rate
* **Good Reviewer**: 50-69% submission rate
* **Average Reviewer**: 30-49% submission rate
* **Bad User**: 1-29% submission rate
* **New User**: 0% (no reviews yet)

= Security Features =

* Unique download tokens for each user
* User permission verification
* Nonce protection on all forms
* Input sanitization and validation
* Direct file access prevention
* Watermarking support for PDF files

= Developer Friendly =

The plugin includes extensive action hooks and filters for customization:
* `rs_arc_user_approved` - Fired when user is approved
* `rs_arc_review_submitted` - Fired when review is submitted
* `rs_arc_reminder_sent` - Fired when reminder email is sent
* `rs_arc_deadline_missed` - Fired when deadline is missed
* `rs_arc_file_downloaded` - Fired when file is downloaded

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Navigate to Plugins > Add New
3. Search for "RS ARC Manager"
4. Click "Install Now" and then "Activate"

= Manual Installation =

1. Download the plugin zip file
2. Extract the files to `/wp-content/plugins/rs-arc-manager/`
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Database tables will be created automatically on activation

= After Installation =

1. Go to **ARC Campaigns > Settings** to configure email templates
2. Create your first campaign at **ARC Campaigns > Add New**
3. Add the `[rs_arc_dashboard]` shortcode to a page for reviewers
4. Start accepting applications!

== Frequently Asked Questions ==

= Do I need coding knowledge to use this plugin? =

No, the plugin is designed to be user-friendly and requires no coding knowledge. All features are accessible through the WordPress admin interface.

= Can I customize the email templates? =

Yes, you can customize welcome emails and reminder templates in the Settings page. Pro version includes advanced automation with 4 customizable reminder stages.

= What file formats are supported? =

The plugin supports PDF, EPUB, and MOBI file formats for book distribution.

= How does the reputation system work? =

The reputation score is calculated as: (Total Reviews Submitted / Total Books Downloaded) × 100. This helps you identify reliable reviewers.

= Can reviewers apply without a Goodreads account? =

Goodreads is required in the free version. Pro version allows additional social media verification options.

= Is there a limit on the number of campaigns? =

No, you can create unlimited campaigns with the plugin.

= Can I export applicant data? =

CSV export is available in the Pro version, allowing you to export all applicant data for analysis.

= Does the plugin work with page builders? =

Yes, the plugin uses standard WordPress shortcodes that work with any page builder or theme.

== Screenshots ==

1. Campaign creation interface
2. Applicants management page with reputation scores
3. Reviewer dashboard frontend
4. Settings page with email templates
5. Campaign list view
6. Review submission interface

== Changelog ==

= 1.0.0 =
* Initial release
* Campaign management system
* Secure file downloads
* Reputation scoring
* Application system
* Review tracking
* Frontend dashboard
* Embargo system
* Basic email notifications

== 1.0.1 ==
* Fixed issue with Pro badge display
* Fixed issue with CSV export button display
* Fixed issue with social media field display
* Basic email notifications

= 1.0.2 =
* Security: Added strict nonce verification for secure file download requests to prevent unauthorized access[cite: 733, 734].
* Security: Implemented early data sanitization (`sanitize_text_field`, `wp_unslash`, etc.) for all `$_POST`, `$_GET`, and `$_REQUEST` inputs[cite: 733].
* Security: Applied late escaping (`esc_html`, `esc_attr`, `wp_kses_post`, `esc_html_e`, etc.) to all output variables, options, and translation strings to prevent XSS vulnerabilities.
* Security: Stopped processing the entire `$_POST` stack directly; the plugin now only processes specific required fields.
* Changed: Updated generic JavaScript object names (e.g., renamed to `rs_arc_manager_admin_vars` and `rs_arc_manager_public_vars`) to avoid conflicts with other plugins or themes[cite: 261, 809].
* Fixed: Removed non-compliant trialware/license checking functions and replaced them with standard class existence checks (`class_exists`) for premium features to fully comply with WordPress.org guidelines[cite: 832].
* Tweak: Overall code optimization and formatting improvements for better performance and stability.


= 1.0.3 =

* Security Fix: Added missing nonce validations across all form submissions, AJAX handlers, and input calls to prevent CSRF vulnerabilities.
* Security Fix: Implemented strict user capability (current_user_can) and user ID verification for the secure file downloading process to prevent unauthorized access.
* Security Fix: Applied late escaping (esc_html, esc_url, esc_attr, wp_kses_post, etc.) to all echoed variables, options, and generated data to strictly prevent XSS vulnerabilities.
* Compliance Update: Completely removed all trialware, license checks, and locked "Pro" features from the free version codebase to fully comply with WordPress.org Plugin Directory guidelines.
* Update: Cleaned up the settings and campaign dashboard by removing premium-only fields, up-sell banners, and restricted UI elements.

== Development ==

The plugin is actively maintained and regularly updated. For feature requests, bug reports, or contributions, please visit the plugin website.

== Credits ==

Developed by RS WP Themes for authors, publishers, and book marketers worldwide.

