[Script] WME HardHats

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.

Moderators: Unholy, bextein, Glodenox, JustinS83

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.

Re: WME HardHats

Postby rickzabel » Wed Jan 21, 2015 3:37 am

JJohnston84 wrote:In case anyone else experiences this: I had an issue yesterday where this stopped working. Found that setting its order in Tampermonkey to the very end fixed it. Probably some other plugin overriding the image.

Hardhats and chat addon both need to load before the chat's user list populates. otherwise the modifications to the visible live users wont apply until you move away and back. i would argue that setting these two scripts to load first would have more constant results.
[ img ]
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: WME HardHats

Postby rickzabel » Wed Jan 21, 2015 3:52 am

Fredo-p wrote:Hard hat is above Validator again. Is there any way to make the Dunce list a collapsable tab or allow to make it an option to not have it show if users don't want it?


the list is pretty tied in, the easiest solution i have for you would be to manually edit the script and on line 231 paste the following code then save the script and reload wme. this way the script still works but the text box will be hidden, but the tittle and the save will still be visible.

$('#HardHatDunceList').hide();
[ img ]
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: WME HardHats

Postby Fredo-p » Wed Jan 21, 2015 4:21 am

rickzabel wrote:the list is pretty tied in, the easiest solution i have for you would be to manually edit the script and on line 231 paste the following code then save the script and reload wme. this way the script still works but the text box will be hidden, but the tittle and the save will still be visible.

$('#HardHatDunceList').hide();


Added
Code: Select all
$('#HardHatDunceList').hide();
to line 231 but it didn't work. :cry:
Hard Hat mod.jpg
(132.21 KiB) Downloaded 950 times
Fredo-p
Beta tester
Beta tester
 
Posts: 1998
Joined: Mon Aug 05, 2013 4:35 am
Location: Everywhere
Has thanked: 269 times
Been thanked: 640 times

Re: WME HardHats

Postby Fredo-p » Wed Jan 21, 2015 10:40 am

Nevermind. It started working for some reason. It's hidden now.
Fredo-p
Beta tester
Beta tester
 
Posts: 1998
Joined: Mon Aug 05, 2013 4:35 am
Location: Everywhere
Has thanked: 269 times
Been thanked: 640 times

Re: WME HardHats

Postby Olestas » Wed Jan 21, 2015 11:42 am

Does not work for me too.
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6337
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3473 times
Been thanked: 2356 times

Re: WME HardHats

Postby Fredo-p » Wed Jan 21, 2015 3:24 pm

Olestas wrote:Does not work for me too.


Nevermind. It's not working anymore. Don't know what happened.
Fredo-p
Beta tester
Beta tester
 
Posts: 1998
Joined: Mon Aug 05, 2013 4:35 am
Location: Everywhere
Has thanked: 269 times
Been thanked: 640 times

Re: WME HardHats

Postby rickzabel » Wed Jan 21, 2015 5:48 pm

Olestas wrote:Does not work for me too.


on the same line try this instead

$('#HardHatDunceList').css("visibility","none");
[ img ]
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: WME HardHats

Postby rickzabel » Wed Jan 21, 2015 5:49 pm

Fredo-p wrote:
Olestas wrote:Does not work for me too.


Nevermind. It's not working anymore. Don't know what happened.


i forgot about the differences between firefox and chrome, in chrome this works for me.

$('#HardHatDunceList').css("visibility","none");
[ img ]
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: WME HardHats

Postby Fredo-p » Wed Jan 21, 2015 6:02 pm

rickzabel wrote:
Fredo-p wrote:
Olestas wrote:Does not work for me too.


Nevermind. It's not working anymore. Don't know what happened.


i forgot about the differences between firefox and chrome, in chrome this works for me.

$('#HardHatDunceList').css("visibility","none");


So place that in line 231?
Fredo-p
Beta tester
Beta tester
 
Posts: 1998
Joined: Mon Aug 05, 2013 4:35 am
Location: Everywhere
Has thanked: 269 times
Been thanked: 640 times

Re: WME HardHats

Postby rickzabel » Wed Jan 21, 2015 7:54 pm

Fredo-p wrote:So place that in line 231?


that also doesnt work all of the time, remove what i had you add to 231 and change line 146 from

.css("height","50px")

to

.css("height","0px")

then if you wanted to use the list you could still drag it larger
[ img ]
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: RichardPyne