Umutcan This extension is compatible. Because I am using this extension and while it was installed I ran the update command. No problem occurred

mix0nSPb I don't know if this right, but see the post from Umutcan 😃

7 days later

I am trying to add some more links but none of the icons I have tried recently are showing up. I have tried:

fab fa-shop
fab fa-tag

I cant get any to work.

    davwheat ooo interesting. Didn't know that about the fab vs fas tag.

    I think the search is janky on their website sometimes. I see the shop:

    shop

    And it still didnt work with fas

    But I did get a campground one to work so go figure lol

      MikeJones You are looking for fas fa-store-alt, the Font Awesome website now defaults to FA 6, Flarum currently uses FA 5, don't forget to select it from here to get the correct tags.

        4 months later

        davwheat nice one!
        It doesn't seem to make a difference if I select above or below. can this be put under the tags as noted in the screenshot above? That would be great! Thanks for this extension!

        5 months later

        @davwheat how can i activate this menu item only for registered members? is that somehow possible?

        • Trc4 replied to this.
          3 months later

          Yolo how can i activate this menu item only for registered members? is that somehow possible?

          @davwheat 🤔
          we would also like to disable this for the guests.

          2 months later

          Hi,
          What does the "is Flarum URL?" toggle button do exactly?

          davwheat Hi, I'm not very good with JS, but I was looking around the code to try to understand it and with a bit of help from ChatGPT, I was wondering if this little change would do it (open all external links in new tab/window):
          in the file flarum-ext-custom-sidenav-links/js/src/forum
          /index.tsx
          (line 41) we have this code:

                  items.add(
                    'customLink-' + i,
                    <LinkButton external={!link.internal} href={href} rel="noopener noreferrer" icon={link.icon}>
                      {link.text}
                    </LinkButton>,
                    priority
                  );

          and we could maybe add this target={link.internal ? null : "_blank"} before icon=:

                  items.add(
                    'customLink-' + i,
                    <LinkButton external={!link.internal} href={href} rel="noopener noreferrer" target={link.internal ? null : "_blank"} icon={link.icon}>
                      {link.text}
                    </LinkButton>,
                    priority
                  );

          would that do it?

          4 months later

          I'm running my forum on Flarum Free. I've activated this extension. When I enter a new link and save it, I see the link show up in the extension for a second then go away. I've tried entering a couple of links, deleting them, turning the extension on/off, clearing my cache but nothing allows me to enter a link that shows up.

            Darkle When I enter the link in the form then click save link, the button to save changes says "No changes to save". It does not let me save the links I added.

            Darkle Also, if I change the Show Top Spacer and Show Bottom Spacker, then click save settings, It acts like if save the change but when I go back into the Extension, the settings are back to the way they were before I changed them.

              Durtdawber That's weird, I think you're on Free Flarum, probably best to report it in their discussion as it may require some testing.

              3 months later

              I want to hide the following in my sidebar, is there a way to do it?

              a month later

              hello, is it possible to use target="_blank" somewhere?

              EDIT:

              if anyone need it change this part of code in vendor\davwheat\custom-sidenav-links\js\dist\forum.js :

              n.add("customLink-"+r,m(u.a,{external:!e.internal,href:o,rel:"noopener noreferrer",icon:e.icon},e.text),c)

              in this:

              n.add("customLink-"+r,m(u.a,{external:!e.internal,href:o,rel:"noopener noreferrer",target: e.internal ? null : "_blank",icon:e.icon},e.text),c)

              Then deactivate and reactivate the plugin, it should work.

              a month later

              Hello, the link on our site has not been clickable for a few days? Is that the case with you too?

              However, it can be opened in a new tab