JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q54415F
  • License BSD-2-Clause

A NodeBB Plugin to add some colors to the topics titles.

Package Exports

  • nodebb-plugin-topic-color

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodebb-plugin-topic-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NodeBB Topic Color

A NodeBB Plugin to add some colors to the topics titles.

Installation

As simple as that :

npm install nodebb-plugin-topic-color

Usage

  1. After installation go to the ACP and enable the plugin.
  2. Choose the groups that will be able to colorify their topics. Or create the Bucket group and put some users in it.
  3. The magic happens with this simple instructions :

If you want some red you have the choice to use :

  • Hexadecimal colors code like #ff0000 or even #f00
  • RGB values rgb(255,0,0)
  • And finaly css color codes red

To use it it's pretty simple :

%(color)[Text]

Screenshots

Create your groups. Add the bucket one if you want to manage exactly who is able to colorify their topics or if the users are in a group system :

Groups

Choose the groups you want to be able to use the colorify topics title feature :

Plugin settings

This :

Titles code

Will become this (note that Test tried to fool the plugin but unlucky for him there's groups permissions) :

Titles colorified

And if there's no group selected don't worry the titles will be as clean as before (this could be a way to disable the feature but you must keep the plugin activated) :

No groups, no colors on topics titles