Content Paywall paywalls (truncates) node content based on a user-configurable user role. I.e., content should be displayed for "Subscriber" role but truncated/paywalled for "Anonymous" and "Authenticated"

Features:

  • Premium nodes: Only the Subscriber role can view
  • Metered nodes: A non-subscriber can view a limited number of "Metered" nodes per month (or other time period).
  • Metered/Timed nodes: These nodes begin life as metered, but become "Free" after a period of time.
  • Premium/Timed nodes: These nodes begin life as premium, but become "Free" after a period of time.
  • Highly configurable content truncation options
  • Configurable paywall message options

This module is compatible with SEO and site crawling because it uses Javascript to truncate content so bots (who usually crawl with no Javascript) can still see content. The trade-off is that savvy users could disable Javascript and see content.

This allows the content to be crawled by non-javascript spiders like Google so it's still indexed.

This module can be used with authcache or varnish when properly configured (the current production site's use case). The content is truncated by client-side javascript and usage is tracked by a javascript cookie so content is the same for all users.

Note: this module used to have an unlisted dependency on jQuery update which probably made it unusable for many users. This has been fixed and removed.

Project information

Releases