I just tested it a bit and don’t see this issue, is it possible you’ve dismissed the banner by clicking the x in the corner? if that’s the case you’d have to clear your browser’s localStorage to see it again
I would like to make different banners visible for registered and unregistered users or should not all links of the banner be visible for unregistered users. Is that possible?
In the links area, on the icon field, wouldn’t it be possible to have it autocomplete to make it easier to find the icon we want?
If not, at least including a direct link to the FontAwesome website would make it more obvious that that’s the icon provider, as well as directing the person directly to the source.
For example, I downloaded the component and installed, then when I was creating the link I had to go back to this topic to read about it again to then know that it’s FontAwesome. Just a suggestion to make it faster and easier to add icons.
EDIT: I used the name on their website, but it doesn’t add the icons:
I also noticed an issue with the Summary here on this topic. It says Welcome Link Banner is a simple banner that allows you to add custom text and 1-4 links, but it actually lets me add more links. I was able to add 6 (and if I keep clicking it keeps adding more links).
If 4 is indeed the goal, then I believe it would be better if after adding the 4th link, the + banner link disappeared or got grayed out.
Oh, I didn’t know that it doesn’t load all available icons. I thought it was reading from the FA website directly. I added an icon that wasn’t loading and it’s visible now. Thank you so much.
How can I see which ones are available? Is there a list or is it like adding, seeing if it doesn’t show, and then add it?
I see. I think it’s the wording then. Maybe something along the lines of Welcome Link Banner is a simple banner that allows you to add custom text and links (recommended: up to 4 links). or something like that.
Thank you so much for your help. Glad that the icons are now visible!
1 - I dismissed the banner, but I want to test a few things so I need to bring it back. How to?
2 - I noticed that at least on mobile, when I’m in the Channels page, the banner completely disrupts the whole layout:
3 - Is it possible to exclude the banner from certain pages, other than using CSS? I’m aware that there’s the dropdown menu with homepage,discovery,all, but that’s too limited.
but it didn’t work. I’m using Cloudflare and I’ve had issues with their cache, Should I wait a little longer, or since it’s localstorage, it’s not related?
I’m no expert when it comes to that. Just guessing…
Is there a way to remove that via the Developer Tools window? I remember deleting some stuff there at one point when I was working with a website I was working on.
Update: I asked ChatGPT to help me according to your reply and I got this:
Clearing the browser cache doesn’t affect localStorage, which is where the dismissal state is stored. You need to manually remove the item from localStorage.
Do this:
Open the Discourse site.
Press F12 or right-click → Inspect to open Developer Tools.
This will reset the dismissed state, and the Welcome Banner Link should appear again.
Then I asked if I could also do it manually, and yes, I can, by going to the Application tab, then on the sidebar going to Storage > Localstorage and deleting the “entry”:
Let me thank you for pointing me in the right direction!
So now my question is: if this is how I do it on my desktop, how can I do it on mobile? ChatGPT said I could add this to the address bar and “run” it, but it didn’t help:
EDIT: it worked! I was doing it wrong. ChatGPT made it clear now that I needed to open the forum, then on that same tab, run javascript:localStorage.removeItem("discourse_dismissedWelcomeLinkBanner");, not on a new tab, which is what I was doing.
Again, thank you for your reply, because it definitely helped narrowing things down.