Plugin Lieux 🌍

Hey @merefield thanks for this plugin! :pray:

Is it possible to use the User Location to automatically place them in groups. Ex. User is located in Germany and automatically added to the Germany-Group.

Thanks again!

1 « J'aime »

Not currently automated. However, you might be able to come up with some inventive algorithm in the Rails console to achieve that on an ad hoc basis. For a start on that see Locations Plugin - #684 by merefield. You’d have to consider the fact that locations entry is also voluntary.

You might also consider the custom wizard plugin together with the national flags plugin to capture users’ countries. (This would help with the voluntary part)

1 « J'aime »

Hi Robert,

Again me :confused: There is another issue with /u page user search. When typing a user name in this field. Nothing happening.
Screenshot 2021-07-02 at 22.56.48

No error in /logs.
In console :arrow_down:

Not sure but maybe cause it this commit.

Thank you! :slight_smile:

2 « J'aime »

Thanks for the report.

Given this is a non-critical issue I will probably look at this later in the month.

Please take note of the supported period for upgrades. Appreciate this was reported within that period. We do our best to deal with critical breaking changes that come up during that time.

2 « J'aime »

I’ve had a spare moment, so took a look. Hopefully it’s now fixed, thanks for your patience: COMPATIBILITY: a fix for users page to take account of recent core ch
 · paviliondev/discourse-locations@e0f47d5 · GitHub

3 « J'aime »

Thanks Robert! Works fantastic! :heart_eyes:

2 « J'aime »

Continuing the issue raised by @James_Higginson here and in accepting this as the use case as indicated by @Robert in this post has anyone any suggestion as to how to avoid this scenario which seems only to encourage community members to question whether there is a fault in the underlying software?

As can be seen in the above graphic, this user has entered a location but it is not displayed in the user field and the only clue (may be not an obvious one to a casual or inexperienced observer) is the inclusion of the info icon and the words “Your location will be displayed publicly” underneath a blank field, suggesting an error or incomplete capture and that the info icon and text is not actually associated with the correct completion of the field.

These images are from the Adminstration settings pages for reference:



3 « J'aime »

Hey Graham (btw, I’m not @ Robert), I had a look at this for you and I think the problem lies in the timeout setting. Experiment by raising it.

See further at: Empty results caused by timeouts! - Locations - Pavilion

cc: @James_Higginson

1 « J'aime »

@merefield Oups! Apologies, my bad :slightly_smiling_face:

Thanks for the info which I’m sure @James_Higginson will now take up.
G

4 « J'aime »

Thanks guys, will try this now!

3 « J'aime »

Over a thousand of our members have added themselves to the map now and it’s still loading pretty quickly :+1:t2:

Screen Shot 2021-08-27 at 20.24.37

Thanks again for the continued maintenance of this plugin @angus @merefield :smiley:

6 « J'aime »

Can confirm. :wink:

6 « J'aime »

Pretty amazing community engagement guys too!

7 « J'aime »

What would cause a user to be shown on his user card map:

but not on the full user map:

1 « J'aime »

@Richie , how many users do you show on your map? Mine seems to be stuck at 1093.

Perhaps this is some kind of limit for the plugin?

image

2 « J'aime »

Hi @omarfilip we are currently showing 1205 on our map:

2 « J'aime »

It seems to have been a self-inflicted wound. I had location users map limit set to 1100. I’m not sure where the 7 (1100-1093) went though.

With the setting increased, the map is again working normally at 1297 mapped users:

1297 users on map

2 « J'aime »

Je voulais signaler un problùme d’UX trùs mineur (et rare).

Un utilisateur d’un forum que je co-gĂšre avait une localisation trĂšs longue. Cela peut arriver dans certaines rĂ©gions de France.

Pour protĂ©ger les informations des utilisateurs, j’ai modifiĂ© la localisation pour montrer le problĂšme

J’ai corrigĂ© localement avec du CSS, mais au cas oĂč quelqu’un d’autre serait intĂ©ressĂ©, voici la source du problĂšme

.location-selector-container .ac-wrap {
    box-sizing: border-box;
    height: 34px;
}

J’ai apportĂ© cette correction, qui devrait ĂȘtre correcte

.location-selector-container .ac-wrap {
    min-height: 34px;
    height: auto;
}
4 « J'aime »

Salut Robert,

Hier, j’ai essayĂ© de mettre Ă  jour notre site vers Ember CLI et j’ai remarquĂ© une erreur avec le plugin Locations. Si je crĂ©e un sujet, une erreur s’affiche dans la console et le sujet ne se charge pas, seule la section titre apparaĂźt. C’était juste un test pour vĂ©rifier que tout fonctionnerait, donc aprĂšs l’avoir vĂ©rifiĂ©, je suis revenu d’Ember CLI maintenant. Merci :slightly_smiling_face:

2 « J'aime »

Ah merci, c’est une correction facile.

DĂ©solĂ©, j’ai Ă©tĂ© occupĂ© avec TLP et d’autres projets ces derniers jours. J’essaierai de corriger cela aujourd’hui, bien que ce ne soit peut-ĂȘtre pas le seul problĂšme ! Je n’ai pas encore vĂ©rifiĂ© cela sur Ember-CLI.

2 « J'aime »