=== Synaplan AI Support Chat ===
Contributors: synaplan, synaplan_metadist, metadist
Tags: ai, chat, chatbot, support, customer-service
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.3
Stable tag: 1.0.10
License: Apache-2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0

Integrate Synaplan AI support chat widget into your WordPress site. Provide instant AI-powered customer support with knowledge base integration.

== Description ==

**Synaplan AI Support Chat** transforms your WordPress website with intelligent AI-powered customer support. This plugin provides a seamless wizard-based setup that creates a fully functional AI chat assistant in minutes.

= Key Features =

* **Easy Setup Wizard** - Step-by-step configuration process
* **AI-Powered Chat** - Intelligent responses using advanced AI models
* **Knowledge Base Integration** - Upload documents (PDF, DOCX) to enhance AI knowledge
* **Customizable Widget** - Adjust colors, position, and behavior to match your brand
* **Mobile Optimized** - Responsive design for all devices
* **Secure** - WordPress site verification and encrypted communication
* **No Email Confirmation** - Instant activation for WordPress users
* **File Search** - AI can search uploaded documents to answer questions

= How It Works =

1. **Install & Activate** the plugin
2. **Run the Setup Wizard** - Enter your email and create a password
3. **Configure Widget** - Choose colors, position, and welcome message
4. **Upload Documents** (Optional) - Add PDFs or DOCX files for AI to reference
5. **Done!** - Your AI chat widget is now live on your site

= Perfect For =

* **Customer Support** - Answer common questions automatically
* **Sales Assistance** - Help visitors find products and information
* **Knowledge Base** - Provide instant access to documentation
* **Technical Support** - Guide users through troubleshooting
* **Lead Generation** - Engage visitors and collect inquiries

= Advanced Features =

* **Full Dashboard Access** - Manage everything at app.synaplan.com
* **API Key Management** - Click-to-reveal secure API key in WordPress admin
* **File Manager** - Organize and manage your knowledge base documents
* **Prompt Customization** - Define AI behavior and personality
* **Multiple Languages** - Support for 12+ languages
* **Analytics** - Track conversations and performance

== Installation ==

= Automatic Installation =

1. Go to **Plugins** → **Add New** in your WordPress admin
2. Search for "Synaplan AI Support Chat"
3. Click **Install Now** and then **Activate**
4. Follow the setup wizard

= Manual Installation =

1. Download the plugin ZIP file
2. Go to **Plugins** → **Add New** → **Upload Plugin**
3. Choose the downloaded ZIP file and click **Install Now**
4. Click **Activate Plugin**
5. Follow the setup wizard

= After Activation =

1. Navigate to **Synaplan AI Support Chat** in your WordPress admin menu
2. Complete the 4-step setup wizard:
   * **Step 1:** Create your account (email & password)
   * **Step 2:** Configure widget appearance and behavior
   * **Step 3:** Upload knowledge base files (optional)
   * **Step 4:** Review and complete
3. Your chat widget is now active on all pages!

== Frequently Asked Questions ==

= Do I need a Synaplan account? =

The setup wizard automatically creates your Synaplan account during installation. No separate registration needed!

= Is email confirmation required? =

No! WordPress plugin users are instantly activated without email confirmation.

= How do I customize the AI responses? =

You can customize AI behavior at [app.synaplan.com](https://app.synaplan.com/index.php/prompts) using the Prompts Manager.

= Can I upload more documents later? =

Yes! Visit the [File Manager](https://app.synaplan.com/index.php/filemanager) to add more documents anytime.

= Where is my API key? =

Your API key is displayed in the WordPress admin dashboard. Click "Show API Key" to reveal it.

= Is my data secure? =

Yes! All data is encrypted and transmitted over HTTPS. Your conversations and documents are private and secure.

= What file formats are supported? =

PDF and DOCX files are supported for the knowledge base.

= Can I customize the widget appearance? =

Yes! You can customize colors, position, welcome message, and more from the Settings page.

= Does it work on mobile devices? =

Yes! The widget is fully responsive and optimized for all devices including smartphones and tablets.

= Can I use this on multiple sites? =

Yes! Each WordPress site gets its own configuration and can use the same or different Synaplan accounts.

== Screenshots ==

1. Synaplan AI Support Chat widget in action, 6 languages supported!

== Changelog ==

= 1.0.10 =
* **Contributors Update**: Added all WordPress.org usernames to contributors list
* **Version Consistency**: Updated version numbers across all files
* **Enqueue Compliance**: Converted inline scripts to wp_add_inline_script() for proper WordPress standards
* No functional changes - plugin works identically

= 1.0.6 =
* **WordPress.org Compliance**: Final review compliance updates
* **Contributors List**: Updated to WordPress.org username format
* **Code Quality**: Enhanced sanitization and escaping throughout
* **Enqueue Standards**: All scripts and styles properly enqueued using WordPress standards
* **HTTP API**: Using WordPress HTTP API instead of cURL
* **Security**: Improved input validation and output escaping
* No functional changes - plugin works identically

= 1.0.5 =
* **Metadata Corrections**: Updated author attribution to metadist GmbH
* **URL Corrections**: Fixed GitHub repository URLs to metadist organization
* **Documentation Links**: Updated to correct documentation URLs
* No functional changes - plugin works identically

= 1.0.4 =
* **PHP Compatibility**: Now supports PHP 7.3, 7.4, and 8.x
* **Graceful Degradation**: Added runtime PHP version check with clear error messages
* **Broader Compatibility**: Enables installation on more hosting environments
* Improved version detection and plugin activation handling

= 1.0.3 =
* Complete wizard flow with site verification
* Automatic user creation with instant activation
* API key generation and management
* Knowledge base file upload and vectorization
* Prompt configuration with file search
* Widget configuration saved to database
* Click-to-reveal API key in dashboard
* Full WordPress.org compliance
* Security improvements and proper escaping
* Plugin renamed to "Synaplan AI Support Chat"

= 1.0.2 =
* Initial wizard implementation
* Basic widget integration
* API authentication

= 1.0.1 =
* Bug fixes and improvements
* Better error handling

= 1.0.0 =
* Initial release
* Basic chat widget functionality

== Upgrade Notice ==

= 1.0.10 =
Maintenance update: Contributors list, version consistency, and WordPress enqueue standards compliance. No functional changes - all settings preserved.

= 1.0.6 =
WordPress.org compliance update: Improved code quality and security. No functional changes - all settings preserved.

= 1.0.5 =
Metadata update: Corrected author attribution and documentation links. No functional changes - all settings preserved.

= 1.0.4 =
Compatibility update: Now supports PHP 7.3+ in addition to PHP 8.x. No breaking changes - all settings preserved.

= 1.0.3 =
Major update with complete wizard flow, instant activation, and WordPress.org compliance. All existing settings are preserved.

== Additional Information ==

= Requirements =

* WordPress 5.0 or higher
* PHP 7.3 or higher (compatible with PHP 7.3, 7.4, 8.0, 8.1, 8.2, 8.3+)
* HTTPS enabled (recommended)

= Support =

* **Email:** support@synaplan.com
* **Website:** [https://www.synaplan.com](https://www.synaplan.com)
* **Dashboard:** [https://app.synaplan.com](https://app.synaplan.com)

= Privacy =

This plugin connects to Synaplan's external API (app.synaplan.com) to provide AI chat functionality. When you use this plugin:

* User conversations are sent to Synaplan servers for AI processing
* Uploaded documents are stored and processed on Synaplan servers
* WordPress site verification tokens are exchanged during setup
* No personal data is collected without user consent
* View our privacy policy at [https://www.synaplan.com/privacy](https://www.synaplan.com/privacy)

= Credits =

Developed by [metadist GmbH](https://www.metadist.de) for [Synaplan](https://www.synaplan.com) - AI-powered business solutions.
