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
  #12  
Old 04-18-2008, 10:54 AM
avitor avitor is offline
 
Join Date: Jun 2007
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where to look for this ?

open template navbar and find :

<if condition="$show['notifications']">
thank
Reply With Quote
  #13  
Old 04-18-2008, 11:10 AM
karim004's Avatar
karim004 karim004 is offline
 
Join Date: Aug 2007
Location: Connecticut
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by avitor View Post
where to look for this ?

open template navbar and find :

<if condition="$show['notifications']">
thank
go to template navbar and Search in Template : welcome
and check the 5 th ln
Quote:
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

<if condition="$show['notifications']">
Reply With Quote
  #14  
Old 04-18-2008, 11:57 AM
avitor avitor is offline
 
Join Date: Jun 2007
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks karim004
Reply With Quote
  #15  
Old 04-25-2008, 08:36 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't know but i guess this mod is not workin' to vB3.6.8 PL2...or is it?...tried to find this to my navbar...but nothing to found...

<if condition="$show['notifications']">

so i add the code below here....

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>


it work or say...even if i don't have a pm messages to read...it played the swf sound to every page refresh...

please advice for any help...

thanks and best regards...

Reply With Quote
  #16  
Old 04-25-2008, 08:56 AM
MR.BOSS MR.BOSS is offline
 
Join Date: Sep 2007
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont have this <if condition="$show['notifications']"> in vb 3.7 rc4
Reply With Quote
  #17  
Old 04-30-2008, 06:34 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princeedward View Post
i don't know but i guess this mod is not workin' to vB3.6.8 PL2...or is it?...tried to find this to my navbar...but nothing to found...

<if condition="$show['notifications']">

so i add the code below here....

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>


it work or say...even if i don't have a pm messages to read...it played the swf sound to every page refresh...

please advice for any help...

thanks and best regards...

BUMP!!!
Reply With Quote
  #18  
Old 05-07-2008, 05:38 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

i would definatly go for this if it played just once per new PM
Reply With Quote
  #19  
Old 05-09-2008, 01:39 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want something more fun for a sound

you should use this

http://StillFallinEntertainment.com/...s/MailMofo.mp3

Take it as you wish it will always be there but do not link to my file or i will just rename it and wont tell yall what the file name is.

So take the file if you want but let me catch one person accually linking it from my site meaning that you did not host it on your server and you are just adding my link to your player then yes i will remove it
and i do watch my file stats very closely so just download it and save it on your server.

Enjoy

Nice Idea By The way

Also if you are going to use the mp3 instead of the flash you will need a different code

that code is:
HTML Code:
<object id="player" height="0" width="0" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
    <param name="URL" value="MailMofo.mp3">
    <param name="uiMode" value="full">
    <param name="ShowControls" value="false">
    <param name="ShowStatusBar" value="false">
    <param name="ShowDisplay" value="false">
    
    <embed type="application/x-mplayer2"
        pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
        SRC="MailMofo.mp3"
        name="player"
        width="0"
        height="0"
        AutoStart="1"
        showcontrols="0"
        showstatusbar="0"
        showdisplay="0"
uiMode="full"
visual="1">
    </embed>
</object>
Reply With Quote
  #20  
Old 05-09-2008, 01:42 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princeedward View Post
BUMP!!!
your problem is because the notification crap was not added until vb 3.7.0 and up

anything less then 3.7.0 will not have the notifications so there for you would not be able to use this

but i could be wrong cause i updated from 3.6.7 to 3.7.0

but i really don't think that the notifications are in there i think its only a 3.7.0 and up thing
Reply With Quote
  #21  
Old 05-09-2008, 04:24 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also if you are going to use the mp3 instead of the flash you will need a different code

that code is:
HTML Code:
<object id="player" height="0" width="0" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
    <param name="URL" value="MailMofo.mp3">
    <param name="uiMode" value="full">
    <param name="ShowControls" value="false">
    <param name="ShowStatusBar" value="false">
    <param name="ShowDisplay" value="false">
    
    <embed type="application/x-mplayer2"
        pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
        SRC="MailMofo.mp3"
        name="player"
        width="0"
        height="0"
        AutoStart="1"
        showcontrols="0"
        showstatusbar="0"
        showdisplay="0"
uiMode="full"
visual="1">
    </embed>
</object>
[/QUOTE]


Works in FF but not IE
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 03:29 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.11584 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)bbcode_html
  • (6)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
  • (3)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