Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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
  #12  
Old 11-08-2005, 11:27 PM
mp3dreaming mp3dreaming is offline
 
Join Date: Jan 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a fix for this for Firefox yet ??
Reply With Quote
  #13  
Old 11-09-2005, 03:33 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mp3dreaming
Is there a fix for this for Firefox yet ??
got it working fine on my forum using firefox,just need to install the plug-in all good now, https://addons.mozilla.org/extension...nfo.php?id=446
i also had to install quicktime
Reply With Quote
  #14  
Old 11-09-2005, 12:33 PM
blackpheonix blackpheonix is offline
 
Join Date: Nov 2004
Location: Great Yarmouth - UK
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by memoriess
Can we have a embedded player function, and let user to choose whether to play the song etc?

i would if i knew how im pretty much a noob at this
Reply With Quote
  #15  
Old 11-09-2005, 08:45 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is cool, will install in December. Thanks
Reply With Quote
  #16  
Old 11-28-2005, 11:04 PM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only thing needed is a little stop/start button and its good.
Reply With Quote
  #17  
Old 12-01-2005, 06:41 PM
Startinfresh Startinfresh is offline
 
Join Date: Jan 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get it to work
Reply With Quote
  #18  
Old 12-01-2005, 06:50 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you uploaded the file? Also, you might need to edit the template code if your forum root isn't in /forum/
Reply With Quote
  #19  
Old 12-01-2005, 07:52 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 12-01-2005, 08:16 PM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent ...Installs
Reply With Quote
  #21  
Old 12-01-2005, 10:38 PM
Startinfresh Startinfresh is offline
 
Join Date: Jan 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by funinthesun
Have you uploaded the file? Also, you might need to edit the template code if your forum root isn't in /forum/
Ya I got it. It took me a minute to realize mine was forums and not forum.

Thanks. I LOVE IT!!
Reply With Quote
Reply

Thread Tools

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 06:28 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.04379 seconds
  • Memory Usage 2,303KB
  • 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
  • (3)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