vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Christmas Sound For Your Forum (https://vborg.vbsupport.ru/showthread.php?t=99844)

mp3dreaming 11-08-2005 11:27 PM

Is there a fix for this for Firefox yet ??

Rickie3 11-09-2005 03:33 AM

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

blackpheonix 11-09-2005 12:33 PM

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 :)

funinthesun 11-09-2005 08:45 PM

This is cool, will install in December. Thanks :)

JsnakeJ 11-28-2005 11:04 PM

Only thing needed is a little stop/start button and its good.

Startinfresh 12-01-2005 06:41 PM

I can't get it to work :(

funinthesun 12-01-2005 06:50 PM

Have you uploaded the file? Also, you might need to edit the template code if your forum root isn't in /forum/

funinthesun 12-01-2005 07:52 PM

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

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.

Feckie (Roger) 12-01-2005 08:16 PM

Excellent ...Installs

Startinfresh 12-01-2005 10:38 PM

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!!


All times are GMT. The time now is 09:50 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.01233 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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