For popular-tags
, is there any way to enable a topic count number and display it for each tag? Preferably, the count should also respect the scopeToCategory
parameter value.
How Can I Display a User Info Panel in the Right Sidebar?
Hi Discourse Team,
Iām trying to add a user info panel to the right sidebar using the Right Sidebar Blocks theme component.
Iād like to show the current userās profile detailsāsuch as their username, avatar, likes received/given, number of posts, etc.āsimilar to the screenshot.
Could you please let me know how to achieve this?
Thank you for your help!
What userās info do you want to show?
Such as username, avatar, likes received and sent, number of posts, etc., similar to screenshots.
Not what information about the user.
What user? The sidebar is pretty static. Is there one user you want to always show information about? The sidebar shows on topic lists where there are many topics. What user would you want to show? And why is just clicking on the avatar to see the user card not the best solution?
I want this section to always display the personal information of the currently logged-in user.
Agree! I think it would be helpful to add User Profile as a default block, potentially re-using code from the Central theme (where it was a particularly addition, by my reading)?
The only addition Iād make to that is a check to remove it once a user has added a profile picture and bio. That way they donāt have to keep looking at it every time they loginā¦
You can try using or tweaking this, itās the user profile block from Central with a few adjustments:
However, thatās just the plain template, it will look like this:
If you want it styled similar to the Central look, you could have a look at style declarations in scss/blocks/user-profile.scss Ā· main Ā· Manuel Kostka / Discourse / Canvas / Central Theme Ā· GitLab
Because people donāt know who they are?
Dunning people to fill out a profile makes sense; itās not clear to me that seeing their profile will send a clear message. Is that the problem youāre trying to solve?
Aha. So you too think they donāt want to see their face all the time.
It feels like a legit strategy to encourage this, given previous conversations about doing itā¦
Though I agree itās not the best approach, it felt like a popular part of the Central theme, at least from a few people I spoke with:
I assume it would be fairly simple to add āAdd imageā hover text for the profile picture and header images with appropriate links, which would improve the conversion chances.
I can only speak for myself in that I think it would help increase the profile picture ārateā which is helpful for most communitiesā¦
Hello,
After updating to the latest version, fd584ed (Jun 6, 2025) of this discourse-right-sidebar-blocks
, the right-sidebar-blocks component fails to load on my latest beta Discourse instance:
Uncaught (in promise) Error: Could not find module `ember-curry-component` imported from `discourse/theme-23/discourse/components/right-sidebar-blocks`
I believe this is tied to how right-sidebar-blocks.gjs
in that commit now starts with:
import curryComponent from "ember-curry-component";
Iām not really familiar with this technical stuff, so if you need any additional information from me please let me know.
Thatās odd. There isnāt any such component that exists, from what I can see. Perhaps this is a missing file .
Maybe, no idea. Again Iām very unaccustomed to this technical stuff, so if you need any further details from me, or if Iām just missing something obvious, you or anyone else need not hesitate to let me know.
For now Iām just running a copy of the very previous version, f4ef4a4 from May 8, which works flawlessly.
Thank you for your reply!
Iād love to suggest a feature: it would be great if we could one-click install components or layouts by referencing another brand Discourse site.
Sorryātech setup is a bit overwhelming for me, so something simpler would really help.
An update on the situation. The issue seems to be resolved with Discourse v3.5.0.beta6. My aforementioned issue was only present on v3.5.0.beta5.
I presume itās thanks to this commit which āmake[s] curry-component available for themes/pluginsā.
All good now.
Good spotting! I think the original curryComponent may have come from
?