• Resources
  • Free Flarum hosting on an expert platform by FreeFlarum.com

SKevo Another extension not working correctly is "Last Post User Avatar"

on smartphones and PC, it looks like this. I have e-mailed the developer and disabled the extension for now. I first got a warning from my google analytics that there was overlap which may affect searches.

    CrimsonBird Hello. I have the Asirem and the Categories extensions enabled. The Categories extension has the "Icons in secondary categories" setting enabled. When I look at the FontAwesome icon of a category nested inside a primary category, I can only see the Asirem's circular background, but not the icon. Disabling the setting shows the icon in the same color as the background, making it impossible to see unless hovered by the mouse. This didn't happen before updating to v1.7.0.

    Hi, thanks for letting me know. I noticed that it is happening on my forum as well (I do not have Asirem enabled). It is a CSS issue - the color of the icon is the same as the background color, which renders the icon invisible. I have reported it here: askvortsov1/flarum-categories41

    You can fix that with a CSS like this:

    .CategoryIcon {
        color: unset !important;
    }

    However, this will have a similar effect if you have too bright tag colors, since all icons will be white. In that case, you will have to tweak each element's CSS manually, or change .CategoryIcon's color to be darker, or make your tag colors darker.

    CrimsonBird Btw: I no longer have the advanced filter extension, making it a lot harder to differentiate the extensions that I have enabled with the ones I don't.

    Yes, Advanced Extension Categories was removed today because it breaks the search feature (which was reported here). If you don't mind this, I can re-add it, but I would rather include it later when the issue is fixed because of compatibility reasons

    DavecUK I see, thank you for reporting it to the author! Meanwhile, until a proper fix is implemented, you can apply this CSS fix which should move the title a bit to the right so that the elements don't overlap:

    .DiscussionListItem-title {
        margin-left: 1.3rem;
    }

      SKevo Yes, Advanced Extension Categories was removed today because it breaks the search feature (which was reported here). If you don't mind this, I can re-add it, but I would rather include it later when the issue is fixed because of compatibility reasons

      Thanks for everything. I just found that if I disable the Asirem extension I get a search bar in the left side haha! As well as in the users page. I can wait until the issue is fixed, thanks for caring :​)

      SKevo see, thank you for reporting it to the author! Meanwhile, until a proper fix is implemented, you can apply this CSS fix which should move the title a bit to the right so that the elements don't overlap:

      There is extension that provides similar feature, but implemented in less hacky way, so it may be less problematic in long run: https://discuss.flarum.org/d/32368-last-post-avatar

      BTW: Is source of https://freeflarum.com/extensions available on GitHub or somewhere? Some language packs are included in "other" section, and categories for some other extensions also seem off.

        rob006 There is extension that provides similar feature, but implemented in less hacky way, so it may be less problematic in long run: https://discuss.flarum.org/d/32368-last-post-avatar

        Thank you for the tip! I might create an issue for it at GH and see if it receives enough upvotes, or consider it as a replacement entirely

        rob006 BTW: Is source of https://freeflarum.com/extensions available on GitHub or somewhere? Some language packs are included in "other" section, and categories for some other extensions also seem off.

        No, the generation of that page is part of FreeFlarum's closed-source code. The way it works is that it generates these categories from composer.json in real-time, so it's entirely automatic. I do not categorize extensions manually, nor can I influence how the categories are rendered.

        For example, Polish is in "Other" because it has no category key in composer.json's extra:

        https://github.com/flarum-lang/polish/blob/cc4ad92e4e8fd49cf6957605ee6f899ec8a279a4/composer.json#LL28C2-L47C3

        See this for expected format: https://github.com/flarum/lang-english/blob/11dd45051d2734980c603dcbe17b79beb904f378/composer.json#L18

          SKevo Hmm, Flarum supports only 3 types (feature, language and theme) and it has special condition for detecting language packs:

          https://github.com/flarum/framework/blob/5097620b6ec643095457c457f84021f524f2272f/framework/core/js/src/admin/utils/getCategorizedExtensions.js#L11

          https://github.com/flarum/framework/blob/5bc47c0278d00d06ace033dccfa96cdff3d0a0c0/framework/core/js/src/admin/AdminApplication.ts#L49

          So things that looks fine in admin panel may have weird types on https://freeflarum.com/extensions.

          SKevo I see, thank you for reporting it to the author! Meanwhile, until a proper fix is implemented, you can apply this CSS fix which should move the title a bit to the right so that the elements don't overlap:

          I shall work out how to do that and give it a try.

          Thanks

          I encountered a page that prompted me to ‘update my database’ when browsing my flarum. Any idea what is this for? I entered my admin password but was to no avail…

            SKevo Oh it worked!! Thank you very much! Now I learnt what to do when faced with this situation 🙂

            Seems like my forum is down as of recently. Maybe related to the upgrade? Can't seem to log into any freeflarum tools with the site down.

            atxdao.freeflarum.com

              SKevo Up2Vex your forum has a lot of posts. Please, share a link to a specific discussion which has the notifications that you want to hide

              I was talking more about how the language selector is not aligned
              https://prnt.sc/VNtFTF8El9vi

                Up2Vex ah I'm sorry, I thought that was a different question

                I created a test account at your forum, and unfortunately, I am not able to reproduce the issue (the menu appears normally to me). Maybe try in incognito mode, to see if browser extensions or cache has something to do with it?

                  SKevo

                  Hi

                  I noticed the issue with misalignment is being caused by the "Flags" mod

                  You couldnt see it on a new account as only mods/admins can see flags that users have reported

                    Up2Vex can I create a temporary admin account and check it then?

                      SKevo sure (i disabled flags now but you can reenable)