ramon / guest-cta
Hide links from guests and show a Login/Sign Up CTA between posts in discussions.
Package info
Language:TypeScript
Type:flarum-extension
pkg:composer/ramon/guest-cta
2.0.0
2026-05-09 03:09 UTC
Requires
- flarum/core: ^2.0.0
This package is auto-updated.
Last update: 2026-05-09 03:12:15 UTC
README
Guest CTA
Convert visitors into members on your Flarum forum: hide external links from guests behind a login prompt and inject a Login / Sign Up CTA card between posts.
Features
- Hide links for guests — Replace external links inside post bodies with a lock-icon pill that opens the Login modal when clicked. Internal links (mentions, discussion links) are left untouched.
- Join CTA between posts — Insert a Login / Sign Up card after a configurable post position (#1 to #5) inside any discussion. Visible only to guests.
Requirements
- Flarum
^2.0.0
Installation
composer require ramon/guest-cta
Configuration
All settings are available in the admin panel under the Guest CTA extension:
| Setting | Description | Default |
|---|---|---|
| Hide links for guests | Replace external links in posts with a Login prompt | false |
| Show Join CTA after first post | Display a Login / Sign Up card after the configured post | false |
| CTA position | Insert the CTA after post #1 to #5 (only when CTA is enabled) | 1 |
Author
License
MIT