I just had a vision. You could replace my old (now defunct) hashtag extension. I retired mine because it just used inner html to replace words starting with a hashtag and it caused a lot of conflicts.

I see with this extension you are using code that can find and replace. You’re using regular expressions... I feel like with some tweaks the code you already have here could find any word that starts with # and turn it into a link that when clicked searches the forum for that keyword.

    • [deleted]

    • Edited

    Justoverclock u can try now, it works everything (i hope 😆

    Your work is amazing! I hope that Flarum community is grateful, as I am, for your effort.

    I noticed that this box goes offscreen:

      [deleted] thank you, I appreciate your words 😁

      i will look into this bug, i think this happen only on mobile, so maybe is at least some css tweak...if anyone find this tweak fell free to write here meanwhile i will look into this

      maybe @davwheat can help on this

        • [deleted]

        Justoverclock 0.1.7 (for flarum beta 16)

        This version removes/hidea post content (all categories and posts/discussions)... Is it me or it is a glitch, bug?

          davwheat lol, i'm trying everything without success, if u have some times i will appreciate your help

          tooltips are my nemesis 😆

          must be compatible for beta 16 also, thats the reason i'm using this (also because i like it)

            Justoverclock

            I honestly can't see any reason why this would happen. If I get time, I'll try and clone your ext locally and give it a go on the core master to see if I can reproduce it

              Justoverclock I've found a method that works, with pure CSS and ARIA, no JS: https://txmn.tk/test-aria.html (tested only with NVDA)

              role="button" tabindex="0" make the word focusable, CSS makes the tooltip appear when the word has focus, and aria-describedby tells the screen reader that the word has a description. aria-describedby (or aria-labelledby) doesn't work when the description/label object is not displayed.

                Upcoming update (only for Flarum 1.0)

                Custom Page with all words and definition (screenshoot of a demo without css)

                feel free tu suggest any ideas

                  Justoverclock very nice! the only thing I may suggest is for it to be displayed as a table, with keywords in one column and definitions in the other. I think it makes it easier to distinguish between them, and may at a later date provide the opportunity of some kind of filtering of the table.