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)

350Chevy 06-10-2004 01:16 PM

Quote:

Originally Posted by monstergamer
some members are reporting that they dont hear any thing
what could be the problem?


Just some not all? Could be the type of browser they're using. Could be their volume control. Could be a number of other things. As long as you're using IE, Netscape, Mozilla and you yourself hear the sound when you receive a PM then you know you installed it correct. It's a user error on their end. ;)

iceman11111 06-11-2004 03:37 AM

Good stuff!

I love it!

Flow Fusion 06-12-2004 08:04 PM

Database error in vBulletin 3.0.1:

Invalid SQL:
UPDATE user SET
styleid = 22,
showvbcode = 1,
pmpopup = 1,
pmsound = 0,
maxposts = -1,
daysprune = -1,
timezoneoffset = '-5',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
options = 8055
WHERE userid = 241

mysql error: Unknown column 'pmsound' in 'field list'

mysql error number: 1054

Date: Saturday 12th of June 2004 11:30:58 AM
Script: http://www.giftedsouls.com/gs/profile.php
Referer: http://www.giftedsouls.com/gs/profil...do=editoptions

350Chevy 06-13-2004 05:17 PM

Quote:

Originally Posted by Flow Fusion
Database error in vBulletin 3.0.1:

Invalid SQL:
UPDATE user SET
styleid = 22,
showvbcode = 1,
pmpopup = 1,
pmsound = 0,
maxposts = -1,
daysprune = -1,
timezoneoffset = '-5',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
options = 8055
WHERE userid = 241

mysql error: Unknown column 'pmsound' in 'field list'

mysql error number: 1054

Date: Saturday 12th of June 2004 11:30:58 AM
Script: http://www.giftedsouls.com/gs/profile.php
Referer: http://www.giftedsouls.com/gs/profil...do=editoptions

did you add the query?

Code:

ALTER TABLE user ADD pmsound varchar(7) NOT NULL
:)

zahco 06-13-2004 06:32 PM

Thanks a lot
350Chevy
For this nice hack
and also i thank
colicab-d
For the Ziped sound files

Best regards
zahco

Flow Fusion 06-13-2004 07:39 PM

yeah that did it thanks alot this makes today a good day.

dreamhost 06-13-2004 09:24 PM

not sure why, but i get no sounds at all. I also get no errors anywhere. I made sure to change the sql injection to reflect my db prefix and that went in ok.
I also put the sounds dir in my site.com/sounds and also site.com/vb/sounds/ just in case it didn't have the path correct.
All themplates and both files were edited as instructed.
ideas?

350Chevy 06-14-2004 01:39 AM

What's the address of the site? I'll see if they work on my end or check the source code of the output on the page. Might just be a typo somewhere.. :)

350Chevy 06-14-2004 01:40 AM

Quote:

Originally Posted by Flow Fusion
yeah that did it thanks alot this makes today a good day.


Anytime, glad I could help and glad you like it. :)

350Chevy 06-14-2004 01:51 AM

Quote:

Originally Posted by dreamhost
not sure why, but i get no sounds at all. I also get no errors anywhere. I made sure to change the sql injection to reflect my db prefix and that went in ok.
I also put the sounds dir in my site.com/sounds and also site.com/vb/sounds/ just in case it didn't have the path correct.
All themplates and both files were edited as instructed.
ideas?


Just visited your site. Strange, it doesn't even call for the sound file. :ermm: Are you sure you dropped the $sound string in the navbar or somewhere in the header?

zahco 06-16-2004 07:27 AM

Dir 350Chevy
i installed the hack on my server and it works good with the sound and there are No proplems .

But i Am Asking about how Is the blinking Done (( when a Private Message arive the baner blink with red color ))
like this picture
http://arabswell.net/upload/users/notification1.gif

Best regards
zahco

350Chevy 06-16-2004 11:09 PM

Glad you like it! :)

The blink PM bar is a template hack located on www.vbulletintemplates.com here:

Blink PM

zahco 06-17-2004 05:26 AM

Dir 350Chevy
i have no words to thank you with.
thank you a lot

best regards

zahco

RetroDreams 06-18-2004 05:52 PM

350Chevy: Any chance there would be a future update that makes the WAV user selectable?

350Chevy 06-18-2004 07:10 PM

Quote:

Originally Posted by RetroDreams
350Chevy: Any chance there would be a future update that makes the WAV user selectable?

Unfortunately I have no plans or use for this. I just wanted something simple that would make a noise when getting a PM is all. :)

Onkel_Tom 06-20-2004 09:57 PM

Hi, a small problem with this hack if the access to the PN system is not allowed by the admin for a special usergroup like "awaiting confirmation" and having the "New user welcome PN" Hack installed.
The user get's the sound message that he has new PN but can't read the mail unless he confirms his registration and an admin has activated his account.

Solution:

find in Template Navbar:
PHP Code:

<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'"

 
$sound

</if> 

replace it with:
PHP Code:

<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'">

    <if 
condition="$show['pmstats']">$sound </if>

        </if> 

With this change vB first check if the PN system is activated and then play the sound. Otherwise no sound will played.

350Chevy 06-20-2004 10:09 PM

Nice work Tom! Thnx..

First post updated and credit given.. :)

Spacey 06-21-2004 03:49 PM

is there a way to get this to work as well at the pop up message? Only the sound works when you get a pm on my site now :(

The Realist 06-21-2004 10:45 PM

Im getting a Mysql error when A user tries and changed the sound notification.

I found out that I cannot find this from the install file:

OPEN profile.php

***** FIND *****

globalize($_POST, array('newstyleset' => INT, 'dst' => INT, 'showvbcode' => INT, 'pmpopup' => INT, 'umaxposts' => INT, 'prunedays' => INT,
'timezoneoffset', 'startofweek' => INT, 'languageid' => INT, 'threadedmode' => INT, 'invisible' => INT, 'autosubscribe' => INT,
'options', 'modifyavatar'));

Its not in my profile.php

HELP!

The Realist 06-21-2004 10:50 PM

Problem solved.

Quote:

Originally Posted by The Realist
Im getting a Mysql error when A user tries and changed the sound notification.

I found out that I cannot find this from the install file:

OPEN profile.php

***** FIND *****

globalize($_POST, array('newstyleset' => INT, 'dst' => INT, 'showvbcode' => INT, 'pmpopup' => INT, 'umaxposts' => INT, 'prunedays' => INT,
'timezoneoffset', 'startofweek' => INT, 'languageid' => INT, 'threadedmode' => INT, 'invisible' => INT, 'autosubscribe' => INT,
'options', 'modifyavatar'));

Its not in my profile.php

HELP!


350Chevy 06-22-2004 08:14 PM

Quote:

Originally Posted by Spacey
is there a way to get this to work as well at the pop up message? Only the sound works when you get a pm on my site now :(


Double check your code. It works perfectly fine with the pop-up window. I have tested this on a few sites with zero hacks installed and on my main site with multiple hacks installed and the pop up message for new PM works perfectly fine. ;)

Make sure you're adding below pmpopup = $pmpopup, and not replacing it. Also make sure profile.php has the 'pmpopup' => INT.

Code:

        globalize($_POST, array('newstyleset' => INT, 'dst' => INT, 'showvbcode' => INT, 'pmpopup' => INT, 'pmsound' => INT, 'umaxposts' => INT, 'prunedays' => INT, 'timezoneoffset', 'startofweek' => INT, 'languageid' => INT, 'threadedmode' => INT, 'invisible' => INT, 'autosubscribe' => INT, 'options', 'modifyavatar'));
More than likely you have another hack installed that may have overwritten a piece of the popup message code or you replaced a line instead of added below. Either way this hack in no way shape or form if applied correctly henders the pmpopup. :)

mackers8923 07-10-2004 01:51 PM

* Installed

However, how would I go about getting the sound to play on my home portal page. Working fine on the forums page but it would be nice to have it playing on both..

I'm running VbPortal 3.0.0 Beta 2 & Vbulletin 3.0.3

350Chevy 07-10-2004 07:12 PM

I've never messed with vBPortal however it should be about the same as vBAdvanced. If your vBPortal calls for the navbar then it should already have the neccessary code to play the sound. If it does not call for the navbar template then you could simply add

Code:

$sound
at the top in your vBPortal template header or index template. You will have to copy the "/sounds" folder and all the wav files in the folder to your vbPortal folder (most likely the root of your website.)

Example: If you have your forum here: /home/www/forums. Your sound folder is here: /home/www/forums/sounds. You will have to copy that folder to /home/www so that you will also have a folder containing all the sounds called /home/www/sounds. That should do the trick. ;)

mackers8923 07-10-2004 08:25 PM

Hey it worked thank you very much, took all of 2 minutes to do.

Me is happy thanks again.....

350Chevy 07-12-2004 05:16 AM

Glad I could help and I'm very happy that you enjoy it.. :)

turbidblue 07-16-2004 11:27 PM

Okay so heres the deal, everything istalled fine, but,

some people can hear it, and others hear nothing...i dont even hear it. none of the members i tested with have it disabled...

i used the re-directing of the wav file from another server, cause my host doesnt allow sound files..

but the problem is (besides ME not hearing it) is that my member who did hear, it opened her windows media player and played the file...she said she got two pop ups, one for the notification of the PM and another that was a blank white page...

any thoughts on these problems???

350Chevy 07-17-2004 03:58 PM

Quote:

Originally Posted by turbidblue
i used the re-directing of the wav file from another server, cause my host doesnt allow sound files..

There in lies the problem. How are you trying to redirect? It's a bit strange that your host doesn't allow .wav files. I think I'd have to have a talk with my host if I were you. ;)

turbidblue 07-17-2004 04:02 PM

Hi,

I am using this redirect code for the wav file, i say wav file cause i am only using one..

$sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.lssix.com/forums/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>');

mine looks like this

$sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.washmeclean.com/downloads/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>');


any idea?

i am contacting my host to see if i can get 1 wav file to be accepted, to try and solve this :)

350Chevy 07-17-2004 04:15 PM

only one file? That could be it also. When the page loads it maybe looking for the other 9 wav files to play and not playing anything because there's no wav file. But it will play once it finally randomly hits that one wav file..

Since you're only using one wav file, instead of using:


$sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.washmeclean.com/downloads/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>');

try using:

$sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.washmeclean.com/downloads/sounds/message1.wav" autostart="true" loop="0" hidden="true"></embed>');

or change message1.wav to the name of the wav file you're using(testing) and see what happens. :)

350Chevy 07-17-2004 04:17 PM

Also, are you sure the file is at http://www.washmeclean.com/downloads.../message1.wav? I could not find a folder on www.washmeclean.com called downloads/sounds?

turbidblue 07-17-2004 04:24 PM

omg! that worked!

well atleast for me it did!

thank you so much!

;)

turbidblue 07-17-2004 04:25 PM

Quote:

Originally Posted by 350Chevy
Also, are you sure the file is at http://www.washmeclean.com/downloads.../message1.wav? I could not find a folder on www.washmeclean.com called downloads/sounds?

its http://washmeclean.com/sounds/message1.wav

:) theres nothing on that site, its just for music and video files

i am so happy its working now!

:)

350Chevy 07-17-2004 04:38 PM

Glad you got it.. ;)

Traxdata 08-10-2004 06:05 PM

Quote:

Originally Posted by 350Chevy
did you add the query?

Code:

ALTER TABLE user ADD pmsound varchar(7) NOT NULL
:)

Where do I add this query? :ermm:

350Chevy 08-10-2004 08:01 PM

You should be able to add this query through your Admin CP or by using a program called MyPHPAdmin.

In the Control Panel goto "Import & Maintenance" (usually located at the bottom of the control panel), then click on "Execute SQL Query". In the "Manual Query" box you can type the SQL query

Code:

ALTER TABLE user ADD pmsound varchar(7) NOT NULL
then click on "continue" to apply it.

Hope that helps. :)

YLP1 08-15-2004 06:56 PM

I would like to install this mod but I am not sure that it will work with VB 3.0.03? Can you tell if it will?

turbidblue 08-15-2004 07:15 PM

works fine on my 3.0.3 :)

350Chevy 08-16-2004 07:37 AM

Quote:

Originally Posted by YLP1
I would like to install this mod but I am not sure that it will work with VB 3.0.03? Can you tell if it will?

Aye, like turbidblue states, works fine with 3.0.3. It should work fine with any 3.x.x :)

WreckRman2 08-19-2004 04:38 AM

Pretty neat... I installed it. Thanks!

fortnox 08-21-2004 10:45 AM

Does it go with an WMA or MP3 Audioformat.

Becaus at Sounddogs , i`ve found alot of sounds. :surprised:

Thanks for your help!


All times are GMT. The time now is 03:43 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.01399 seconds
  • Memory Usage 1,840KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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