vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - pmsound notification (https://vborg.vbsupport.ru/showthread.php?t=127909)

lifesourcerec 11-05-2006 07:33 PM

hehe anyone got the AOL "You've Got Mail" sound bit?

marinefiend 11-07-2006 06:52 PM

I tried to find that and no such luck

SloppyGoat 11-07-2006 08:14 PM

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?

javo 11-07-2006 08:17 PM

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.

javo 11-08-2006 04:34 PM

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.

marinefiend 11-09-2006 08:14 PM

Yep still not working on CMPS index, but it does work every where else

Eq4bits 11-09-2006 10:24 PM

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.

SloppyGoat 11-10-2006 08:42 AM

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?


Eq4bits 11-10-2006 03:20 PM

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 :D
hate messing with code when I don't have to :D

SloppyGoat 11-11-2006 01:19 AM

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?


All times are GMT. The time now is 11:07 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.01325 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete