Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Facets 3.0.6 Minor update available for module facets (3.0.6). Release: Facets 3.0.5 Minor update available for module facets (3.0.5). Release: Flag 5.1.0 Minor update available for module flag (5.1.0). Release: Block Layout Accordion 1.0.2 Minor update available for module block_layout_accordion (1.0.2). Release: Canvas interactive toggle 1.0.2 Minor update available for module canvas_interactive_toggle (1.0.2). Release: Views HTTP Client 1.0.2 Minor update available for module views_http_client (1.0.2). Release: Block Layout Accordion 1.0.1 Minor update available for module block_layout_accordion (1.0.1). Release: Canvas interactive toggle 1.0.1 Minor update available for module canvas_interactive_toggle (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module allows site owners to set a limit on how many times anonymous users can view certain content before a paywall is applied. It provides a new rule for paywall access, a block to inform users about their access status and remaining views, and uses Drupal's core flood API for rate limiting based on session ID or IP address.

Sometimes a site owner may let anonymous users navigate a little before applying the paywall rule. For example, that visitor could visit 10 different nodes of a specific bundle before showing the paywall block.

For this, module adds a new RolePaywallAccessRule to let anonymous visit a predefined content the chosen x times before applying the restriction.

It also adds a new block to be shown whenever the user is attained to rate limits (allowed or denied) with info like:

Access to content is Allowed
Current articles views between 22:00:16 and now: x of max allowed.

Note that rate limit could be configured on session id basis or ip basis, it use the core flood api under the hood. It is recommended to use the session id basis as if not the public ip of your current connection will be used, so if used in a multiple computers home, one device in the subnetwork could waste the paywall limit.

On the other hand, note that session id could be easily superseded, as a simple incognito session in major browsers (or any other method that restarts the session) could reset the session id and so on the limit counter.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev 10–11 Feb 24, 2025