Gift-a-Post
This plugin allows authenticated Craft CMS users to generate unique, time-limited "gift links" for entries. Recipients can access premium content without an account, while IP-based limits prevent abuse when links are shared publicly.
Features
- Generate Unique Gift Links: Create special URLs for any Craft CMS entry.
- Token-Based Sharing: Each link is secured with a unique, random token.
- Configurable Expiry: Set a custom duration (in hours) for how long gift links remain active.
- User Link Limits: Control how many gift links a user can create per month.
- Global Limit: A shared limit for all users.
- Specific Limit: Allows for per-user limits via custom event listeners.
- IP-Based Access Limiting: Optionally limit how many distinct IPs can use a gift link. Known IPs always pass; new IPs are rejected once the limit is reached. Only SHA-256 hashes of IPs are stored.
- Eager-Loaded Entries: Query gift links with entries included, avoiding N+1 queries.
- Console Command for Purging: Purge old IP hit records with
craft gift-post/purge/hits. - CP Settings: Easily configure plugin behavior through the Craft CMS control panel.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
1
License
MIT
Last release
April 27, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
1
Merged PRs
0
Open PRs