Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Christmas Sound For Your Forum Details »»
Christmas Sound For Your Forum
Version: 1.00, by blackpheonix blackpheonix is offline
Developer Last Online: Jul 2007 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-31-2005 Last Update: 10-31-2005 Installs: 25
Template Edits
Additional Files  
No support by the author.

Its nearly christmas i know you may not be wanting to here this but it is

so i have realeased this again its same as the one i released for 3.0


first download the zip file and unzip it and upload it to main forum directory then

goto admincp -> styles & templates -> edit templates -> find header then click edit to edit the header now follow these simple instructions.

at the very top of the header template add

For a unlimited loop use this code:

Code:
<!-- Christmas Sound by Blackpheonix -->

<EMBED src="/forum/sound/jingle.mid" autostart=true loop=true volume=100 hidden=true><NOEMBED><BGSOUND src="/forum/sound/jingle.mid"></NOEMBED>

<!-- /Christmas Sound by Blackpheonix -->
for it to play the song once use this code:

Code:
<!-- Christmas Sound by Blackpheonix -->

<EMBED src="/forum/sound/jingle.mid" autostart=true loop=false volume=100 hidden=true><NOEMBED><BGSOUND src="/forum/sound/jingle.mid"></NOEMBED>

<!-- /Christmas Sound by Blackpheonix -->
hope u enjoy!

goes great with this mod https://vborg.vbsupport.ru/showthread.php?t=99991

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-01-2005, 10:43 PM
Startinfresh Startinfresh is offline
 
Join Date: Jan 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by funinthesun
OK, this is the first time I've ever posted something like this but I guess we all have to start somewhere!

If you want your members to be able to turn the christmas sound on and off you can do this:

Go to AdminCP => Profile Fields => Add new Profile field => Single Select Menu

Title: Play Christmas Tune
Description: Choose yes to play the christmas tune.
Options:
Yes
No
Set Default: Yes, but No First Blank Option
Editable By User: Yes
Display Page: Options: Other Options

Write down your field# . i.e field8

The code I am using is:

Code:
<if condition="$bbuserinfo[fieldX] != 'No'">
<!-- Christmas Sound by Blackpheonix -->

<EMBED src="/sound/jingle.mid" autostart=true loop=false volume=100 hidden=true><NOEMBED><BGSOUND src="/sound/jingle.mid"></NOEMBED>

<!-- /Christmas Sound by Blackpheonix -->
</if>
All you have to do is add the tags
Code:
<if condition="$bbuserinfo[fieldX] != 'No'">
and
Code:
 </if>
to wrap the code and you're done

I've tested this on my forum so I know that it works.

Remember to change fieldX to the field id. If your forum root is in /forum then you will have to change the code to /forum/sound/jingle.mid instead.
I tried this and it still plays the music.

**Edited to add that I figured it out**
Reply With Quote
  #23  
Old 12-02-2005, 07:03 AM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yay! I'm glad my tiny bit of code worked
Reply With Quote
  #24  
Old 12-04-2005, 02:20 PM
jarod1981?'s Avatar
jarod1981? jarod1981? is offline
 
Join Date: Nov 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I song a sing just one time?

Because I don't like to hear always!

Thanks all!
Reply With Quote
  #25  
Old 12-07-2005, 07:48 PM
jarod1981?'s Avatar
jarod1981? jarod1981? is offline
 
Join Date: Nov 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help me, please :surprised:
Reply With Quote
  #26  
Old 12-07-2005, 07:54 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Scroll up
Reply With Quote
  #27  
Old 12-07-2005, 08:13 PM
jarod1981?'s Avatar
jarod1981? jarod1981? is offline
 
Join Date: Nov 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pardon, Thanks Funin
Reply With Quote
  #28  
Old 12-07-2005, 08:40 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome
Reply With Quote
  #29  
Old 12-07-2005, 09:38 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My users would lynch me (again) if I installed this. However I have had a happy few minutes listening to the attached midi
Reply With Quote
  #30  
Old 12-07-2005, 10:04 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not set the default to no and then your members who do want to play it can?
Reply With Quote
  #31  
Old 12-26-2005, 09:13 AM
lairnoc's Avatar
lairnoc lairnoc is offline
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i love it!!!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05859 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete