vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Private Message Sound Notification (https://vborg.vbsupport.ru/showthread.php?t=65570)

The Realist 05-28-2004 02:01 PM

This is a good thing. At lease by playing the sound all the time, it makes them clear there inbox.

Quote:

Originally Posted by Revenge
Perhaps there is an easy way, that the sound only plays once, so if the user does not read the mail it is still playing until he reads it?


350Chevy 05-28-2004 02:20 PM

Are you asking if you can make the sound play over and over?

Or are you asking that the sound only be played once?

I'm not sure I understand the question but both of those are easily possible. :)

MindTrix 05-28-2004 03:38 PM

Works perfect for me, thanks

gmarik 05-29-2004 09:27 AM

valuable one!

Revenge 05-29-2004 10:53 AM

>only be played once

Me and my english :D the last one... only one time to play. Perhaps in the moment the popup box popups :D

alfaowner 05-29-2004 08:43 PM

i agree, it should only play once really, any more than that and it would get disabled, which means no point in installing. great hack. if it does only play once until you read it, then rock on, ill install and click the button. keep up the great work. like your site btw

gopherhockey 05-30-2004 08:06 PM

I'm not sure whats going on, but I get this error every time I try change the PM sound option in the usercp:

Invalid SQL:
UPDATE user SET

showvbcode = 2,
pmpopup = 1,
pmsound = ,
maxposts = -1,
daysprune = 0,
timezoneoffset = '0',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = 1,
options = 35159
WHERE userid = 2

The only thing I think I did different was run the initial SQL query from the admincp rather than from phpMyAdmin like I ususally do...

If I look there is nothing in the pmsound table for any user..

The sound itself works fine though.

alfaowner 05-31-2004 07:30 AM

Hi chevy,

Do you know the code to only make it play once full stop, once I have that, id gladly install it.

Thanks

350Chevy 05-31-2004 05:28 PM

Sorry guys, been really busy with work and at home,

Revenge and alfaowner try putting this code in global.php:

Code:

if ($bbuserinfo['pmpopup'] == 2 AND $bbuserinfo['pmsound'] == 0)
instead of:
Code:

if ($bbuserinfo['pmsound'] == 0)
And that should make the sound play only once. But it will not play a sound at all if they have PM pop-up notifications turned off. I'll see if I can find away around that as well if you'd like.

Glad you liked my site alfaowner. :)

gopherhockey, if you're still having that problem check the lines of code in global.php and profile.php very closly. More then likely something is botched up in there. I've installed this on 3 test boards and my own without a hitch. Are you running any other hacks that could conflict with this one?

Thanks to everyone who likes it. :)

will_lean 05-31-2004 06:15 PM

this hack c :surprised: :surprised: l

one question before i install this how can i use this hack with the option to play the wav files on a seperate server.
(my host doesnt allow sound files) :ermm:


All times are GMT. The time now is 12:46 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.01183 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
  • (2)bbcode_code_printable
  • (1)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