Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
pmsound notification Details »»
pmsound notification
Version: 1.0, by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.6.1 Rating:
Released: 09-29-2006 Last Update: 09-29-2006 Installs: 70
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

hi people,

This is a port of this by paul41598 used with permission.

This is basically the same thing as the original thread but it uses the vbulletin plugin system so the file edits are no longer necessary

to install this you will need to
  • read install.txt
  • edit templates (navbar and modifyoptions) => template_edits.txt
  • upload the included "sounds" directory to your vbulletin root
that's it

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 11-05-2006, 07:33 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe anyone got the AOL "You've Got Mail" sound bit?
Reply With Quote
  #53  
Old 11-07-2006, 06:52 PM
marinefiend's Avatar
marinefiend marinefiend is offline
 
Join Date: Dec 2004
Location: Toronto
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to find that and no such luck
Reply With Quote
  #54  
Old 11-07-2006, 08:14 PM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SloppyGoat
Ok, I like this, but I don't want random messages. I want just one. How do I do that?
Is this all that needs to be done?

Remove:
PHP Code:
srand(make_seed());
$srand_snd rand (1,5); 
Change:
PHP Code:
$sound iif($vbulletin->userinfo['pmunread'], '<embed src="sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); 
To:
PHP Code:
$sound iif($vbulletin->userinfo['pmunread'], '<embed src="sounds/message.wav" autostart="true" loop="0" hidden="true"></embed>'); 
That removes the random thing and just makes one sound play, right? I asking opinions because this is what I tried and some bugs were reported. Somethign I did wrong or missed?
Reply With Quote
  #55  
Old 11-07-2006, 08:17 PM
javo javo is offline
 
Join Date: May 2004
Location: DFW Texas
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone else confirm that it doesnt work with CMPS 2.20 installed?
I would really like to install this.
I tried going ahead and installing it anyway but I can't find this code in my Navigation / Breadcrumb Templates - Navbar

Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>
The closest I got is this..
Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>
Im not sure if thats the difference in having CMPS installed and not..
Any help would be greatly appreciated.
This is a really cool mod and I would like to put it in.

Thanks in advance.
Reply With Quote
  #56  
Old 11-08-2006, 04:34 PM
javo javo is offline
 
Join Date: May 2004
Location: DFW Texas
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went ahead and installed it.. The only thing that was different was the code mentioned above.

It seems to be working correctly.

Pretty cool..
Thanks.
Reply With Quote
  #57  
Old 11-09-2006, 08:14 PM
marinefiend's Avatar
marinefiend marinefiend is offline
 
Join Date: Dec 2004
Location: Toronto
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep still not working on CMPS index, but it does work every where else
Reply With Quote
  #58  
Old 11-09-2006, 10:24 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lifesourcerec
hehe anyone got the AOL "You've Got Mail" sound bit?
you mean this one?
I right clicked>save target as to get it
also have Owen Wilson 'You've Got Mail' if anyone is interested... my zipping capabilites went by-by on my computer otherwise I'd zip em up and attach them here.
Reply With Quote
  #59  
Old 11-10-2006, 08:42 AM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be the correct way of removing the random wav and making it static, right?

Quote:
Originally Posted by SloppyGoat
Is this all that needs to be done?

Remove:
PHP Code:
srand(make_seed());
$srand_snd rand (1,5); 
Change:
PHP Code:
$sound iif($vbulletin->userinfo['pmunread'], '<embed src="sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); 
To:
PHP Code:
$sound iif($vbulletin->userinfo['pmunread'], '<embed src="sounds/message.wav" autostart="true" loop="0" hidden="true"></embed>'); 
That removes the random thing and just makes one sound play, right? I asking opinions because this is what I tried and some bugs were reported. Somethign I did wrong or missed?
Reply With Quote
  #60  
Old 11-10-2006, 03:20 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I took the 'easy way out' and just uploaded a single wav file 5 times but with the message1.wav message2.wav message3.wav etc as it's name
hate messing with code when I don't have to
Reply With Quote
  #61  
Old 11-11-2006, 01:19 AM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I thought about doing that, but it seemed easier to just remove the random part and make it a static file. Did the PM notification popup stop working for you when you installed this hack?
Reply With Quote
Reply


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 01:03 AM.


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.06367 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
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_code
  • (6)bbcode_php
  • (3)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