- Introducing Crowdfunded Chapters
- New Crowdfund Lock Type
- Atomic Contribution Processing for High Concurrency Safety
- Automatic Goal Cap Enforcement
- Automatic Public Unlocking
- Integrated Author Reward System
- Full Contribution Audit Trail
- Dedicated Crowdfund Lock Card UI
- Real-Time Progress Updates Without Reloads
- Improved Unlock State Logic
- Init Manga Continues Expanding Advanced Monetization Features
This update transforms chapter unlocking into a collaborative experience, opening the door for stronger community interaction, higher engagement, and more sustainable support for manga authors. Alongside the new crowdfund system, version 2.6.8 also delivers major backend improvements focused on concurrency safety, real-time progress synchronization, contribution auditing, and automatic unlock processing.
Introducing Crowdfunded Chapters
The new Crowdfunded Chapters system allows manga platforms powered by Init Manga to create community-driven unlock campaigns directly inside the reader experience. Readers can contribute coins toward a chapter’s funding goal, and once the target is reached, the chapter is automatically unlocked for all users without requiring additional purchases.

Unlike traditional pay-per-user chapter systems, crowdfunded chapters encourage collaboration between readers while still rewarding manga creators through the existing author reward pipeline.
New Crowdfund Lock Type
Version 2.6.8 adds a dedicated crowdfund lock type to the chapter system, fully integrated alongside existing lock methods such as coin, cash, and vip.
The funding target is stored directly through the existing chapter lock architecture using lock_value, while live fundraising progress is synchronized through dedicated ghost chapter metadata including:
crowdfund_raisedcrowdfund_goalcrowdfund_unlocked
This architecture keeps the system lightweight, scalable, and fully compatible with the existing Init Manga ecosystem.
Atomic Contribution Processing for High Concurrency Safety
To ensure contribution accuracy under heavy traffic, Init Manga v2.6.8 introduces atomic SQL-based increment processing for crowdfund contributions.
Instead of relying on traditional read-modify-write logic, contribution totals are updated directly using raw SQL arithmetic with CAST + UPDATE operations. This prevents race conditions when multiple users contribute simultaneously to the same chapter.
After every contribution, WordPress object cache invalidation is triggered immediately to guarantee accurate real-time progress reads across the platform.
This makes the system highly reliable even during viral traffic spikes or mass contribution events.
Automatic Goal Cap Enforcement
The contribution engine now intelligently prevents overpayment scenarios.
If a chapter only requires a small remaining balance to reach its unlock goal, the system automatically caps the user’s contribution amount to the exact value still needed. Readers are never charged more coins than necessary to unlock the chapter.
This creates a fairer and more transparent funding experience for the community.
Automatic Public Unlocking
Once cumulative contributions meet or exceed the funding goal, the chapter is automatically unlocked for all readers.
The unlock process is protected using transient-based locking logic to prevent duplicate unlock execution under concurrent requests. Importantly, the original crowdfund lock type remains preserved in the database even after unlocking, allowing platforms to maintain contribution history, analytics integrity, and clearer UX context.
Integrated Author Reward System
Crowdfund contributions are fully connected to the existing Init Manga author reward pipeline.
Every successful contribution flows through _init_manga_maybe_reward_author(), allowing manga creators to receive proportional rewards based on the actual amount of coins contributed by readers.
All rewards remain compatible with existing Author Mode settings and Unlock Reward configurations.
Full Contribution Audit Trail
Every contribution is stored individually inside the init_manga_chapter_unlocks table using lock_type = crowdfund.
This creates a complete audit trail for:
- User contribution history
- Future refund support
- Analytics and reporting systems
- Community participation tracking
- Advanced monetization insights
Each row records the exact coin amount contributed during that transaction, ensuring maximum financial transparency and future extensibility.
Dedicated Crowdfund Lock Card UI
Locked crowdfund chapters now display a completely new lock card interface designed specifically for community funding interactions.
The new UI includes:
- Live community progress text
- Real-time progress bar
- Raised and goal coin amounts
- Completion percentage display
- Inline contribution input
- Minimum and maximum contribution enforcement
For guests and unauthenticated visitors, the contribution form is automatically replaced with a login prompt to encourage account registration before participating.
Real-Time Progress Updates Without Reloads
Successful contributions instantly update the funding progress bar, raised amount, and completion percentage directly on the page without requiring a refresh.
The page reloads automatically only when the funding goal is reached and the chapter transitions into the unlocked state, creating a smooth and highly responsive user experience.
Improved Unlock State Logic
Version 2.6.8 also refines how unlock status is determined for crowdfunded chapters.
Instead of relying solely on lock_type, the system now checks dedicated ghost chapter metadata using crowdfund_unlocked. This allows the database to preserve the original crowdfund context while still correctly returning an unlocked state to all readers once the goal has been completed.
Init Manga Continues Expanding Advanced Monetization Features
With Crowdfunded Chapters, Init Manga v2.6.8 pushes manga monetization beyond traditional paywalls and subscription systems. The update creates a new hybrid model that combines reader engagement, community collaboration, and creator support inside a single integrated workflow.
This release continues Init Manga’s focus on building advanced, scalable, and highly interactive manga platform systems directly inside WordPress without relying on external services or plugins.
Comments