greatis / login2see-advanced
Adds [login]...[/login] BBCode to hide content from guests and unconfirmed users, making it visible only to logged-in, verified members.
Package info
github.com/greatis/flarum-ext-login2see-advanced
Type:flarum-extension
pkg:composer/greatis/login2see-advanced
Requires
- flarum/core: ^1.0.0
README
Flarum Extension by Greatis
Adds [login]...[/login] BBCode that hides content from guests and unconfirmed users, making it visible only to logged-in, email-verified members.
It is the fork of "nhanchaukp/login-to-see" extension.
๐ง Features
- Protect parts of posts using simple BBCode:
[login]This content is visible only to logged-in, verified users.[/login]
Guests and unverified users will see a message prompting them to log in or confirm their email.
Supports Markdown and other BBCodes inside [login]...[/login].
Works seamlessly with Flarum core and most third-party extensions.
๐งฉ Installation
In your Flarum root directory, run:
composer require greatis/login2see-advanced:*
โ๏ธ Updating
composer update greatis/login2see-advanced
php flarum cache:clear
๐ง Usage
Wrap the protected content with the [login] tag:
[login]
This section is visible only to logged-in, verified users.
[/login]
Guests and users who have not confirmed their email will see a message like:
You need to Log In and refresh to see the content.
๐งพ License
Licensed under the MIT License.
๐ฌ Credits
Developed by Greatis Software
Login2See Advanced โ make your private content truly members-only.