Locations Plugin šŸŒ

Yes this is the one that the plugin cares about.

The others are important too. Perhaps hide the Location one with CSS? Not a great idea to hide Timezone or Region?

If you want to add functionality to the plugin to determine the others from the Map Location you are welcome to PR.

Alternative you can contact me privately to hire me or Marketplace

Yeah, nice as an option. Prepare a PR and I will review it.

Alternative you can contact me privately to hire me or Marketplace

Currently running discourse 3.4.0.beta3-dev (032b1f871b) and Iā€™m getting an error when trying to change the location provider:

Some HTTP/500 errors are being caught in the browser console too.

Iā€™ve been using nominatim for years now, but itā€™s not worked very well (if at all) lately so I thought Iā€™d try a different provider.

It would appear that I canā€™t :blush:

Did you follow the instructions and enter your provider key first?

Before these are saved code is run to initialise the new provider.

Thanks Robert, I did, but I naively hadnā€™t realised that every provider in the list would need an key :roll_eyes: :man_facepalming:

Hopefully Nominatim will sort themselves out soon :+1:

Just so you know:

3 Likes

I fixed the locations search form, so a search does not cause your criteria to be deleted :sweat_smile:

Should be a much more pleasant experience searching now!

(cleanup: remove commented code Ā· paviliondev/discourse-locations@0153eab Ā· GitHub)

thanks for @jrgongā€™s report and for being patient.

this is a free, presently unmonetized plugin, so itā€™s tough to justify a lot of work on it.

2 Likes

Hello :wave:

Iā€™ve noticed a console error when composer opens or closes. I donā€™t think it causes any issue. :thinking:

Thanks for your work Robert! We really appreciate it :hugs:

2 Likes

Thanks. Iā€™ll take a look

1 Like

Ah, might this explain / fix what I thought was a Nominatim issue?

thanks for the :eagle: :eyes:

that should be resolved as of:

3 Likes

Could be, and Iā€™ve also surfaced errors to the UI which might help

1 Like

With Locations plugin, the location canā€™t be searched.

How to fix it? Thanks.

Iā€™ve just discovered and installed the plugin as I have a perfect use case for it in one of our sub-categories (ā€˜Places to Goā€™). Iā€™ve retrospectively gone back over about 20 topics and added a geo-location with the plug-in. Itā€™s working fine with the mini-map but when I view the category map I only see six pins.

Iā€™m running Discourse 3.4.0.beta4-dev ( d1b3b85584 ) and Iā€™m using the default provider (nominatim).

I havenā€™t found anything to point me in the right direction in this topic yet but I may have missied something - itā€™s quite long. Could it be related to the number of requests being sent to nominatim? Iā€™m still getting to grips with the way the plug-in works and continuing to try and figure it out in the meantime. I plan to look at the benefits of other, paid, providers and whatever else I can think of to tease out some hints or an actual solution.

Thanks for any advice and thanks for sterling work maintaining the Locations plug-in, @merefield.

Oh, and Happy New Year (just under an hour away here) :slight_smile:

Are you seeing six individual markers or six clusters?

Check the plugin settings near the bottom at
/admin/site_settings/category/plugins?filter=plugin%3Adiscourse-locations

Marker clustering is enabled, if thatā€™s what you meant. This is what it looks like by default. It all works as it should, except I canā€™t get it to display more than 6 markers

Update: A member added two new entries today and both the markers show in the map.

Try increasing location_map_max_topics ā€¦

(and please confirm if this happens on unfiltered Latest map as well as in the Latest Category map)

2 Likes

Iā€™d already increased that to 200 from the default (100) as part of the experimentation but it doesnā€™t move the needle for this issue. I tried it at 1000 but still no change. If that were the issue Iā€™d expect any new topics to be excluded from the map.

I may be

Iā€™m not sure Iā€™m understanding this clearly. The category map is enabled on a sub-category so the map option only shows with filters that limit the topics to that criteria. There are no additional tag filters applied.

This is the page. I shouldnā€™t linked to it before:

Try the Topic map on top level. You may need to enable it (location_topic_map)

This might be a bug.

I donā€™t have time to investigate it right now for free.

If you want to hire someone to do a deep dive suggest Marketplace and Iā€™ll review any PR.

Still the same.

As always with these things Iā€™m looking for clues and patterns. I thought it might be something to do with the age of the topics but that doesnā€™t appear to be the case as there are map markers missing between the oldest and newest entries.

Thanks for the help. Weā€™re a small, non-profit forum but Iā€™ll have a look at the cost of hiring someone to investigate.

Edit: I just editied a topic someone created today to add the loacation and the marker wasnā€™t created. I recreated the post, added the geolocation and changed the ownership. The marker appears. So it seems to be related to updating existing posts that arenā€™t being recognised.