We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[code] Voice Mail; requested; By ragingd
Topic Started: Jan 25 2010, 10:56 AM (114 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: ragingd
[code
 
Voice Mail; requested]Well as requested, I created a quick mod for those who want a voice to inform their users when they have a new PM. This will play a quick audio file. So here it is, I used Markup's PM code and tweaked it a bit, so really this is just a tweak of his script!

Preview: http://s8.invisionfree.com/testinggg/ <-- u need to register an account , and pm yourself to see it in action. Plus remember to turn up ur audio, otherwise u'll have no idea that anything happened.

Place this under boardwrappers
Quote:
 

<script>
// Voice Mail - RagingD - http://gfx.by/ifx
//New PM Flasher - By Markup
userLinks=document.getElementById('userlinks');
if(userLinks.innerHTML.match("Inbox"))
{
newMsg=false;
a=userLinks.getElementsByTagName("A");
for(i=0;i<a.length;i++)if(a.innerHTML.match(/Inbox\s\([0-9]+\)/)&&a.innerHTML.match(/[0-9]+/)>0)newMsg=i;
if(newMsg)
{
inbox=a[newMsg];
inbox.style.fontWeight="Bold";
song();
}
}
function song()
{
document.write('<embed src=http://www.ilovewavs.com/Events/GotMail/Mail03.wav width=0 height=0 autostart=true loop="FALSE"></embed>')
}
</script>


change url in red, to whereever u have ur file!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply