IMO it's a feature for a separate plugin - not this one. This plugin, as the description suggests, is using Notification API, and not Push API.
A Push API-based notification plugin would be great, but it's not just an upgrade to this one as Push API works in fundamentally different way by using a service worker.
[nodebb-plugin-osm-map] OpenStreetMap based map to locate users
-
Here a basic plugin to display user's location on a map. Coordonates are from user's location field, via mapbox geocoding service (access token needed).
This plugin is not full featured (yet?) but if it can help…Code review welcomed!
-
Looks great! Love to see independent plugins built for NodeBB
-
Awesome! Do you have this running live somewhere?
-
@psychobunny said in [nodebb-plugin-osm-map] OpenStreetMap based map to locate users:
Awesome! Do you have this running live somewhere?
I use it but only for my members community
with https://www.mapbox.com/account/access-tokens add in ACP
-
an example
-
Some members of my community wanted exactly something like that, so huge thanks!
I've just set it up and it's working pretty well!
@Thrrp The main downside I've found right now: when two members have the same location, you can only see one. Is it something that needs to be changed at the MapBox level or an issue with the plugin itself?
-
@Thrrp Another issue: chat modals are displayed behind the map (on
/map
). Manually settingz-index
to 0 using the inspector tools seems to fix this but I'm not familiar with NodeBB CSS at all. -
How do we access a token?
-
@psychobunny You can look at https://www.veloartisanal.fr/map for the moment (until I find how to read and use the restrict access on user details).
@lunar I've uploaded a new version with marker clustering and the fix for chat window.
@davidr As @The-Worms said, go to https://www.mapbox.com/account/access-tokens to request a token
-
@Thrrp Thanks for the responsiveness! Plugin upgraded. Clustering works really nicely!
-
Ah, markerclusterer... my nemesis. Glad you got it working
-
I can't see much use for this in my forum, but goddamn that's neat. Well done!
-
@Thrrp great plugin. Thanks a lot.
we have our forum installed at subfolder .com/forum/
but when users are clicked on it, plugin sends us to ".com/user/..." instead ".com/forum/user..."
Can you fix it? So, it will add subfolder name to the url...
Thanks.
-
@crazycells i've pushed a new version (0.0.10) yesterday. It should fix your issue, let me know if some problems remains.