Deviant Login Shop
 Join deviantART for FREE Take the Tour
×



Details

Submitted on
June 7, 2011
Image Size
75.2 KB
Resolution
849×802
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
14,113
Favourites
366 (who?)
Comments
343
Downloads
69
×
Group Notifier by electricjonny Group Notifier by electricjonny
--
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 :D

--
How it works
So as you can see from the screenshot, this will put in a :groups: 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 :slow:

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 :B

--

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.

If you want a version where you need to click on the group icon to open up the menu, then click or copy/paste here:

http://electricjonny.com/code/group_notifier-final.user.js



If you want the version where all you do is hover over the group icon, then click or copy/paste here:

http://electricjonny.com/code/group_notifier-final-hover.user.js



Personally, I like the version where you click, since I'm not fond of stuff popping up when I hover, but you can pick for yourself ;)

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


tl;dr: Eh, read it anyway :B
Add a Comment:
 

Daily Deviation

Given 2011-06-09
Group Notifier by `electricjonny
CATEGORY: deviantART Related / deviantART Skins & Scripts / Browser Scripts and Extensions:
The suggester states, "This is what you needed to stay up to date with your groups. Now that you know, Download it."
Works with Firefox© 4 and Chrome©! For those of us who have our Groups maxed out (3 for non-subscribers and 10 for those with Premium Memberships) this script is a time saver! ( Suggested by TimberClipse and Featured by WDWParksGal )
:iconntim007:
ntim007 Featured By Owner Oct 10, 2013
it no longer works properly now :(
Reply
:iconelectricjonny:
electricjonny Featured By Owner Oct 10, 2013  Hobbyist Photographer
Yeah, there's a bug where it will show up twice (the icon), but clicking the right-most one will still display the overall group messages.  I may be able to fix it (so there's not two icons), but not sure when.
Reply
:iconpokemonrulespikaa:
PokemonRulesPikaa Featured By Owner Jul 28, 2013  Hobbyist Digital Artist
Can you tell me how to make a group?, <3
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jul 28, 2013  Hobbyist Photographer
Your best bet is to visit makeagroup.deviantart.com/ :)
Reply
:iconpokemonrulespikaa:
PokemonRulesPikaa Featured By Owner Jul 30, 2013  Hobbyist Digital Artist
Thank u <3
Reply
:iconwinehaus:
winehaus Featured By Owner May 15, 2013
Jonny, I'm in love with this extension but I can't seem to be able to re-install it into Chrome. :shakefist:

All I get is a message saying I can't add extensions to Chrome and there's no option to save it anywhere. :confused:
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 16, 2013  Hobbyist Photographer
:confused:

I am not a fan of Chrome, so I don't know much about it.

But I do remember something about Chrome not allowing scripts from not-the play store, so that may be the cause here. Try to download the scripts, then install them from the extensions page. Directly. Open the extension page, then drag/drop the script from there.
Reply
:iconwinehaus:
winehaus Featured By Owner May 16, 2013
This is what I normally do, but I'm not sure how to download the script. :o
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 16, 2013  Hobbyist Photographer
Well it's quite simple. Just download the script and install? :slow:
Reply
:iconwinehaus:
winehaus Featured By Owner May 16, 2013
Oh. :slow: I thought it wasn't downloading.
Reply
Add a Comment: