HOME | DD

electricjonnyGroup Notifier

Published: 2011-06-07 20:22:50 +0000 UTC; Views: 23055; 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

catluvr2 In reply to ??? [2011-06-09 07:25:14 +0000 UTC]

... the icon's grayed out for me.

👍: 0 ⏩: 2

electricjonny In reply to catluvr2 [2011-06-09 07:32:49 +0000 UTC]

Hmm, it's not loading, at all? Even after a page refresh? What browser (and version), and is your internet particularly slow?

👍: 0 ⏩: 1

catluvr2 In reply to electricjonny [2011-06-09 16:16:04 +0000 UTC]

No, it doesn't work even after a page refresh.

Firefox 4.0.1 and no, my internet isn't particularly slow.

The overall group message count is there next to the group icon, but it's always grayed out.

I was looking forward to using this, too.

👍: 0 ⏩: 2

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

Actually, how many custom folders do you have? A whole lot? You're not in too many groups, but if you have a lot of custom folders, and custom folders that could be a group name, that might slow things down so much that it just times out and never works.

👍: 0 ⏩: 1

catluvr2 In reply to electricjonny [2011-06-09 21:18:12 +0000 UTC]

I deleted some custom folders, and it's still not working.

Can you give me some ideas as to what folders to delete (since I can't rename them like I can with Gallery folders)?

They are as follows:

Admin messages
Admins and Seniors
Artisan Activity
Avatar Luff
Badges
BannedFavs
Birthday Bonanza
Comment Control
Contest Entries
Cool Stuff
Current
Customization Cuddles
DD Messages
Devious Fun
devwatch
devwatch 2
Emote favs
FanArt Fun
favbomb
featured notice
FewFaves
Flash Fun
FreeAvatarProject
Journals to look at
Lit Love
Made for Prints Madness
Mario
Neverhood
Photo
Pixel positivity
Plushie Stuff
Points
PopularMessages
pottersharemembers
Print Processing
ProjectPlusfav
stamp support
Traditional Art
UnsortedFavs
y and z

That's AFTER I deleted a couple folders that I thought may have problems...

👍: 0 ⏩: 1

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

Ah ok, and those are all folders in your message centre, like the 4 I have here? [link]

I think the problem is the number of folders you have. I never thought people would have that many, so the way the script works is having to do a lot of work because of that.

Already, if the script even loads, it would display all the single word folders you have here, as if they were groups. You would need to make new folders of each of those, only tacking on a - or $ or some other character in there. And that's just to make them not show up on the drop down list.



I'll rework the script a bit and try to make it work better for people who have a lot of custom folders. I'll reply back if I get that working better.

👍: 0 ⏩: 1

catluvr2 In reply to electricjonny [2011-06-10 11:16:58 +0000 UTC]

Yeah, they're all folders I have.

👍: 0 ⏩: 1

electricjonny In reply to catluvr2 [2011-06-11 01:08:01 +0000 UTC]

Sorry, but I don't think this can work for you I tried to make it ignore custom folders, but it's not working. I'm sorry

👍: 0 ⏩: 2

fellaNOESplz In reply to electricjonny [2011-06-12 13:48:50 +0000 UTC]

It works on this account, but this account doesn't have any groups that it's a founder of.

👍: 0 ⏩: 0

catluvr2 In reply to electricjonny [2011-06-11 07:38:27 +0000 UTC]

Okay. Thanks for trying, anyways!

👍: 0 ⏩: 0

electricjonny In reply to catluvr2 [2011-06-09 16:31:57 +0000 UTC]

Hmm

The only other thing I can think of is another script conflicting with it, although even that doesn't sound likely. Maybe some other extension or something? Something like NoScript?

👍: 0 ⏩: 1

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

What's the site you use?

Also, I don't think it's that because it still shows up partially (the grayed out part, anyways).

👍: 0 ⏩: 1

electricjonny In reply to catluvr2 [2011-06-10 03:13:45 +0000 UTC]

What's the site I use? Haha sorry, is that a joke about NoScript and the fact that dA is a very script heavy site?

Anyway, the script will add in the button, then march off to another page and start iterating through the page to find all of your messages in each folder - including folders that may not be groups. Then once it finishes, it will turn the button fully opaque indicating that the script is done.

My only guess as to why it's not doing that, is because you have a ton of folders with a lot of things in them. If that's not the case, I'm not sure what the problem could be You can try disabling other scripts and extensions, to try to simplify things, but that's a lot of work you may not want to do.

👍: 0 ⏩: 0

catluvr2 In reply to catluvr2 [2011-06-09 07:27:21 +0000 UTC]

AND that's after the page is loaded for a while.

👍: 0 ⏩: 0

SaTaNiA In reply to ??? [2011-06-09 07:23:23 +0000 UTC]

ANOTHER DD
CONGRATZ MAH FRIEND

👍: 0 ⏩: 1

electricjonny In reply to SaTaNiA [2011-06-09 07:31:54 +0000 UTC]

Thank you

👍: 0 ⏩: 0

Khallandra In reply to ??? [2011-06-09 07:19:31 +0000 UTC]

Awesome, I was after something like this

👍: 0 ⏩: 1

electricjonny In reply to Khallandra [2011-06-09 07:31:42 +0000 UTC]

I hope you find it useful

👍: 0 ⏩: 0

catluvr2 In reply to ??? [2011-06-09 07:17:32 +0000 UTC]

Congrats on the DD!

This'll come in handy.

👍: 0 ⏩: 1

electricjonny In reply to catluvr2 [2011-06-09 07:31:21 +0000 UTC]

Thanks

👍: 0 ⏩: 0

Lit-Twitter In reply to ??? [2011-06-09 07:08:23 +0000 UTC]

Chirp, it's been twittered. [link]

👍: 0 ⏩: 0

SparkLum In reply to ??? [2011-06-09 07:02:50 +0000 UTC]

Oh shit, I thought this was just a visual suggestion.

Beautiful script! I don't use Groups though XD

👍: 0 ⏩: 1

electricjonny In reply to SparkLum [2011-06-09 07:30:18 +0000 UTC]

Nope, working script

Thanks

👍: 0 ⏩: 1

SparkLum In reply to electricjonny [2011-06-09 07:31:19 +0000 UTC]

(you know I saw it like 4 times too? Only when it gets a DD am I like "oh, duh.")

👍: 0 ⏩: 1

electricjonny In reply to SparkLum [2011-06-09 07:38:50 +0000 UTC]

Oh you saw this already?

👍: 0 ⏩: 1

SparkLum In reply to electricjonny [2011-06-09 07:41:03 +0000 UTC]

Yes, I watch you, and saw it go into iterators and deviantARTconcept 'cause I watch both of them. So it getting a DD would be the fourth time I saw it.

I'm slow shut up

👍: 0 ⏩: 1

electricjonny In reply to SparkLum [2011-06-09 07:43:03 +0000 UTC]

Haha, no worries. It's probably only instantly recognizable if you do a lot with groups anyway… Although the name sort of gives it away too

👍: 0 ⏩: 1

SparkLum In reply to electricjonny [2011-06-09 07:44:12 +0000 UTC]

SHHHH

You should just do like some people do when they upload an animation, just put the word "SCRIPT" in flashing red and white letters on the preview

👍: 0 ⏩: 1

electricjonny In reply to SparkLum [2011-06-09 07:45:52 +0000 UTC]

lol

👍: 0 ⏩: 0

Zanarky In reply to ??? [2011-06-09 00:29:09 +0000 UTC]

Genius script!

👍: 0 ⏩: 1

electricjonny In reply to Zanarky [2011-06-09 00:30:59 +0000 UTC]

Haha yeah, I really can't live without it now

I'm glad you like it

👍: 0 ⏩: 0

exarobibliologist In reply to ??? [2011-06-08 20:05:46 +0000 UTC]

SWEET!!! THIS SCRIPT MAKES ME TALK IN CAPS TO EXPRESS APPRECIATION!!

👍: 0 ⏩: 1

electricjonny In reply to exarobibliologist [2011-06-08 21:27:37 +0000 UTC]

Well that's a bug I didn't expect. But I don't mind

Glad you like it

👍: 0 ⏩: 0

mastersporeo In reply to ??? [2011-06-08 05:22:14 +0000 UTC]

cool script jonny! thanks!

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2011-06-08 05:29:23 +0000 UTC]

I'm glad you like it

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2011-06-08 05:47:02 +0000 UTC]

it responds quicker to the hover than my normal dA menus well done, seems to work great!

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2011-06-08 05:49:48 +0000 UTC]

lmao, that's good

I hope you find it useful, for your groups

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2011-06-08 06:02:36 +0000 UTC]

Indeed it always bugged me having to sort through my groups looking for which ones were giving me messages.

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2011-06-08 06:07:22 +0000 UTC]

Haha yeah totally. Especially if you're in more than a couple groups. You get a group message, then if it's not in that first one, you have to go through each one to find it. So annoying

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2011-06-08 06:16:26 +0000 UTC]

exactly! I always felt like that didn't make sense.

👍: 0 ⏩: 0

quixotic-spark In reply to ??? [2011-06-08 02:29:55 +0000 UTC]

Very helpful!

👍: 0 ⏩: 1

electricjonny In reply to quixotic-spark [2011-06-08 02:37:19 +0000 UTC]

Glad you like it

👍: 0 ⏩: 1

quixotic-spark In reply to electricjonny [2011-06-08 02:42:58 +0000 UTC]

Sorry about the sudden fav-bombing.

👍: 0 ⏩: 1

electricjonny In reply to quixotic-spark [2011-06-08 02:50:09 +0000 UTC]

lol it's alright.

👍: 0 ⏩: 0

SanguineEpitaph In reply to ??? [2011-06-08 02:09:08 +0000 UTC]

WOWOWOWOW.
This is really awesomely done! I see what you mean about the name of the folders becoming groups, but that's not a big problem (and it could also help me to remember to check those folders! ). This extension is definitely something that I'm sure will be very helpful. Well done.

👍: 0 ⏩: 1

electricjonny In reply to SanguineEpitaph [2011-06-08 02:17:55 +0000 UTC]

Thanks

Yeah the folder stuff is a bit annoying, but you can work around it (by making a new folder then moving things into it), so it's not too bad. I could have maybe fixed that, but it would have added extra time before the script could load.

👍: 0 ⏩: 1

SanguineEpitaph In reply to electricjonny [2011-06-08 02:23:08 +0000 UTC]

It's a minor annoyance. I just renamed the folders and it worked then, which is good! One suggestion I would make for any future updates is to maybe have the groups with zero messages in all categories (Activity, Affiliation, etc.) disappear from the menu. Just like the other message center icons, which disappear if there are no messages.


But just a thought. I love how it is now.

👍: 0 ⏩: 2

electricjonny In reply to SanguineEpitaph [2011-06-08 02:28:14 +0000 UTC]

But maybe. I'll play with it and see. It just sounds more confusing, for some odd reason.

👍: 0 ⏩: 1

SanguineEpitaph In reply to electricjonny [2011-06-08 02:32:00 +0000 UTC]

Right! It was just an idea, but I get how it can be confusing.

👍: 0 ⏩: 0

electricjonny In reply to SanguineEpitaph [2011-06-08 02:26:58 +0000 UTC]

Hmm, I'm not sure I'll do that. Maybe it's just me, but I'd prefer to see them all listed, with messages or not

👍: 0 ⏩: 0


<= Prev | | Next =>