HOME | DD

electricjonnyGroup Notifier

Published: 2011-06-07 20:22:50 +0000 UTC; Views: 23047; Favourites: 344; Downloads: 74
Redirect to original
Description --
UPDATE - January 6th, 2016
It seems that when dA went back to the non-beta header a few weeks ago, they slightly changed how messages work, which broke this script.  Turns out they removed the help desk portion of messages and that broke everything in this script.  I've updated it so it works again, only having it make a sound and pop open on new messages might be a tad buggy (haven't fixed that bug yet).  Install from the same link at the bottom

--
UPDATE - October 28th, 2015
This should now work better with the new navigation bar, including rotane's style to move things around up there. Install from the location down below

--
UPDATE - November 4th, 2011
This seems to put the icon under the top bar in Chrome. Not sure why, but I'll try to figure it out later.

--
UPDATE - August 10th, 2011
I made this script work a bit faster, so the time between the group messages icon showing up and fading in to 100 percent opacity is quicker. Install from the same links below to update.

--
UPDATE
The hovering version was made a lot better by Roamn , who gave me some code to keep it from opening and closing over and over.

--
UPDATE
I had a typo on the "Correspondances" tooltip when you hover over that icon, so I've updated it to fix that. Minor correction to fix a typo, but it's been updated as of Wednesday, June 8th, 2011, 5:44 PM EST.

--
Intro
You all may remember my old group messages script that would let you see all the messages in your groups, but that sort of broke when Firefox 4 was released. And it was just a messy script and didn't always work.

Well this is my update to that script, and it works pretty much the same way, without all the hassle that the other script had

--
How it works
So as you can see from the screenshot, this will put in a icon at the top of your page telling you how many group messages you have. Group messages are counted as either notifications (notes or forum threads or whatever) or correspondence items (deviations or affiliates and things). It doesn't count comments, but you can still see any comments you have by just opening the menu up.

Then you can click (or hover) on the icon to open the menu you see in the screenshot. It will list all of your groups, and what message types each group has. This saves you from checking each group folder in your message centre manually to see the messages.

Then you can click on the groups listed there to be taken right to that group folder in your message centre so you can take care of the messages you may have.



If you don't have any messages, or you have any activity messages, the number will be lighter and smaller (since those aren't as important), but if you have any correspondence items, notices, or comments, the number will be white and bold, so you can easily see it.

--
IMPORTANT - Please read
This script has a few things to keep in mind. First and foremost, it may list more things than just your groups. If you have a custom folder you made that could be the name of a group, then it will be listed there (but still accurately say each number of correspondence, notices, comments, and activity). But if your custom folder name has a space in it, any special characters other than - or even a - at the start or end of the folder name, then it won't show up. So you may need to edit your folders and give them a name a group couldn't have. For example, I had a "llamas" custom folder (I was curious to see how many I got and from who years ago) but that would show up in the menu. So I made a new folder, named it "llamas-" (with the - at the end) and then moved all the messages in my old llamas folder to this new llamas- folder and deleted the llamas folder.

The group icon will slide in as soon as the script loads (as you know, user scripts load slightly after the page loads) but it will be partially transparent until it fetches all of your group messages, at which time it will fade up to 100 percent opacity. I had a version that wouldn't do anything, and then once it was all ready, it would pop in, but it was slightly distracting to have it pop in so late after the page loaded. So you won't be able to click (or hover) anything until the group icon is totally opaque. I've had a few times where it never became fully opaque, but a page reload fixed that.

When you hover over each group, you'll see it's a link to your group's folder. Most of the time. The way the HTML structure is, I wasn't able to make the whole "blue hover area" a link, so it's mostly just the group title and each type of message that is a link. But clicking anywhere on it will bring you to your group folder, so don't worry. You just may not be able to open the link in a new tab, depending on where you are hovering. And, this will act funny and open two tabs to your group message centre if you click the a href while in the chat rooms, but I don't expect many people will find that a problem, and I don't really want to fix that

Of course, this won't do much if you don't have group folders in your message centre (meaning you aren't an admin of any group) so don't install this unless you're an admin of any groups

--
To install
This works in both Firefox (with Greasemonkey) and Chrome. Although if you use Chrome, you may want to check out this other extension, which adds a lot more functionality to messages in general.
Group Notifier.user

Just open the zip and then drag the file into your browser.

--
As always, let me know how you like this, and if you have any suggestions or problems


tl;dr: Eh, read it anyway
Related content
Comments: 364

electricjonny In reply to ??? [2011-06-14 05:45:41 +0000 UTC]

From what I know, you can check people's userpage or message centre to find the groups they administrate. Or the get_folders, although since that lists other message centre folders, that's not the best.

Maybe we can ask if the staff can make another DiFi method to give script writers easy access to groups.

I know this extension [link] can find them, but I think it's scraping the page to find them.

👍: 0 ⏩: 1

PostaL2600 In reply to electricjonny [2011-06-14 06:12:14 +0000 UTC]

I believe it so. I know the guy behind it, I'll ask him

👍: 0 ⏩: 0

deerstalkerpress In reply to ??? [2011-06-10 05:45:14 +0000 UTC]

Oh my gaahd you are a lifesaver. Best chrome extension since the message notifier.

👍: 0 ⏩: 1

electricjonny In reply to deerstalkerpress [2011-06-10 05:47:21 +0000 UTC]

Thanks! I'm glad you like it.

👍: 0 ⏩: 0

Spoolaroo In reply to ??? [2011-06-10 05:16:43 +0000 UTC]

This is useless to me so I hate it. I hate lots of things.


But it looks pretty darn useful. Good work. And congrats on the DD. (I don't really hate it.)

👍: 0 ⏩: 1

electricjonny In reply to Spoolaroo [2011-06-10 05:23:11 +0000 UTC]

lmao

👍: 0 ⏩: 0

Netbug009 In reply to ??? [2011-06-10 05:08:40 +0000 UTC]

I've suggested this in the forums and I was mocked! D:

👍: 0 ⏩: 1

electricjonny In reply to Netbug009 [2011-06-10 05:10:22 +0000 UTC]

Oh you're kidding me?

The suggestion regulars are pretty ornery when it comes to suggestions, so maybe they just didn't get it or they couldn't use it enough to see how beneficial it would be

👍: 0 ⏩: 1

Netbug009 In reply to electricjonny [2011-06-10 06:19:42 +0000 UTC]

Of course, the fact that I don't have coding skill probably didn't help.

Anyways, this is a great extension. Already downloaded it and love it. Thank you!

👍: 0 ⏩: 1

electricjonny In reply to Netbug009 [2011-06-10 06:28:11 +0000 UTC]

I'm glad you like it

👍: 0 ⏩: 0

MiraKHall In reply to ??? [2011-06-10 04:59:46 +0000 UTC]

This is much better Hope it gets through in the next site revision. (Highly doubt I can install this myself without screwing things over )

👍: 0 ⏩: 1

electricjonny In reply to MiraKHall [2011-06-10 05:09:00 +0000 UTC]

Thanks

Yeah I imagine everyone would like this, but I kind of doubt they would add it in officially. But who knows

👍: 0 ⏩: 1

MiraKHall In reply to electricjonny [2011-06-10 19:45:09 +0000 UTC]

BTW, how DO you install this? I noticed that it's basically a script that one can copy and paste, but I'm not sure WHERE to paste it (I have FireFox, FYI).

👍: 0 ⏩: 2

electricjonny In reply to MiraKHall [2011-06-11 00:57:51 +0000 UTC]

If you use Firefox, you will need the Greasemonkey extension [link] to use this

👍: 0 ⏩: 1

MiraKHall In reply to electricjonny [2011-06-11 01:09:16 +0000 UTC]

Greasemokey. Got it. Thanks

👍: 0 ⏩: 0

42pixel In reply to MiraKHall [2011-06-10 20:05:45 +0000 UTC]

A little how-to from userscripts.org:
[link]

👍: 0 ⏩: 1

MiraKHall In reply to 42pixel [2011-06-11 00:40:45 +0000 UTC]

I'll get my bro to work on that when I get my paws on him. Man's been busy as heck collecting scrap metal, but he still owes me a defrag, darnit.

👍: 0 ⏩: 0

todd18 In reply to ??? [2011-06-10 04:27:02 +0000 UTC]

OH MY GOODNESS! This is full of so much FUCKING WIN! Installed it and it's easier to use. ROCK ON MAAAAN!

👍: 0 ⏩: 1

electricjonny In reply to todd18 [2011-06-10 04:29:46 +0000 UTC]

I'm glad you like it

👍: 0 ⏩: 1

todd18 In reply to electricjonny [2011-06-10 04:35:19 +0000 UTC]

'EEEEL YEAH!It slides in on the end when my page completely loads. Awesome man...just awesome.

👍: 0 ⏩: 1

electricjonny In reply to todd18 [2011-06-10 05:07:34 +0000 UTC]

Haha, yeah I did that just to make it smoother, so it doesn't just pop in all of the sudden.

👍: 0 ⏩: 0

cherrichan13 In reply to ??? [2011-06-10 03:39:25 +0000 UTC]

This is beautiful. My life just got much easier. Thank you.

👍: 0 ⏩: 1

electricjonny In reply to cherrichan13 [2011-06-10 03:44:31 +0000 UTC]

You're welcome

👍: 0 ⏩: 0

sanoshinna In reply to ??? [2011-06-10 03:32:57 +0000 UTC]

This is glorious! Congrats on the DD and thank you for taking the time to make this script.

👍: 0 ⏩: 1

electricjonny In reply to sanoshinna [2011-06-10 03:38:29 +0000 UTC]

Thanks

👍: 0 ⏩: 0

Griff-Kendu In reply to ??? [2011-06-10 01:57:04 +0000 UTC]

I love this! It's so useful, thanks so much!

👍: 0 ⏩: 1

electricjonny In reply to Griff-Kendu [2011-06-10 02:52:44 +0000 UTC]

No problem

👍: 0 ⏩: 0

jinnyhinkle In reply to ??? [2011-06-10 01:44:41 +0000 UTC]

Awesome!

👍: 0 ⏩: 1

electricjonny In reply to jinnyhinkle [2011-06-10 02:52:54 +0000 UTC]

Thanks

👍: 0 ⏩: 0

42pixel In reply to ??? [2011-06-09 22:26:10 +0000 UTC]

It works great with Opera!

👍: 0 ⏩: 2

freaky208 In reply to 42pixel [2011-06-10 07:41:50 +0000 UTC]

Really? Could you please tell me how to download it? I just clicked on the links above, and I got a page with lots of words and numbers...

👍: 0 ⏩: 1

42pixel In reply to freaky208 [2011-06-10 09:31:01 +0000 UTC]

It is just a little more complicated that in firefox.

Here is an HowTo for opera: [link]

Opera shows the complete source-code. You have to save the file with "words & numbers" into the specified (see tutorial) folder. Just reload the page and you will see what the script has done.

👍: 0 ⏩: 1

freaky208 In reply to 42pixel [2011-06-10 09:43:42 +0000 UTC]

..Okay, now I'm a little stuck. I followed the tutorial upto "You then select Content from the list on the left of the window and then the Javascript Options button". When I tried to save the script directly from Opera (as .js file), I found that it saved as an unidentified document :/, which could not be opened.

👍: 0 ⏩: 1

42pixel In reply to freaky208 [2011-06-10 10:57:57 +0000 UTC]

When I saved it, it's saved as .js-Document. Maybe you can use the Explorer (if you using Windows) and rename the saved script from "group_notifier-final-hover.user" to "group_notifier-final-hover.user.js"

Maybe it's an missunderstanding in the "Prefecerens"-Dialogue you don't save the document. This is for opera, so the programs knows where the user scripts are saved. You have to download the document separately after setting the preferences.

👍: 0 ⏩: 1

freaky208 In reply to 42pixel [2011-06-10 19:49:06 +0000 UTC]

It didn't work Basically, when opening the link in a new tab, and saving it, that's where the problem begins...maybe I should just consider downloading Mozilla Firefox lol

👍: 0 ⏩: 1

42pixel In reply to freaky208 [2011-06-10 20:10:44 +0000 UTC]

Strange. I had no problem when downloading. Then use FF, the script is worth it.

👍: 0 ⏩: 1

freaky208 In reply to 42pixel [2011-06-10 20:36:59 +0000 UTC]

Alright. Thanks for your help

👍: 0 ⏩: 0

electricjonny In reply to 42pixel [2011-06-10 02:53:42 +0000 UTC]

Oh wow, really? I never tested it in Opera (or even knew user scripts could work in Opera), but it's awesome to hear that

👍: 0 ⏩: 2

42pixel In reply to electricjonny [2011-06-10 20:02:06 +0000 UTC]

I added for me a 5px padding-top to .folderNames. Now it's (in Opera, maybe this isn't necessary in FF) more like the original DA-Menu.

👍: 0 ⏩: 1

42pixel In reply to 42pixel [2011-06-10 20:09:23 +0000 UTC]

Ups, i added: padding:5px 0;

👍: 0 ⏩: 0

42pixel In reply to electricjonny [2011-06-10 09:32:36 +0000 UTC]

Not all user-scripts are working - but (what a luck) most of them.

👍: 0 ⏩: 0

YippieYaYeeh In reply to ??? [2011-06-09 22:08:57 +0000 UTC]

Thank you! Its really useful! <4

👍: 0 ⏩: 3

electricjonny In reply to YippieYaYeeh [2011-06-10 02:54:00 +0000 UTC]

I'm glad you're liking it

👍: 0 ⏩: 0

WH1T3-N0153 In reply to YippieYaYeeh [2011-06-10 01:36:44 +0000 UTC]

<4

👍: 0 ⏩: 1

YippieYaYeeh In reply to WH1T3-N0153 [2011-06-10 10:30:40 +0000 UTC]

xD

👍: 0 ⏩: 0

YippieYaYeeh In reply to YippieYaYeeh [2011-06-09 22:09:05 +0000 UTC]

*<3 lol

👍: 0 ⏩: 0

Birdie121 In reply to ??? [2011-06-09 21:47:42 +0000 UTC]

That is such a great feature! I didn't like being an Admin for more than one group because it was hard to shift between the messages for each of them. This would make it so much easier

👍: 0 ⏩: 1

electricjonny In reply to Birdie121 [2011-06-10 02:55:36 +0000 UTC]

Yeah, you would see you got a group message, then play the game of sifting through each and every group to find out where the messages are. I'm happy you like it!

👍: 0 ⏩: 0

HellsPlumber In reply to ??? [2011-06-09 21:32:25 +0000 UTC]

Finally, the way it SHOULD have been

👍: 0 ⏩: 1

electricjonny In reply to HellsPlumber [2011-06-10 02:55:54 +0000 UTC]

Haha thanks

👍: 0 ⏩: 1


<= Prev | | Next =>