בלוקי סרגל הימני

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!

I tried but it shows errors.

אילו פרטי משתמש תרצה להציג?

כגון שם משתמש, אווטאר, לייקים שהתקבלו ונשלחו, מספר פוסטים וכו’, בדומה לצילומי מסך.

לא איזו מידע על המשתמש.

איזה משתמש? סרגל הצד די סטטי. האם יש משתמש אחד שאתה רוצה להציג תמיד מידע עליו? סרגל הצד מוצג ברשימות נושאים שבהן יש נושאים רבים. איזה משתמש תרצה להציג? ומדוע פשוט ללחוץ על האווטאר כדי לראות את כרטיס המשתמש אינו הפתרון הטוב ביותר?

אני רוצה שהמקטע הזה יציג תמיד את המידע האישי של המשתמש המחובר כרגע.

לייק 1

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

2 לייקים

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. :slight_smile:

לייק 1

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…

שלום,

לאחר עדכון לגרסה האחרונה, fd584ed (6 ביוני 2025) של discourse-right-sidebar-blocks זה, רכיב ה-right-sidebar-blocks לא נטען במופע הבטא האחרון של Discourse שלי:

Uncaught (in promise) Error: Could not find module `ember-curry-component` imported from `discourse/theme-23/discourse/components/right-sidebar-blocks`

אני מאמין שזה קשור לאופן שבו right-sidebar-blocks.gjs באותו commit מתחיל כעת ב:

import curryComponent from "ember-curry-component";

אני לא ממש מכיר את הדברים הטכניים האלה, אז אם אתה צריך מידע נוסף ממני, אנא הודע לי.

לייק 1

That’s odd. There isn’t any such component that exists, from what I can see. Perhaps this is a missing file :thinking:.

אולי, אין לי מושג. שוב, אני ממש לא רגיל לדברים הטכניים האלה, אז אם אתה צריך ממני פרטים נוספים, או אם אני פשוט מפספס משהו ברור, אתה או כל אחד אחר לא צריך להסס ליידע אותי.

לעת עתה אני פשוט מריץ עותק של הגרסה הקודמת מאוד, f4ef4a4 מ-8 במאי, שעובדת ללא רבב.

לייק 1

תודה על תשובתך!
אני אשמח להציע תכונה: יהיה נהדר אם נוכל להתקין רכיבים או פריסות בלחיצה אחת על ידי הפניה לאתר Discourse של מותג אחר.
מצטער - ההגדרה הטכנית קצת מכריעה אותי, אז משהו פשוט יותר ממש יעזור.

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.

2 לייקים

Good spotting! I think the original curryComponent may have come from

?

לייק 1

I really like the right sidebar blocks and I use the upcoming events block. I could have sworn the event used to be in chronological order. They are not in chronological order now, see screen shot below


I checked and made sure they all had correct dates and were this year(2025)

2 לייקים

יהיה נחמד מאוד אם תהיה כאן אפשרות לשים אייקוני FA בכל בלוק. לדוגמה ranking-star עבור “gamification”, וכו’, comments עבור “latest comments”, וכו’.

2 לייקים

מישהו עוד ראה את זה? האם הם תמיד היו מחוץ לסדר הכרונולוגי? באתר שלי שאני מארח בעצמי זה לא תוקן מעצמו