vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to add a song (https://vborg.vbsupport.ru/showthread.php?t=320972)

the one 12-03-2015 07:54 PM

How to add a song
 
I have a great Christmas style on my forum.

It would be great if i could add a christmas song so when a member goes to that style it will play a Christmas song once.

I am using vbulletin 4.2.1 is this something easy to do if so can someone show me below

Many thanks

Dragonsys 12-03-2015 08:31 PM

as a user, I find this highly annoying, as an unexpected sound coming from your machine can be a bad thing at certain times.

That being said, you would need to install a media player on your forums. I know there are several available here, but I'm not sure if any of them will play a file at page load.

MarkFL 12-03-2015 10:27 PM

Just to add to what Dragonsys said about the annoyance factor...I rarely am on the computer without my own music playing and if I load a site that begins making noise (i.e. any sound I did not deliberately play), then I curse and close that tab in a hurry. :)

the one 12-04-2015 07:45 AM

Ok i understand.

I just thought i would bring a bit of Christmas cheer to the Christmas style i have.I would not want this myself on my other styles and especially my default.

cheers

Dragonsys 12-04-2015 01:51 PM

You can add it to just the one style but you will have to have the code for the player you want, and add it to the headerinclude template of just your Christmas style.


All times are GMT. The time now is 01:37 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.01336 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete