vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   .wav file attachments... (https://vborg.vbsupport.ru/showthread.php?t=36918)

jjj0923 04-03-2002 12:12 AM

.wav file attachments...
 
My forum members are motor heads.....
they've been asking me to add a feature so they can attach .wav file that will be clickable and of course....PLAY!

any ideas on how to do this one???

- jeff

Reeve of shinra 04-03-2002 12:38 AM

Attaching wav files would be a killer on space and bandwith ...

If your set on doing it, you can allow .wav files to be uploaded somewhere in the admin panel.

I am sure there's a neat javascript out there that will give you play buttons and such - which you can then toss in a vbcode.

Slynderdale 04-23-2002 12:20 PM

you can install my upload hack i made and let users upload wav files that they can play, saves mysql space, also i made a vbcode that can set the background music of a thread

212rikanmofo 05-02-2002 11:43 AM

can you give me the vbcode so that users can set certain background music? that sounds cool... :)

Slynderdale 05-02-2002 12:45 PM

1 Attachment(s)
vB Code tag: bgsound

vB Code replacement:

<img src="images/sound.gif" alt="Loop = {option}" border=0><font size=1>BG Sound</font>
<BGSOUND LOOP="{option}" SRC="{param}" AUTOSTART="1">

use option: yes

example:
[bgsound=1]http://www.site.com/sound.wav[/bgsound]

Scott MacVicar 05-02-2002 02:33 PM

Allowing users to set their own backgroun sounds?

Whats to stop them from getting a 20mb wav file uploaded and then putting in the bbcode to load the 20mb wav, it might annoy some users if they go to a page and it crashes their browser as it attempts to download and play this wav file.

Sparkz 05-02-2002 02:38 PM

Not to mention the interesting problem you get when several people use the vb-code in the same thread...

Slynderdale 05-02-2002 02:39 PM

Quote:

Originally posted by PPN
Allowing users to set their own backgroun sounds?

Whats to stop them from getting a 20mb wav file uploaded and then putting in the bbcode to load the 20mb wav, it might annoy some users if they go to a page and it crashes their browser as it attempts to download and play this wav file.

true, but so far my users use it responsibly, they know if they break the rules theyll be permently banned from the forums, i also stated if they abuse any codes on the forum theyll be banned and so far they been

Slynderdale 05-02-2002 02:42 PM

i have around 30+ vbcodes on my forums :) you can basicly create smal webpages in a post with them lol, people like them and havnt been abusing them so im happy

KAC 01-25-2004 02:54 PM

Can you explain how this is done Slynderdale? Any help would be greatly appreciated.


All times are GMT. The time now is 08:21 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.01171 seconds
  • Memory Usage 1,728KB
  • 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_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
  • (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