Keywords

Compatibility: beta 16 and 1.0

License Latest Stable Version Total Downloads Support Me

A Flarum extension. This extension maps the words written in the posts and allows you to build a real glossary for your website.

demo

Usage

Simply install the extension, and add your word and definitions through the extension settings page:

2

Installation

Install with composer:

composer require justoverclock/flarum-ext-keywords

Updating

composer update justoverclock/flarum-ext-keywords
php flarum cache:clear

Links

Video Demo:

    Justoverclock Just a UI suggestion, but for the "delete" button, you might want to use a "trash" icon.

    When we were working on this, we used a regular html <button>. However, you could also use the Flarum Button component and pass it fas fa-trash as the icon attr, which would result in this design.

      Justoverclock I mean in the example above, if the order was:

      • composer
      • extension
      • flarum
      • object

      A filter/search for keys could also be cool.

      Then, another interesting feature could be an import cool where a CSV could be imported. JS is capable of handling/parsing CSVs, so it could all be done in the frontend.

        askvortsov damn! Ok but I need your brain for 1 year more or less 😂

        I think I can handle alphabetical order, but for the csv I think is out of my knowledge 🤐

        Also I think that this extension can be useful here on discuss, to give automatic info to users and guest

        Great extension idea, it's one of those things that most a lot of people will not realise they want/need until they see it and then suddenly realise they do.

        I'm going to have a play with it later.

        Fantastic idea and looks great, will be very useful for many I'm sure including myself. Thank you for this!

        Very cool! This could even be used as a canned response of sorts. If people are always asking the same question at your forum, and as long as the answer is relatively short, you could quickly reply with: "Answer #103" They hover over that and see, "Flarum will be stable when it's stable." 😄

        I'm not sure how it's done on other sites, but maybe it could have a maximum number of times each keyword will have the pop-up enable? I haven't used it yet, but I wonder if a specific word was used many times throughout a post if you'd want every instance underlined or perhaps just the first X times.

          ctml based on many example that I see on other website, this happen rarely. Usually no one use the same words a lot of time in a sentence. But this could be a nice feauture too.

          I will put this into my todo list also