wolfgang-demeter/flarum-ext-bbcode-5star-rating

Rate some things in Flarum with 5 stars - but in half-star increments!

Installs: 463

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:flarum-extension

v0.1.8 2022-01-17 18:32 UTC

This package is auto-updated.

Last update: 2024-12-18 01:19:28 UTC


README

Insert Ratings into your posts in half-star increments.

Installation

Run composer require wolfgang-demeter/flarum-ext-bbcode-5star-rating in Flarum's folder.

Usage

You can either select your rating via a modal, by clicking on the Star-Icon in the Text-Editor or you can directly use the BBCode below.

Customize

This extension uses the defined secondary color (@secondary-color) of Flarum to highlight the rating by default. If you want to change the highlight color you can do so, by adding the following CSS custom property definition to your custom CSS in Flarum.

:root {
    --bbcode-fivestar-rating-color: #ff79c6 !important;
}

Screenshots

Select your rating

grafik

Show your rating

grafik