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.

Post Reply
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] Wazebar

Post by
WME Wazebar

Version: 2019.03.19.01

Greasyfork: https://greasyfork.org/en/scripts/27604-wme-wazebar

Description:
Adds a small bar to the top of the screen that allows you to add links to parts of the wiki, forums , unlock forums, your inbox, and the last tile build date/time.
Screenshot - 2_23_2017 , 5_16_49 PM.png
The forum links will display the unread count for the first page of that forum. The inbox will also display an unread count.

It is possible to add any number of regions or states to the bar. You are able to add region forum or wiki links and state forum, wiki or unlock forum links. Each region/state that is added will use the official abbreviation for that region/state in order to save room in the bar area.
Screenshot - 7_24_2017 , 10_32_00 AM.png

Changelog:
2019-03-19 - 2019.03.19.01 - Added an option to display the ROW update date/time
2018-10-16 - 2019.10.16.01 - Fixed a bug where the preview list would not display correctly when an announcement post was unread and marked solved.
2018-04-02 - 2018.04.02.01 - Wazebar is now in a fixed position on forum pages so it stays visible while scrolling threads
2018-03-27 - 2018.03.27.01 - Fixed the regex for unread topics on unlock forum pages and custom forum additions.
2017-12-20 - 2017.12.20.02 - Can now export/import script settings. Especially useful when you edit on multiple PCs and have custom links set up.
2017-10-19 - 2017.10.19.1 - Changing to a new versioning format (current date + build number for the day) so it isn't completely arbritary version number changes.
Adding loading the current state's forum and wiki links to the bar in red. Will update when state boundaries are crossed.
2017-10-16 - 0.4.09 - Changing tile update to pull from status.waze.com as the wordpress site doesn't seem to be updating anymore.
2017-07-07 - 0.4.06 - Delay & configuration added for the unread list display
2017-07-05 - 0.4.05 - Fixed a bug with displaying unread topics when the complete checkmark was in the title
2017-06-30 - 0.4.04 - fix for Waze forum element overlapping Wazebar and preventing links from being clickable
2017-06-09 - 0.4.01 - Unread topics preview
2017-06-08 - 0.4.00 - Customizable header links
2017-06-02 - 0.3.8 - Added customizable colors and font size
2017-05-25 - 0.3.6 - Removed "forum" from the forum links (including inbox) in order to save space. Forum links will now be colored blue and wiki links colored green in order to help the distinction. Fixed a display issue with region forums where the region name has a space. Beta now is able to pull the unread count from the forum.
2017-03-16 - 0.3.5 - Fixed URL check so adding https pages to the favorites should now work correctly.
2017-03-10 - 0.3.0 - Option to load on forum pages. When on forum pages, any forum links followed will load in the current tab, all others will load in a new tab.
2017-03-04 - 0.2.5 - Added favorites/bookmarks
2017-03-01 - 0.2.3 - Added refresh button and WME Beta Forum option
2017-02-24 - 0.2.0 - Fixed support for states that contain a space
2017-02-23 - 0.1.9 - added beta support - will display links but cannot pull unread counts

POSTER_ID:17015339

1

Send a message
Last edited by JustinS83 on Tue Mar 19, 2019 9:17 pm, edited 21 times in total.

Post by Inactive user -1649923503-
This is great, it however does not appear to let me add either the NJ or NY respective links? either by themselves or when I have other states selected.
Inactive user -1649923503-
Posts: 1023
Has thanked: 404 times
Been thanked: 460 times
Send a message
-John
-------
https://j.mp/1BqcgbWhttps://s.waze.tools/c5.png
VT - State Manager
New England - Multi State Manager

carloslaso
Waze Global Champs
Waze Global Champs
Posts: 3300
Answers: 1
Has thanked: 729 times
Been thanked: 1225 times
Send a message

Coordinador de Comunidad en México / Foro MX
Supervisor Noroeste México

iPhone 15 Pro Max / iOS 17ß / Waze ß 4.x

Post by crazycaveman
You can prevent the pop-up from happening on first install by adding the URL to the connect metadata:

Code: Select all

// @connect      wazestatus.wordpress.com
Also, the link from the editor goes to a different page (blogger) from the one you're accessing; don't know if the Wordpress site is going away eventually or not, but thought I'd point it out, just in case.
crazycaveman
US Waze Champs
US Waze Champs
Posts: 857
Has thanked: 226 times
Been thanked: 441 times
Send a message

Post by crazycaveman
Would you be willing to change the URL for the unlock searches to only search the title? Currently, if someone mentions south in the message body for an unlock in North Carolina it will be counted. Maybe even putting quotes around the state name to get an exact match?

Line 249:

Code: Select all

var url = "https://www.waze.com/forum/search.php?keywords=\"" + state + "\"&terms=all&fid%5B%5D=622&sf=titleonly&sr=topics&submit=Search";
Also, is there a reason you have Virginia search for West Virginia in the unlock forum? Or is that supposed to be "-West+Virginia"?
crazycaveman
US Waze Champs
US Waze Champs
Posts: 857
Has thanked: 226 times
Been thanked: 441 times
Send a message

Post by crazycaveman
Would it be possible to add a link to the forum and wiki for the current state you're in? As a CM, I've started trying to branch out and help in other states and it would be nice to easily get to their wiki, but I don't want to have links to every state I'm helping in in the bar...
crazycaveman
US Waze Champs
US Waze Champs
Posts: 857
Has thanked: 226 times
Been thanked: 441 times
Send a message

Post by crazycaveman
Seems that JSColor is borked in a couple lines (653 & 654) in Firefox (your favorite :lol: )

Code: Select all

WazeBarSettings.ForumFontColor = "#" + $('#colorPickerForumFont')[0].jscolor.toString();
WazeBarSettings.WikiFontColor = "#" + $('#colorPickerWikiFont')[0].jscolor.toString();
Getting the following in the console:

Code: Select all

TypeError: $(...)[0].jscolor is undefined [Learn More] eval line 3 > Function:3318:69
    BuildSettingsInterface moz-extension://cd14c293-2a6a-4c55-ab46-f48ae4ef0ff4/userscript.html?id=82c5aba8-400a-4b0e-83ad-d1d61b2930a6:3318
    dispatch https://editor-assets.waze.com/production/js/vendor-b350155b7077605a1932.js:1
    handle https://editor-assets.waze.com/production/js/vendor-b350155b7077605a1932.js:1
crazycaveman
US Waze Champs
US Waze Champs
Posts: 857
Has thanked: 226 times
Been thanked: 441 times
Send a message

Post by DevlinDelFuego
I've had that issue a couple weeks now. I would hit save and it would just sit there and do nothing and not save the settings. I just refresh the page and try to save the settings as fast as possible for it to actually save my settings.
DevlinDelFuego
Area Manager
Area Manager
Posts: 242
Answers: 2
Has thanked: 143 times
Been thanked: 99 times
Send a message

Post by dspille
Looks great! Thank you!
dspille
Country Manager
Country Manager
Posts: 416
Has thanked: 477 times
Been thanked: 139 times
Send a message

Post by dspille
JustinS83 wrote:Update released - 0.4.00

Long awaited - custom links! This will work for forum and wiki links only.
Works great! Thank you!!
dspille
Country Manager
Country Manager
Posts: 416
Has thanked: 477 times
Been thanked: 139 times
Send a message

Post by dspille
I personally like having no delay as well, but I'm having another issue with the hover/mouseover. I get the unread messages popup when I hover over the unread count, but when I move the mouse over the actual unread messages, the popup disappears. If I keep trying, it eventually works. It might be a conflict with Fix UI.
dspille
Country Manager
Country Manager
Posts: 416
Has thanked: 477 times
Been thanked: 139 times
Send a message