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)

Warlord 09-12-2004 03:57 AM

I can't get this dang thing to work, and I have no idea why.

I thought maybe because my navbar is actually in my header I should try it in there and see if it works (I tried it in the navbar template, and it didn't work), but that didn't work either.

I get no errors, pop ups or sounds in mozilla.

In IE, I get sounds, but no pop-ups.

WreckRman2 09-16-2004 06:41 PM

I have a problem with this code:

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'));

When I change it I get an error when updating the profile options. I ran the Mysql update. Anyone else having this problem?

Flow Fusion 09-27-2004 05:21 AM

OK I don't know what I did wrong but for some reason I can't turn it back on. I mean I can't turn on the PM sound notification for myself. It won't stay selected.

eblivion 09-30-2004 01:07 PM

Quote:

Originally Posted by 350Chevy
Sounds are ON by default

I want the sounds to be OFF by default. I changed the default value of the db field to "1". Is that all I need to do?

xzibit 01-08-2005 06:08 PM

resound together!

I get after the installation hacks always this error if I with the attitudes which change möchet.
e.g. pop the UP window activate or deaktiviern.
to me can one say where drann lies?

thank you

Datenbankfehler in vBulletin 3.0.3:

Ungueltige SQL-Abfrage:
UPDATE user SET
styleid = 0,
showvbcode = 2,
pmpopup = 0,
pmsound = 0,
maxposts = 40,
daysprune = -1,
timezoneoffset = '1',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
options = 3415
WHERE userid = 2

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

mysql error number: 1054

xzibit 01-08-2005 08:13 PM

what do I have to make hereby?
perhaps is that my error?

***** QUERY *****
ALTER TABLE user ADD pmsound varchar(7) NOT NULL

RetroDreams 01-21-2005 12:06 AM

Quote:

Originally Posted by 350Chevy
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. ;)

It does not call the wav even though it uses the navbar?

Anyone have this working with vbAdvanced CMS?

Elfo King 01-30-2005 03:41 PM

I have a big little problem....the sound go only for me....for other admins & user not play the sound...im a superadmin...where is the problem ??
U can hel me?

BoYagoob 02-09-2005 05:52 AM

Is there any ability to let the user choose which sound he wants to here when reciving a new PM ?

Regards ..

sim tech 02-24-2005 07:51 AM

Ok - sorry to bug you on this one...

I have version 3.0.7 (nice and fresh - installed today)

I did the 2 php mods and triple checked them.

I did the 2 template mods and triple checked them as well.

I added the phrase in GLOBAL. checked okay too.

So I'm guessing there's only one thing left, and that's:
***** QUERY *****
ALTER TABLE user ADD pmsound varchar(7) NOT NULL
So I go to execute a SQL Query and choose the manual...

This error is returned:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'simtech2.user' doesn't exist

Help - my brain is too fried from doing the board upgrade and all the other hacks! :dead:

AxEsLoCkEd 03-19-2005 02:22 PM

*clicks install /me is happy*

Snake 04-05-2005 07:24 AM

Ok, when I run the query I get this error.

Quote:

vBulletin Message
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'MYSQLDB_131386.user' doesn't exist
Any help?

weaver 04-17-2005 03:29 AM

Great hack :)

Lee 05-04-2005 01:50 AM

Quote:

Originally Posted by snobbymom
Great hack :)

I have installed the hack and it is working, but I have some that are trying to disable the feature and when they do they get an error...

Quote:

Database error in vBulletin 3.0.7:

Invalid SQL:
UPDATE user SET
styleid = 0,
showvbcode = 1,
pmpopup = 1,
pmsound = ,
maxposts = 20,
daysprune = -1,
timezoneoffset = '-6',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = 1,
options = 7639
WHERE userid = 14699

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
maxposts = 20,
daysprune = -1,
timezoneoffset = '-

mysql error number: 1064

Lee 05-10-2005 09:12 AM

Quote:

Originally Posted by speedpro50
I have installed the hack and it is working, but I have some that are trying to disable the feature and when they do they get an error...

any help with my above question please?

Marco van Herwaarden 05-10-2005 09:29 AM

Are you sure you did both edits to profile.php?

Lee 05-10-2005 10:21 AM

Quote:

Originally Posted by MarcoH64
Are you sure you did both edits to profile.php?

Thanks so much - when I installed the Community Bulletin hack, I wrote over the first profile.php edit from this hack. Fixed!

350Chevy 05-12-2005 04:26 PM

Thanks MarcoH64. Sorry speedpro50. I haven't had much time for support. I don't think I've even gone through these threads in over 6 months. I will try to check in now and then but my personal life has given me very little time for my computer life. :(

Snake 05-12-2005 04:52 PM

I don't think this will work on Firefox. I've just checked on Internet Explorer and it works fine.

350Chevy 05-13-2005 02:47 AM

Works in firefox just fine. ;)

Snake 05-13-2005 02:45 PM

What about for vB 3.0.7? Will it work? I don't think so.

Lee 05-13-2005 02:48 PM

Quote:

Originally Posted by Snake
What about for vB 3.0.7? Will it work? I don't think so.

I have it working on my 3.0.7 and install was fast and easy...:)

altsounds 06-14-2005 02:24 AM

I get the database error everyone was talking about before. I have re-checked the installation and all looks fine. But when you click to disable pm sounds in your options it gives that database error everytime.

altsounds 09-23-2005 09:13 PM

Anyone figured out how to not get the database error if someone tries to disable this??? It's a great feature but some people get annoyed that they can't turn it off.

350Chevy 09-24-2005 03:33 PM

altsounds, try uninstalling and reinstalling it.. Very carefully. It works just fine with no dB errors on 3.0.9 for IE and Firefox. Sounds like you have the same problem Speedpro had. Are you sure you did both edits to profile.php? His is now working properly.

altsounds 09-24-2005 07:53 PM

Ahha!!! Cheers 350Chevy for pointing me in the right direction :). Works fine now.

350Chevy 09-24-2005 09:38 PM

Glad to hear you got it working. :) Sorry for the late replies btw.

unknowngiver 09-27-2005 06:54 PM

Hey
i got this emailk

Database error in vBulletin 3.0.9:

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

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

mysql error number: 1054

Date: Tuesday 27th of September 2005 03:40:37 PM
Script: http://www.apkafuture.com/profile.php
Referer: http://www.apkafuture.com/profile.php?do=editoptions
Username: awaaz
IP Address: 6*******

350Chevy 09-28-2005 05:52 PM

You forgot to run the Query

Code:

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

markbolyard 10-12-2005 07:36 PM

Can anyone help with making this capable of working with vbulletin 3.5? I tried, however it did not work.

Thanks!

barny11 11-30-2005 12:14 PM

Installed on my test forum but having a strange problem with it.

Works great when you first enable it in user cp/edit options but then when i close internet explore and then return to the forum its stoped working.

If i go back to user cp/edit options and just save the page it works again fine untill i close IE.

most probably a problem with IE than with the hack i know, just wondered if anybody's had this Problem and knows how to fix it ?

thanks in advance guys :)

Nitewalker 12-07-2005 01:05 AM

hi im on VB 3.0.10..Justr outta curiosity, i installed this..
Did all edition as the instruction says...havent seen any errors..but its not even looking for those wav files

Thinking, it might be coz of any error in sound path, I copied the same sounds folder outside forums..I dun think i hav any luck on 3.0.10

If you are kind enuf, please check it out @ www.CCMTorrents.com

49er 12-07-2005 08:47 PM

Hi,
Is this mod compatable with V3.5 ?

Thx

350Chevy 12-29-2005 04:56 PM

Unfortunately it is not compatible with 3.5.x but Moya has rewritten the code to work with 3.5.x. Again, unfortunately I have been extremely busy and I didn't recieve his PM about it until recently and he wrote it about a month ago. :(

If he does not release his I will rewrite it and release one for 3.5.x when I find the time. But hopefully he'll release his soon and I'll add a link from this thread to his.

paul41598 04-26-2006 07:49 PM

can someone release this for 3.5?!

AM Guvnor 05-06-2006 11:27 AM

Yeah! I've been after this hack for 3.5!!

What a great Idea!!

Anybody? :)

DjTaz 05-19-2006 05:09 AM

This has been ported to 3.5 for anyone interested :

initially in this post by paul41598 :
https://vborg.vbsupport.ru/showthrea...hlight=pmsound

and i (grrrrr) didnt spot the port myself and re-wrote my own script to do something similar :
https://vborg.vbsupport.ru/showthrea...579#post980579


All times are GMT. The time now is 12:29 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.01335 seconds
  • Memory Usage 1,818KB
  • 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
  • (3)bbcode_code_printable
  • (8)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
  • (37)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