カスタムプロフィールフィールドとプロフィールの検索

I was searching and saw previous topics about custom profile fields and searching profiles. But going to the search page or users page doesn’t give options to make it easier to search those. About how much would it cost to create a plugin that allows the search feature to act as a directory where you can filter in certain sections?

I know the search handles putting in what you searching for a user custom profile field but the results come up only on the small side and nothing to really separate the users from posts. Just having a search for users only where you can specify or filter based on custom fields like location, skills etc.

「いいね!」 3

はい、私もそのようなものを求めていました。コードを少し調べましたが、テーマコンポーネントでこれをどのように実現できるのか分かりませんでした。もし深いコーディング(Rubyを掘り下げるような)が必要なら、現時点では全く分かりません :smiley:

私が期待しているのは、Circleが最近プラットフォームで有効にしたものと似ています。以下に2つのスクリーンショットを示します。


シンプルなドロップダウンとユーザーをフィルタリングする方法がとても気に入っています。Circleで気づいたのは、彼らの検索はあまりうまくいかないようですが、Discourseはより強力なユーザー検索と、このような追加のフィルタオプションの両方を持つことができるかもしれません。

これらのプラットフォーム(FB、Discord、Guilded、Circleなど)の多くを見てきましたが、優れた(検索可能/フィルタリング可能/カスタムユーザーフィールド/スタイリッシュな)メンバーディレクトリを持つものはほとんどありません。私はUser Card Directoryテーマコンポーネントを有効にしているので、夢見ていたメンバーディレクトリのすぐそばにいるような気がしますが、フィルタリングの側面が欠けています。

これはJSとCSSだけでテーマコンポーネントで可能でしょうか?それとも完全なRubyベースのプラグインが必要でしょうか?

「いいね!」 3