Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Sound notification Details »»
Sound notification
Version: 1.00, by karim004 karim004 is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.0 RC 3 Rating:
Released: 04-14-2008 Last Update: Never Installs: 36
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

a audible alert [ You've got mail ] will let you know that you have recieved a PM. also Until you open a pm, you are notified each time by a sound that plays once when you load a page.

open template navbar and find :
Quote:
<if condition="$show['notifications']">
add after
Quote:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="0" height="0" id="gotmail" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Soundnotification.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="Soundnotification.swf" quality="high" bgcolor="#ffffff" width="1" height="1" name="gotmail" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
right click and save this file Audible Alert
upload where you want just change the red text {{{ Soundnotification.swf }} with the full link

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-09-2008, 05:48 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well ie sucks anyways

but yes it dose work with IE7 i have tested it cause thats the only player that will work with both and have a visulizer (if enabled)

you are probally just missing the windows media player plugins for IE

but anyways who cares about IE ?? Its horriable and should have never been invented

i tell all my members that use IE to get FF

and i even have a message displayed to members who use IE to get FF and give them a dl link lol and its from google adsence

trust me i have been making websites for a few years now with html xhtml and all that crap and vb

personly i can code a site perfectly and look at it in FF and it looks the way its suposed to
but then if you look at it in IE its just jacked up

but anyways back on subject try finding plugins for WMP for IE that should make it work for you
Reply With Quote
  #23  
Old 05-09-2008, 01:56 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im with you bro on FF i tell my members all the time , sadly my Analytics says i have double the members using IE than FF so i have to find a happy medium .

And this sound plays needs to only play on forum home as it triggers on everypage

Thread, then again on inbox , then again on the message

it keeps playing 3 times at leaset as the notification doesnt go away when your click on notifications in the nav bar you have to listen to it untill you read all your messages ect..

BLAHHHHHHH !

Find a code that works on IE and FF out the box and only plays once on initial notification and im there dude
Reply With Quote
  #24  
Old 05-09-2008, 06:34 PM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
Im with you bro on FF i tell my members all the time , sadly my Analytics says i have double the members using IE than FF so i have to find a happy medium .

And this sound plays needs to only play on forum home as it triggers on everypage

Thread, then again on inbox , then again on the message

it keeps playing 3 times at leaset as the notification doesnt go away when your click on notifications in the nav bar you have to listen to it untill you read all your messages ect..

BLAHHHHHHH !

Find a code that works on IE and FF out the box and only plays once on initial notification and im there dude


well here is what you need to make it only play on the forum home page

put before the code
<if condition="THIS_SCRIPT === 'index''">

put after the code
</if>


if you want it to play on vb advanced portal as well then use this before the code

<if condition="THIS_SCRIPT === 'index' OR THIS_SCRIPT === 'adv_index'">

but as i said it should work with IE and FF
as i have test it on both and it works
so you probaly just need a windows media player plugin for it to work on IE
most people have that plugin so idk what else to say
thats the only media player that i have found to work on both IE and FF
so thats all i can help you with im sorry
Reply With Quote
  #25  
Old 05-13-2008, 05:24 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea but question is will that make it only play once

right now, u get a PM the PM popup only comes one time per new PM
Reply With Quote
  #26  
Old 05-15-2008, 10:13 AM
T2L T2L is offline
 
Join Date: Apr 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am NEW here - but im keen to test this out - and I require your assistance:
I am unsure of where to place the file within the directory structure on the server

Quote:
{{{ Soundnotification.swf }} with the full link
can you give me an example of 'the full link' (is it a path to the file? ) and location for the actual swf file.
Thank you
Reply With Quote
  #27  
Old 05-15-2008, 04:11 PM
joopster joopster is offline
 
Join Date: Mar 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have 3.7 and no instance of the notifications when doing a search. anywhere else to add?
Reply With Quote
  #28  
Old 05-15-2008, 07:49 PM
avitor avitor is offline
 
Join Date: Jun 2007
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tr whet karim varsion and is works perfectly on vb 3.7.0
no change nead to code
thanks again
Reply With Quote
  #29  
Old 05-16-2008, 01:04 PM
joopster joopster is offline
 
Join Date: Mar 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 3.7 and not even in the default template do I have that phrase.
Reply With Quote
  #30  
Old 05-16-2008, 01:37 PM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay i have a fix for everyone ...

add this

PHP Code:
<if condition="$show['notifications']"
right before this

PHP Code:
<if condition="$show['pmstats']"
then add this

PHP Code:
</if> 
after this

PHP Code:
$vbphrase[private_messages_nav]</phrase></if> 
then add the music code shown.....directly after


PHP Code:
<if condition="$show['notifications']"
Note...this will also make the private message part go away if there are no PM's and it will make the sound on every REFRESH until PM is read...
Reply With Quote
  #31  
Old 05-17-2008, 02:08 PM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did that work for everybody?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05501 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete