Automatic flair mapping

AI-generated summary

The discussion revolves around implementing automatic flair mapping in a Discourse forum, where users’ flairs are dynamically selected based on their group memberships and the category they are commenting in. ncaming215 proposes a solution to ensure that when a user who belongs to multiple groups (e.g., Detroit Lions, Chicago Cubs, Michigan Wolverines) comments in a specific category (e.g., MLB), the relevant flair (e.g., Chicago Cubs) appears automatically. The proposed method involves mapping flairs to categories with moderate backend resource needs, which can be optimized through caching. The solution is seen as scalable and potentially implementable via a plugin or server-side customization. RGJ and jahan_gagan express interest in taking on the task, and sasha_ilinsky suggests making it a plugin for broader use. The project is needed within 30–90 days, with a negotiable budget.

Desired outcome: User A is a Detroit Lions fan, Chicago Cubs fan, and Michigan Wolverines fan, and belongs to each of those respective Groups (and each group provides a flair). But when User A leaves a comment in the MLB Category, the Chicago Cubs flair (see: MLB) must surface for context.

Proposed solution (open to alternatives, this seems like the least likely resource drain but I could be wrong): Automatic flair mapping

  • How It Works: Automatically selects the flair based on the category and user’s group memberships.
  • Resource Usage, given I have an active forum (my guess, could be wrong):
    • Moderate backend resource requirements for mapping flairs to categories during each comment request.
    • Caching mappings per user or per category can reduce the load.
  • Scalability:
    • Seems sustainable with caching layers, as the mapping logic doesn’t change often.
  • Implementation on Discourse:
    • Plugin? Server-side customization?

When do you need it done?

In the next 30-90 days?

What is your budget, in $ USD that you can offer for this task?

This is negotiable. I have budget and a full-time job in tech (and aware of reality), so I can compensate fairly.

5 Likes

We can build this, contacting you!

7 Likes

I am interested in taking this up, sending you a PM

4 Likes

It would be cool if this becomes a plugin.

1 Like

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