vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Play Sound When Private Message Received - the Amy Way (https://vborg.vbsupport.ru/showthread.php?t=50371)

partang2 03-18-2003 02:39 PM

Does not work for me.... No sound at all....
Have done all in the zip and all you have said over here...

Dean C 03-18-2003 03:41 PM

Might want to put some screenies in the thread somewhere amy ;)

- miSt

SgtSling 03-18-2003 04:27 PM

Quote:

Today at 03:24 PM amykhar said this in Post #10


That's because I forgot another step in the documentation. I am not a night person. Gotta quit releasing these things at night.

In youre header template, you need to put :

Code:

$headsound
I put it at the very top of my header template.

Off to update the documentation.

Amy



You must mean the headinclude template

SgtSling 03-18-2003 04:28 PM

Ok I put it in the headinclude template and it works like a charm!

Thanks!

SgtSling 03-18-2003 04:29 PM

does anyone have any variations of the sound.wav file?

I want a funny one...
like that says
Beeatch! You better check yo mail!

uh.. I am serious..
:)

amykhar 03-18-2003 05:45 PM

Quote:

Today at 01:27 PM SgtSling said this in Post #13




You must mean the headinclude template

It's actually working in my header. Well, at least we have a couple of different options to try :)

Amy

amykhar 03-18-2003 05:50 PM

Quote:

Today at 12:41 PM Mist said this in Post #12
Might want to put some screenies in the thread somewhere amy ;)

- miSt

Yep. Here ya go.

partang2 03-18-2003 08:19 PM

Hm.... Still not working.... :(

amykhar 03-18-2003 09:09 PM

partang2, Here is how I would go about debugging.

In global.php comment out the code that resets the pmsound field to 1. Then send yourself a PM and make sure the database value is getting set to 2 when you do so.

If it isn't, your problem is in private.php.

If it is, then your problem is most likely that you either haven't created or called the templates. If you haven't uploaded the sound file, you will probably see an error. I did. However, make sure that the wav file is uploaded in binary format where it belongs.

Amy

Vile 03-18-2003 11:51 PM

After adding $headsound in the headunclude template, it worked fine for me :)


All times are GMT. The time now is 09:30 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.01181 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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