nhanchaukp/login-to-see

Adds a login to see BBCODE.

Installs: 304

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:flarum-extension

v0.0.5 2022-02-18 11:30 UTC

This package is auto-updated.

Last update: 2024-05-18 17:06:30 UTC


README

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: