=== Organic Addone by WPcodequill ===
Contributors: wpcodequill
Donate link: https://wpcodequill.com/
Tags: safelink, organic safelink, redirect plugin, google index plugin, timer button, adlinkfly, WordPress redirect
Requires at least: 6.9
Tested up to: 6.5.3
Requires PHP: 8.2
Stable tag: 2.6.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A powerful safelink add-on plugin for creating Google-indexed redirection links, link timers, AdLinkFly integration, and license protection.

== Description ==

**Organic Addone by WPcodequill** is a WordPress plugin designed to extend safelink redirection functionality through Google-indexed links. It enables:

- Multi-step link redirection
- Header/footer injections based on timer step
- Organic redirects to random WordPress posts
- AdLinkFly compatibility
- License activation and verification
- Auto unzip of core files into `/public_html/`
- Auto-cleanup of `/activate` and `/includes` on deactivation

🎯 Ideal for bloggers, affiliate marketers, and download websites who want to protect outbound links while benefiting from organic SEO.

Based on the code we have written (specifically the API calls and JSON handling), here are the specific PHP Extensions your server must have enabled.
Add this list to your readme.txt or documentation under "Requirements":
Required PHP Extensions:
    cURL
        Why: Required for the License Check System. The plugin uses curl_init() to securely connect to admin.wpcodequill.com to validate the purchase code.
        Without this, the license activation will fail.

JSON
    Why: Required to parse the response from the licensing server (json_decode) and to send data back to the activation page (json_encode).
    Without this, the activation page will show a blank error.

MySQLi
    Why: Standard WordPress requirement for database connections. Used by $wpdb to save your settings and license status.

== Features ==

- ✅ Auto Update Plugin
- ✅ 2-, 4step redirection flow
- ✅ Google-index-safe target pages
- ✅ Countdown timer before redirection
- ✅ Ad injection support (4 positions)
- ✅ License activation and enforcement
- ✅ Auto ZIP extract on activation
- ✅ Auto file cleanup on deactivation
- ✅  Add Multiple Domain Connection

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/organic-addone-by-wpcodequill/`
2. Activate the plugin through the "Plugins" menu
3. After activation:
   - `_public_html.zip` will be extracted to `/public_html/`
4. Go to **Settings → Organic Addone** to configure timers and links
5. Visit the **License tab** to activate your license key

== Screenshots ==

1. Plugin settings panel
2. License activation screen
3. Organic redirection example with timer
4. Header/footer injection templates

== Frequently Asked Questions ==

= Do I need a license to use this plugin? =
Yes. You must activate the plugin with a valid license key issued from [WPCodeQuill.com](https://wpcodequill.com).

= What happens if the license expires? =
Plugin features will be disabled, and you’ll be redirected to the license input screen.

= Can I customise the timer values? =
Yes. You can set `Step 1` and `Step 2` timer durations from the plugin settings.

== License ==

This plugin is licensed under the GNU General Public License v2.0 or later.
You must not remove license verification logic or re-distribute licensed ZIPs without permission.

== Credits ==

- Plugin Author: [WPcodequill](https://wpcodequill.com)
- Developed for the Organic SafeLink System

== Changelog ==

2.6.0 – 2026-03-14 (Update)

*Improve: Improve Ui Style and Code Security.
*Fix: some bugs...

2.5.0 – 2025-12-21 (Major Update)

* Added: License System Integration – Added a complete activation system. Users are now redirected to a "Glassmorphism" styled activation page if no valid license is found in the database.
* Added: Auto-Redirect Logic – If a license is already active, the activation page auto-redirects to the home page to prevent accidental lockouts.
* Added: Admin Interface Overhaul – Completely redesigned the Admin Settings page with a modern Card Layout, gradients, and better input organization.
* Added: "Nuclear" Cookie Cleanup – Implemented aggressive cookie deletion on the Final Step (Step 4) to fix "Zombie Cookies" that caused infinite redirect loops on subdomains.
* Added: Visual Upgrades:
        Added "Blue Gradient" and "Green Pulse" animations to Timer Buttons.
        Added smooth "Progress Bar" animation to the Safe Page (safe.php).
        Added "Loading Spinner" states to all interaction buttons (Verify, Continue, Activate).

    ENHANCEMENT: 2-Page vs 4-Page Switcher – You can now toggle between 2-Page mode (Faster) and 4-Page mode (Higher Revenue) directly from the settings.
* Fixed: "Dead Button" Patch – Added a JavaScript cloneNode fix to the footer script. This removes conflicting event listeners from other themes/plugins that were breaking the "Get Link" button.
* Fixed: Admin Notice Visibility – Fixed the issue where the "Settings Saved" success message text was white/invisible.
* Fixed: Timer Sync – Fixed Step 1 cookies expiring too early by adding a max-age refresh on every step click.

= 2.4 – 2025-09-22 =
* Added: Fix Organic Direct Link Redirecct
* Fixed: Redirection Problems
* Fixed: More....

= 2.3 – 2025-07-13 =
* Added: Multiple Domain Connection
* Fixed: Redirection Problems
* Fixed: More....

= 2.2 – 2025-07-08 =
* Improved: redirect page adjustment
* Fixed: License Auto Reset
* Fixed: More....

= 2.1 – 2025-07-06 =
* Improved: redirect page adjustment
* Added: Plugin Automatic Update on Dashboard
* Improved CSS styling and resolved ad display issues

= 2.0 – 2025-06-30 =
* Fixed: option for 4-page redirect to 2-page redirect adjustment
* Fixed: Ad problems
* Enhanced license enforcement logic
* Improved CSS styling and resolved ad display issues
* Security enhancements and general cleanup

= 1.9 – 2025-06-26 =
* Added Auto Detect Adblocker with Enable and Disable
* Added 4 Page Redirect To 2 Page Adjustment
* Improved license enforcement
* Improved CSS and Ads Issus
* Security cleanup

= 1.8 – 2025-06-17 =
* Added auto file cleanup of `/activate` and `/includes` on deactivation
* Improved license enforcement
* Added license info display
* Security cleanup

= 1.7 – 2025-06-10 =
* Initial plugin release
* Auto ZIP extract and 2-page safelink logic
* Step-wise header/footer template system
* Built-in license activation system

== Upgrade Notice ==

= 1.1 =
Recommended for all users. Adds auto file cleanup and license display UI.

