יצירת כותרות דינמיות באמצעות קבוצות או תגים?

I want to assign dynamic titles to users based on their number of posts and number of likes that they have (and maybe some other criteria).

Ideally I would want to display that title near the username on the posts. But even on user card is fine as I understand that minimalism looks more elegant.

This is how I am displaying it right now on XF, Forerunner is the title. Please suggest what is the best way to achieve this.

לייק 1

You could do this by creating a custom badge via the API or with custom SQL and then utilize the User Group Membership Through Badges feature to assign a user who has earned a badge to a group. That group can be configured to assign members a title, which can display next to their username on posts (like how my post has the team title)

לייק 1

תודה על תגובתך.

אני אעדיף להשתמש ב-SQL מותאם אישית כיוון שהמשתמשים ייקבעו דינמית לפי ספירת הפוסטים וספירת הלייקים שלהם.

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

לייק 1

They shouldn’t but if you encounter issues let us know!

לייק 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.