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 « J'aime »

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 « J'aime »

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 « J'aime »

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 « J'aime »

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

1 « J'aime »

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 « J'aime »

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?

Le plugin ne semble pas fonctionner avec la dernière version de Discourse. Voici le message d’erreur que j’obtiens :

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".

De plus, je n’ai jamais trouvé de solution à mon message précédent. D’autres personnes utilisent-elles encore ce plugin ?

1 « J'aime »

Je l’ai supprimé il y a quelque temps en raison de certains problèmes, mais j’aimerais le réinstaller lorsqu’il sera de nouveau fonctionnel !

2 « J'aime »

Non, c’est bel et bien cassé sur 2.8.

2 « J'aime »

Je vois le même avertissement lors d’une reconstruction pour passer à la dernière version. Cependant, je n’ai pas installé ce plugin. Comment puis-je retracer l’origine de cette erreur ?

Dommage. J’adorerais voir ce plugin fonctionner à nouveau.

Je sais que c’est une tâche technique importante, mais ce serait formidable si Discourse de base incluait une sorte de prise en charge de la compatibilité ascendante qui permettrait aux anciens plugins de continuer à fonctionner plutôt que tout le travail que les développeurs ont investi soit jeté à la poubelle s’ils ne peuvent pas/ne veulent pas les mettre à jour constamment. Je ne suis même pas sûr si c’est réalisable car cela pourrait dégénérer, mais ce serait une chose formidable à avoir.

1 « J'aime »

Qu’en est-il de ce fork ? La dernière mise à jour date d’il y a 3 ans, mais il semble corriger une erreur non corrigée dans la version principale.

Ce plugin semble être génial !