Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Add "You've got mail!" to your forum

Quote Reply
Add "You've got mail!" to your forum
Depending on your user's skill level - some people fail to realize that they have a message waiting for them. I added a quick line of code to add an audible greeting notifying them that they have mail:

<%if current_user_new_messages%> <embed src="http://www.yoursite.com/sounds/filename.wav" autostart=true hidden=true loop=false>
<%endif%>


I originally added this to the include_header template, but you received the sound file - even after clicking on "messages" - because it loads the header and the "messages" page loads include_header.html ...

So, I inserted this in two places just under <%body_tag%>: category_view and forum_view

After using it for a while, I backed off of forum_view - they will hear it enough off of the main category view.

I also found a great site with neat wav files for mail:

http://www.slonet.org/~rloomis/mailcall.html

Hope someone else finds benefit from this - I know my users have!

This feature could be jazzed up a little by a coder - just like avatars, people could select from a few messages in EDIT USER PROFILE - not upload their own, but select from multiple greatings.

Ideally, they hear the message once and are not bothered again, but hey - I want them to check their mail Blush!

Last edited by:

shiner: Jun 19, 2002, 12:58 PM
Subject Author Views Date
Thread Add "You've got mail!" to your forum shiner 6893 Jun 19, 2002, 12:44 PM
Thread Re: [shiner] Add "You've got mail!" to your forum
shiner 6665 Sep 12, 2002, 10:15 AM
Thread Post deleted by shiner
shiner 6659 Sep 12, 2002, 12:54 PM
Thread Re: [shiner] Add "You've got mail!" to your forum
ellipsiiis 6647 Sep 12, 2002, 11:24 PM
Thread Post deleted by shiner
shiner 6613 Sep 13, 2002, 7:44 AM
Thread Post deleted by shiner
shiner 6546 Sep 22, 2002, 9:33 PM
Thread Re: [shiner] Add "You've got mail!" to your forum
maxpico 6334 Nov 17, 2002, 7:34 AM
Thread Re: [maxpico] Add "You've got mail!" to your forum
shiner 6302 Nov 18, 2002, 8:09 AM
Thread Re: [shiner] Add "You've got mail!" to your forum
maxpico 6306 Nov 20, 2002, 3:45 AM
Post Re: [maxpico] Add "You've got mail!" to your forum
shiner 6155 Dec 10, 2002, 7:50 PM