This Extension is powered by WiseClock, and updated by nhanchaukp, but after flarum v1.0, the extension can not be used. so I upgrade it, now it can run under flarum v1.0 and v1.1.0
A Flarum extension. Adds a login to see BBCODE.
Note that it only works for the main post (the start post of a discussion). This BBCode will be replaced by div in comment posts.
When creating/editing a post, you can simply use the [login] BBCode to make it hidden to other users until they've logined.
[login]Here goes the content[/login]
install manually with composer:
composer require nhanchaukp/login-to-see
Updating
composer update nhanchaukp/login-to-see
php flarum cache:clear