Discourse Mingle

hi Joshua! I haven’t looked at this plugin for a while, but it seems to me you can get what you want just by creating a new group to use for mingling. This group does not need to be used for any other purpose or be publicly visible to members. Add whoever you want to your minglers group from your other groups and allow them to mingle!

「いいね!」 2

It looks like this wasn’t made specifically for that use case but I think I see where you’re going @Joshua_Kogan, i may have had a similar idea in mind.

@tobiaseigen, i think the reason what you mentioned wouldn’t work is because the quote above. (I’m also assuming that @gdpelican may have meant intra-group matches?)
you could get protege + protege mingle matches, but the admin wants to exclusively facilitate mentor + protege mingle matches.

To take that idea a bit further, I could see the usefulness (selfishly) of also allowing boolean type logic in facilitating targeted matches.

Consider a not-that-hypothetical forum with groups for different majors at a university & groups for the years members graduated in like this:

  • ChemE-Major
  • CS-Major
  • co-2015
  • co-2021

As an admin I might want to pair current students who study Computer Science with alumni who studied Computer Science and do the same for Chemical Engineering majors. In which case I might specify my mingle configuration to target people with mutual/intersecting membership in certain groups as follows:

(ChemE-Major & co-2015) | (ChemE-Major & co-2021)
(CS-Major & co-2015) | (CS-Major & co-2021)

I may have snuck in an extra feature explanation here for allowing you to set up multiple configurations at once, but that would really only make sense if you could target matches to exclusively have members from specific groups.

Curious if anyone sees value in such a feature/extension of this plugin?

「いいね!」 1

Just curious is this plugin broken for anyone else?

I opened a pull request here for some the issues i encountered when running it on my forum

https://github.com/gdpelican/mingle/pull/6

Usually it is the new users with trust level 0 who just join the forum that need to introduce themselves and get to know others. Can I basically just setup a Mingle between users of only trust level 0? Or maybe, it’d be a bit more fun to setup a mingle between a user with trust level 0 and any other user.

I can see some other purposes of this. In gaming forum, auto pairing two people every defined interval could be a random duel or challenge.

「いいね!」 1

From what i understand, the current feature set only allows you to define matches amongst a group or combination of groups but doesn’t offer any guarantee that matches will be between people in different groups.

So you could make all trust level 0 people match together, but you couldn’t guarantee all trust level 0 people match with any other user.

to answer in short:

Yes

lol agree would be more fun, but no, its not currently an option

「いいね!」 2

I got this in my logs and seems to be something deprecated in Mingle?

「いいね!」 1

oh, true, yes. i just added that to the open PR as well, thanks

Has anyone experienced a 502 bad gateway error after installing the plugin?

I validated the YAML file, rebuilt as the instructions mention, and then couldn’t access the site. After reverting the changes to the YAML file and rebuilding again, everything was fine again.

This is what I added to the YAML file, for reference:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - sudo -E -u discourse git clone https://github.com/discourse/docker_manager.git
          - sudo -E -u discourse git clone https://github.com/gdpelican/mingle.git

I agree. This would be great for pairing experienced users with new members so they’ve got a big bro/sis to help guide them. Although i’m not suggesting that instead of the current format as that is also very cool.

I’m just testing it out anyway. Loving your work :slight_smile:

「いいね!」 1

In the /sidekiq/retries and /sidekiq/morgue, I get this error message:

Jobs::HandledExceptionWrapper: Wrapped ArgumentError: missing keyword: :

There’s not really any information on what keyword its looking for. Anyone have any ideas?

プラグインが最新バージョンのDiscourseで動作しないようです。以下のようなエラーメッセージが表示されます。

I, [2022-02-01T17:41:14.025821 #1]  INFO -- : cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'
warning Resolution field "lodash@4.17.21" is incompatible with requested version "lodash@4.17.15"
warning "> @mixer/parallel-prettier@2.0.1" has unmet peer dependency "prettier@^2.0.0".

また、上記の投稿に対する解決策も見つかりませんでした。他の人はこのプラグインをまだ使用していますか?

「いいね!」 1

しばらく問題があったため削除しましたが、再び機能するようになったら再インストールしたいと思います!

「いいね!」 2

いいえ、2.8 では実際に壊れています。

「いいね!」 2

最新バージョンに更新するために再構築を実行したところ、同じ警告が表示されています。しかし、このプラグインはインストールしていません。このエラーがどこから来ているのかを特定するにはどうすればよいですか?

残念です。このプラグインが再び動作するのを見るのが大好きです。

これは大きな技術的タスクであることは承知していますが、コアDiscourseに、開発者が常に更新できない/したくない場合にスクラップ置き場に行くのではなく、古いプラグインを実行し続けるための何らかのレガシーサポートが含まれていると素晴らしいでしょう。それが実現可能かどうかさえわかりませんが、それは素晴らしいものになるでしょう。

「いいね!」 1

このフォークはどうですか?最後の更新は3年前ですが、メインバージョンで修正されていないエラーを修正しているようです。

このプラグインは素晴らしいようです!