Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Locked
Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

[Script] WME Chat addon

Post by dummyd2
Hi all,

You must install it in tampermonkey for chrome and/or greasemonkey for firefox.
DO NOT INSTALL AS EXTENSION
Link to the script hosted by Greasyfork

This script improves the WME chat GUI:
  • Configuration panel: link "Settings" next to the welcome message at top of message list
  • removes duplicates messages: it hides messages, but you still receive or (perhaps) emit duplicates.
  • adds a link on user names in each message to add a "bip" message (customizable in settings)
  • adds a target link next to the user name allowing to jump to without looking for the user in the list
  • adds rank after user names
  • adds date and time or time only to each post (taken from your computer when the message is received)
  • formats links to clickable links and opens in new tab
  • formats permalinks to clickable target and jump to position, zoom, and select objects (no WME reload)
  • light blue (editable in settings) background on new messages posted by you
  • small "+" and permalink icon next to the input message area to insert current permalink
  • Chat top pannel (if open) or chat button (if closed) change color to dark red (editable in settings) if someone type a message containing a word in a custom list (see tool tip text) in settings (case unsensitive). Returns back to original color when you send a message, or close chat window.
  • Play sound on new message (mutable in settings)
  • Play sound on alert (mutable in settings)
  • Remove messages of users not in the room (optional in settings)
  • System message when a user join or leave the room (optional in settings)
  • Bell icon next to each user in the users list to insert the "bip" in the message
and some updates v0.5 v0.6 v0.7 v0.8 v0.9 v1.0

Compatible with WME Chat jumper: so each "jump" with WME Chat addon is reversible using WME Chat jumper.

Thanks to tkr85 for WME Chat jumper compatibility, and Yopinet for beta-tests.

d2
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times

POSTER_ID:16831518

1

Send a message
Last edited by dummyd2 on Fri Nov 28, 2014 8:56 am, edited 8 times in total.
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dude495
JustinS83 wrote:Here is a pastebin of the script with the Waze object replaced with W. Now that beta has been pushed to production any scripts still using Waze causes tens of thousands of entries in the console. This will alleviate some of that pain.


Thank you! This fixed my issue with Chrome freezing/crashing on MacOS!
dude495
Coordinators
Coordinators
Posts: 555
Has thanked: 152 times
Been thanked: 380 times
Send a message
Dan B - Texas AM - New York SM - Pakistan Coordinator/Local Champ
Waze New York & NYC Social Media
New York Partnerships Coordinator
Pakistan Community Booster
iOS & WME ßeta Tester
Waze USA & Pakistan Mentor


https://i.ibb.co/2KztPb6/forumsig.png

Post by dude495
dummyd2 wrote:Script donated to WazeDev github:
https://github.com/WazeDev/WME-Chat-Addon

Greasyfork URL changed to:
https://greasyfork.org/scripts/369855-wme-chat-addon

you may need to re-install the script.
Does this version include the forked fix that was causing the console floods?
dude495
Coordinators
Coordinators
Posts: 555
Has thanked: 152 times
Been thanked: 380 times
Send a message
Dan B - Texas AM - New York SM - Pakistan Coordinator/Local Champ
Waze New York & NYC Social Media
New York Partnerships Coordinator
Pakistan Community Booster
iOS & WME ßeta Tester
Waze USA & Pakistan Mentor


https://i.ibb.co/2KztPb6/forumsig.png

Post by dude495
Timbones wrote: Wed Feb 16, 2022 11:40 am I see now. The icon next to shirapshu has a blank space where a number should be. I guess because no special icon has been made for rank 7.

 
AFAIK this has always been the design. 
dude495
Coordinators
Coordinators
Posts: 555
Has thanked: 152 times
Been thanked: 380 times
Send a message
Dan B - Texas AM - New York SM - Pakistan Coordinator/Local Champ
Waze New York & NYC Social Media
New York Partnerships Coordinator
Pakistan Community Booster
iOS & WME ßeta Tester
Waze USA & Pakistan Mentor


https://i.ibb.co/2KztPb6/forumsig.png

Post by dummyd2
V0.3:
  • Chat top pannel (if open) or chat button (if closed) change color to dark red if someone type a message containing your name (case unsensitive). Returns back to original color when you send a message, or close chat window.
  • Bugfix on unsafeWindow detection
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dummyd2
Hi all,
thank you for your feedback!
I have taken into account your queries (and more ;)):

v0.4
  • Configuration panel: link "Settings" next to the welcome message at top of message list
  • "My message background color" editable (in settings)
  • "Alert color" editable (in settings)
  • "Alert match word" editable and multiple words available: see tool tip text (in settings)
  • Play sound on new message (mutable in settings)
  • Play sound on alert (mutable in settings)
  • Remove messages of users not in the room (optional in settings)
  • Show date and time or only time on message (in settings)
  • Show date and time in lower font size, grey, and right aligned
  • Changed: in a message, the user name was a link to jump to. Changed to a "bip": insert a text containing the user name. (customisable in settings)
  • Target link next to the user name in a message to jump to (replace the link changed to "bip")
  • System message when a user join or leave the room (optional in settings)
  • Bell icon next to each user in the users list to insert the "bip" in the message
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dummyd2
Did you first install chat addon in chrome extensions and then, install tampermonkey and chat addon inside tampermonkey?
Installing a script designed for tampermonkey inside chrome extension seems to mess all up...
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dummyd2
hi all,

v0.5:
  • bugfix: scroll auto on fake system messages (has joined/has left)
  • bugfix: song on message from hidden user when hide message activated
  • bugfix: song on open new tab
  • settings moved on top bar
  • sort user list on user name or rank (user name for secondary sort)
  • top bar light grey when invisible
  • smileys:

    Code: Select all

    :) :D ;) :( :o :? 8-) :x :P :|
  • force room connection when editing near country boundaries
  • background color of alert keywords in message
  • click on highlihted keyword to remove alert
I did not include all requests you send, but I am working on it!

@BobRazowski: I am talking with s.o. who is writing a script to customize all the WME GUI. This could be the right place for your request. I'll keep you informed.

@txupo: does a list of "preferred" users in settings for a 3rd song is good enough? Or do you want to manage this list on the fly depending on the ongoing conversation?

d2
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dummyd2
@pumrum: yes, it is a bug. I will fix it.
@NorfolkMustard: yes, it is a bug. I will fix it :lol: (also activity icon when chat is closed on new hidden message)
@bz2012: some people had to uninstall chrome because they add this script into chrome extensions. Sorry about that, but I am not an expert in chrome extension, and I will try to fix it, but later...
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dummyd2
open the console log (Ctrl-Shift-J) and try to find an error related to chat addon: click on the link on the right of the error message and look at the script source. You can also click on the small triangle on the left of the error message to drop down the call stack of function, and copy-paste it in a PM.
All logs of chat addon are prefixed by "Chat addon v" followed by the version number. You can use filters to display only those messages, but this will hide error messages.
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze