vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Random Sound on PM Message (https://vborg.vbsupport.ru/showthread.php?t=116037)

DjTaz 05-21-2006 05:33 AM

Quote:

Originally Posted by Cybertims
ok mate......one more question.


is it possbile to have it simply play a random wav file instead of ones only named message1.wav, meassge2.wav?

Cheers.

Unfortunately my Javascript isnt the best so im limited to whats above, but im sure a pure PHP script could be written to check the folder for sound files and then make an array of the sounds in there and randomise them. Its getting that to work with vBulletin without conflict that might make it a bit tougher.
I just found it easier to rename the wav files to message1 message2 etc etc
and if you have more , just change the p=10 to p=11 and so on

Dr.Viggy 05-21-2006 01:10 PM

Quote:

Originally Posted by DjTaz
Have u got other hacks on the profiles or the navbar ? What version of vBulletin are you running ?

Have you tried it without the :
<!-- RANDOM PM SOUNDS FOR UNREAD PM [DJTAZ] --!>
at the top and bottom ? (that caused my navbar to go strange the first time for some reason)

Is the hack in the place i said ? and if so,have you tried moving it about a bit - the very end of navbar may also work for you.

Just some suggestions - hopefully some will work.

That did the trick completely. Took that out and it works just fine. thanks.

*clicks install

DjTaz 05-28-2006 09:53 PM

Glad i could help out. If anyone has any other good sounds , please post them.

Dr.Viggy 05-28-2006 10:40 PM

tried to upload 2 wav files but it wouldn't let me

BeaLzeBuB 05-29-2006 12:18 AM

güzel...

ben seni bi yerden hatırlıyorum ama çıkaramadım tam.

koaka.com da bulundun mu hiç?

DjTaz 06-04-2006 06:07 AM

Quote:

Originally Posted by BeaLzeBuB
g?zel...

ben seni bi yerden hatırlıyorum ama ?ıkaramadım tam.

koaka.com da bulundun mu hi??


My Turkish isnt as up to date as it should be , can you translate that into english for me please ?

DjTaz 03-07-2008 12:39 AM

ill assume that was a no then

Eq4bits 03-27-2011 05:11 PM

Any chance this will be ported to work with 4.x? I really miss having it on my forum ;)


All times are GMT. The time now is 12:17 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.01038 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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