Notifications

Flying Drupalist - December 7, 2008 - 02:40
Project:Tribune
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Carrying on a conversation through the tribune can be hard because of the lack of notifications upon post. Is it possible to flash the tab or make it sound upon post? Thanks.

#1

SeeSchloss - December 8, 2008 - 15:01
Status:active» postponed (maintainer needs more info)

Well, when a new post appears a « * » is prepended to the tab title, and a « # » when the new post is an answer to one of your posts. Making is blink is far too annoying IMO, and making sound requires flash (and is even more annoying). Does the */# notification not work for you ?

#2

pkej - December 8, 2008 - 15:29

An idea, how about using the "message" system for drupal, you know the error, warning areas in the top of the content area? There it could show once a notice (the green notice) "New activity in tribune channel".

#3

Flying Drupalist - December 8, 2008 - 23:16

Hmm it doesn't work if I change applications, such as from Firefox to safari. But it works on 2 firefox tabs. I would still like a blink option though if possible, and sound would be good too, I'm already using soundmanager elsewhere so to me it's no big deal, though I understand if you don't want that with this module.

#4

SeeSchloss - March 9, 2009 - 19:26

You can't use drupal_set_message() because the new posts are reloaded via AJAX, the messages would never show.

I won't do sound things my self, though anyone could write a filter for that, if they want. Also, making a tab blink in Firefox is simply not possible as far as I know.

The */# notification disappears if you move your mouse over the page, or at least it should. The closest possible thing I see from what you want is to make the tab title itself blink? That is, making it alternatively empty or normal, or maybe all "######"/normal.

#5

Flying Drupalist - March 9, 2009 - 22:29

Thanks, I think I'm satisfied with what we have now after hearing about what's possible and what's not.

#6

pkej - March 10, 2009 - 11:42

The tab might blink, and probably the title of the page can be updated. It is done by gmail and mibbit.com has my tab in firefox flashing "People said Stuff" everytime someone is saying something in #drupal or #drupal-support.

I *guess* they just use javascript to trigger an alternating text mibbit.com/people said stuff, and blink that a couple of times. The tab isn't changing its color.

#7

SeeSchloss - March 12, 2009 - 15:34

So that's what I said, « making it alternatively empty or normal, or maybe all "######"/normal. »

Flashing things annoy me, but it could be a setting or something, if you like ? From what I understand of their obfuscated code, mibbit's way to do that isn't too elegant, but it does nothing more than setting document.title to "* people said stuff *" and "[ mibbit.com ]" alternatively for a second or so.

 
 

Drupal is a registered trademark of Dries Buytaert.