Loading...
 
Skip to main content

History: PluginCoil

Source of version: 5 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} {BOX()} https://coil.com/ is shutting down, but this is an open standard, so we'll adapt to use other vendors {BOX}

# Plugin Coil

Use this ((wiki plugin)) introduced in ((Tiki23)), to monetize specific contents with the [Web-monetization|Web Monetization] feature.

## Parameters

{pluginmanager plugin="coil"}

## Examples

### Content monetization

These examples show how PluginCoil works to monetize specific contents.

#### To use the **Default paywall text** and **Default payment pointer**, configurable in *Settings > Features* :

{CODE(colors="tiki")}
{COIL()}
The content you're viewing with exclusive access. 
Thank you for your contribution.
{COIL}
{CODE}

#### To use with a **Custom paywall text** using {ELSE}

{CODE(colors="tiki")}
{COIL()}
The content you're viewing with exclusive access. 
Thank you for your contribution.
{ELSE}
__::This content is exclusive!::__
__::To view this content you need to use the Coil extension.::__
{COIL}
{CODE}

### User content monetization

These examples show how users can monetize their content using PluginCoil.

#### To use the **User paywall text** and **User payment pointer**, configurable by each user in *User Information > Preferences > Web Monetization* :

{CODE(colors="tiki")}
{COIL(user="admin")}
The content you're viewing with exclusive access. 
Thank you for your contribution.
{COIL}
{CODE}

#### To use with a **Custom paywall text** using {ELSE} and **User payment pointer** :

{CODE(colors="tiki")}
{COIL(user="admin")}
The content you're viewing with exclusive access. 
Thank you for your contribution.
{ELSE}
__::This content is exclusive!::__
__::To view this content you need to use Coil extension.::__
{COIL}
{CODE}

## A special thank you

This work was made possible by a grant from [https://www.grantfortheweb.org/|Grant for the Web], a fund to boost open, fair, and inclusive standards and innovation in Web Monetization.

- https://community.webmonetization.org/tikiilp/tiki-ilp-integration-and-monetization-final-grant-report-9ge
- https://community.webmonetization.org/tikiilp/tiki-ilp-integration-and-monetization-grant-report-1-2b4a