6.0.0-beta1
7/27/25

[#4319] Alarm Notification Popup
Summary Alarm Notification Popup
Queue Kronolith
Queue Version HEAD
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester webmgr (at) muskingum (dot) edu
Created 08/22/2006 (6914 days ago)
Due
Updated 12/18/2006 (6796 days ago)
Assigned
Resolved 12/18/2006 (6796 days ago)
Milestone
Patch No

History
12/18/2006 10:42:20 PM Jan Schneider Comment #11
State ⇒ Rejected
Reply to this comment
I'm currently working on an all-purpose Alarm framework that would 
make this patch obsolete. But we can leave the patches here for an 
intermediate solution if anyone requires it.
12/18/2006 09:39:45 PM webmgr (at) muskingum (dot) edu Comment #10
New Attachment: reminder.wav Download
Reply to this comment
And here is the wav file... again, might want to use something else, 
but I didn't have any files handy that I liked better for this.
12/18/2006 09:38:40 PM webmgr (at) muskingum (dot) edu Comment #9
New Attachment: alarms.php Download
Reply to this comment
Here is the alarms.php file associated with the project.
12/18/2006 09:37:55 PM webmgr (at) muskingum (dot) edu Comment #8
New Attachment: Kronolith_Summary_Block.patch Download
Reply to this comment
OK, I've finally made some progress on this. The functionality works 
as follows:



1. Set an event with an alarm.

2. Add the Calendar Summary block to your portal page... set a 1-5 
minute Refresh.

3. Return to the Portal page and when the alarm is set to trigger, the 
next block refresh will generate the popup window.



Now, that said... the limitation to this implementation is that it is 
forced... it is not a preference, as I have no idea how to approach 
that right now. With some guidance, I am willing to code it. 
Otherwise, I'll leave that to you guys as the experts.



Also, the popup itself is very basic... no event details, just a "hey! 
you have an event! click here for your calendar!". This is something 
I'll add later unless someone else wants to do it sooner.



If there are any modifications that anyone wants to make before 
implementation, by all means make them... this is just something quick 
to have the functionality.



The code can be reused elsewhere besides the Summary block... it can 
easily be added to the other views, and I plan on adding it to the Nag 
summaries soon... At some point, I can see this becoming part of the 
sidebar menu for Kronolith.



Finally, might want to replace the wav with something else... I hawked 
the Microsoft Office reminder.wav for the time being.

-------------

kronolith/lib/Block/summary.php



Also requires:

kronolith/alarms.php

kronolith/themes/graphics/audio/reminder.wav
09/20/2006 05:17:11 PM Chuck Hagenbuch Comment #7
State ⇒ Stalled
Reply to this comment
Okay. We'll un-stall this when there's progress. Thanks for the update.
09/20/2006 05:04:03 PM webmgr (at) muskingum (dot) edu Comment #6 Reply to this comment
I meant upload a patch, of course.
Yes, I intend to do so... however, I've been swamped with some other 
projects and have not completed this yet.
09/20/2006 04:44:16 PM Chuck Hagenbuch Comment #5 Reply to this comment
I meant upload a patch, of course.
09/20/2006 04:37:43 PM Chuck Hagenbuch Comment #4 Reply to this comment
Are you going to update the patch?
08/22/2006 12:10:17 PM webmgr (at) muskingum (dot) edu Comment #3 Reply to this comment
Those assumptions (about popup blockers and sound) are fine, but
enhancements/new functionality *must* be against HEAD. It'll be
backported to either 2.1.x or 2.2 as appropriate once it's stable in
the dev code.
Thanks for the info, I will make it so.
08/22/2006 05:37:14 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Version ⇒ HEAD
Reply to this comment
Those assumptions (about popup blockers and sound) are fine, but 
enhancements/new functionality *must* be against HEAD. It'll be 
backported to either 2.1.x or 2.2 as appropriate once it's stable in 
the dev code.
08/22/2006 03:16:52 AM webmgr (at) muskingum (dot) edu Comment #1
Priority ⇒ 1. Low
State ⇒ New
Queue ⇒ Kronolith
Summary ⇒ Alarm Notification Popup
Type ⇒ Enhancement
Reply to this comment
I'm not completely finished, but I thought I'd post this before anyone 
else begins work on it to try to prevent any duplicated efforts.



I'm working on an Alarm Notification popup window that will generate 
when the sidebar notices appear under Kronolith.



The way it will work is that whenever the sidebar refreshes itself, if 
a new alarm appears under Calendar, it will trigger the window (and 
the window will generate a sound).



When the user clicks on the window, it will report that there is a new 
alarm, and offer them a link to click to view their calendar. Clicking 
the link will display the main Horde window.



This will have two assumptions with it-- that they are not running a 
popup blocker (or that they add the site to their allowed list), and 
also that they have some way of hearing the sound file.



I will post all the necessary code changes and files here when it's 
"ready" and tested (this weekend barring any catastrophe on my end), 
and I would be thrilled if it could be included in future releases. 
I'm sure it will be appreciated by many over the current alarms 
functionality.

Saved Queries