=== SMBM – Business Manager for Snow Monkey Forms ===
Contributors: nobuchi1970
Tags: form entries, form submissions, affiliate management, csv export, snow monkey forms
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 0.7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Store and manage Snow Monkey Forms submissions, referrals, attachments, notes, statuses, and exports in WordPress.

== Description ==

SMBM adds business management features to sites that use the Snow Monkey Forms plugin.

Submitted form data remains in your WordPress database. Administrators can review applications, search and filter entries, update statuses and internal notes, and export records as CSV or XLSX.

Main features:

* Store submissions and submitted field values.
* View application lists and details.
* Search and filter saved applications.
* Manage application statuses and internal notes.
* Export application data as CSV or XLSX.
* Save and preview submitted attachments.
* Register and manage referrers.
* Capture referral codes from `?ref=` URLs.
* Associate referrals with submitted applications.
* Control whether editor-role users can access individual operations.
* Provide generic persistence and lifecycle extension points for separately installed SMBM add-ons.

SMBM does not modify Snow Monkey Forms itself.

= Required plugin =

SMBM requires the free Snow Monkey Forms plugin to be installed and active.

= Privacy =

SMBM stores form submission data, field values, internal notes, referral information, supported attachments, and internal add-on metadata in the site's WordPress database or Media Library. The site owner is responsible for deciding what data to collect, establishing an appropriate retention period, and publishing a privacy policy suitable for the site.

The Core plugin does not transmit saved submission data to an external service.

= Optional add-ons =

Google Sheets and webhook integrations are separate plugins and are not bundled with this WordPress.org package. Installing an add-on may introduce external-service communication described by that add-on.

This plugin is developed independently by Laguz and is not affiliated with or endorsed by the Snow Monkey Forms developer.

== Installation ==

1. Install and activate Snow Monkey Forms.
2. Install and activate SMBM.
3. Open the SMBM menu in the WordPress administration screen.
4. Review SMBM Settings before allowing editor-role users to access operations.
5. Create or use a Snow Monkey Forms form. New submissions are stored automatically.

Requirements:

* WordPress 6.8 or later.
* PHP 8.1 or later.
* Snow Monkey Forms.

== Frequently Asked Questions ==

= Does SMBM replace Snow Monkey Forms? =

No. Snow Monkey Forms remains the form creation and submission system. SMBM stores and manages data after submission.

= Where is submission data stored? =

Submission data is stored in dedicated tables in the site's WordPress database. Supported attachments may also be registered in the WordPress Media Library.

= What is Application metadata? =

Application metadata is internal add-on state linked to an existing saved application. It is not a second customer or booking ledger and is not included in normal submitted-field exports.

= Does the Core plugin send submission data outside WordPress? =

No. The Core plugin does not transmit saved submission data to an external service.

= Can editors use SMBM? =

Administrators can optionally allow editor-role users to access SMBM and can enable or disable individual operations.

= Are Google Sheets and webhook features included? =

No. They are separate optional add-ons and are not bundled with this package.

= What happens to existing SMBM data when updating to 0.7.0? =

The update preserves existing applications, submitted fields, referrals, attachments, notes, statuses, and settings. It adds a generic internal metadata table for separately installed add-ons.

== Screenshots ==

1. SMBM dashboard and application overview.
2. Application list with search and status filters.
3. Application detail with submitted fields, attachments, status, and internal notes.
4. Referrer management screen.
5. SMBM permission settings.

== Changelog ==

= 0.7.0 =

* Added generic Application metadata storage linked to existing applications.
* Added idempotent submission acceptance using a verified source submission key.
* Added generic application accepted and failed extension actions for add-ons.
* Added safe exclusion of internal technical submission fields.
* Kept normal applications, fields, lists, details, and exports as the primary business data flow.

= 0.6.2 =

* Prepared SMBM Core for distribution through the WordPress.org Plugin Directory.
* Replaced the private GitHub update channel with the standard WordPress.org update mechanism.
* Added the WordPress.org readme and GPL license file.
* Kept database schema 0.8.0 and existing stored data unchanged.

= 0.6.1 =

* Corrected authorization checks for status, internal note, deletion, CSV, and XLSX operations.
* Removed direct download links to obsolete add-on packages.

== Upgrade Notice ==

= 0.7.0 =

Adds generic add-on integration storage and lifecycle hooks while preserving existing SMBM application data and operations.

= 0.6.2 =

Updates the Core plugin to use the standard WordPress.org update mechanism. Existing SMBM data and database schema are unchanged.
