Login 2 See

Login 2 See nhanchaukp/login-to-see

Adds a login to see BBCODE.

Login 2 See

License

Explanation

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

About This Extension

Demo

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.

How to

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]

Installation

install manually with composer:

composer require nhanchaukp/login-to-see

Updating

composer update nhanchaukp/login-to-see
php flarum cache:clear

Links:

Versions

  • Version v0.0.5.

    Likely works with Flarum v1.8.9.

    Unlikely to work with Flarum v2.0.0-beta.1.

  • 4 additional versions.
  • Extension created.