vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - New Year's Eve firework in the header (https://vborg.vbsupport.ru/showthread.php?t=199951)

Oyabun 12-27-2008 10:00 PM

New Year's Eve firework in the header
 
https://vborg.vbsupport.ru/attachmen...8&d=1230437514

What does this mod do?
It adds a flash file with fireworks. The flash is transparent so you can put it over your header.

(Easy) installation:
1. Upload all files into your root.
2. Paste this code at the top of your header template of your wished style:
(Make sure you change the path for "http://www.yourdomain.com/flash_fireworks.js")
PHP Code:

<!--start fireworks by naruto-forum.de :) -->
<
script type="text/javascript">
var 
flash="feuerwerk.swf";        //just change the path in flash_fireworks.js
var name="Feuerwerk";
var 
von_links=300;                 // set distance of the flash file from left
var von_oben=5;                  // set distance of the flash file from the top
var breite=400;                    //set width of the flash file
var hoehe=300;                  //set height of the flash file
var qualitaet="high";
var 
param1="";
var 
param2="";
</
script>
<
script type="text/javascript" src="http://www.yourdomain.com/flash_fireworks.js"></script>    
<!--/
end fireworks by naruto-forum.de :) --> 

3. Change also both paths in flash_fireworks.js.
In the js-file search for yourdomain.com and replace it with your domain.


You're done. Hope this works for you guys :)

Live demo at http://www.naruto-forum.de


Demo = attachments

packetattack 12-28-2008 02:31 AM

This doesn't work. I followed the instructions and nothing shows up on my forums. I tried it in both IE and Firefox and made sure Javascript was enabled. I do have a pretty wide banner so maybe the fireworks were HIDDEN behind them or should I see it regardless?

Your instructions in your code also say to only change the path for the flash_fireworks.js script which I did but then under your codebox you have written:

3. Change the (2) paths in flash_fireworks (yourdomain.com)

So where is the other path? I also tried changing the path for feuerwerk.swf but that didn't work either. This looks like a great mod if I could get it to work.

Thanks,

Oyabun 12-28-2008 02:35 AM

The oder path's are in the .js file

One path is in the headercode
2 paths are in flash_fireworks.js

packetattack 12-28-2008 03:03 AM

Sorry, I've tried all combinations to get this working to no avail.

I edited both paths in flash_fireworks.js to reflect my forums URL. Am I supposed to include anything else in there other than just my forums URL?

I also presume this goes at the VERY top of the HEADER template right, before the text that says:

<!-- logo -->

<a name="top"></a>



Sorry, it doesn't work for me.

Oyabun did you get it working?

Oyabun 12-28-2008 03:06 AM

Of course I did. I know what's maybe wrong!

Try step 2 again.
I colored the url by mistake and it won't be parsed in the [php] bb code.
Guess you copied the color bb code, too^^! I have to appologize that mistake



Before (wrong):
In headertemplate search:
PHP Code:

<script type="text/javascript" src="[COLOR="Red"]http://www.yourdomain.com/flash_fireworks.js[/COLOR]"></script


After (i hope right now :D):
replace:
PHP Code:

<script type="text/javascript" src="http://www.yourdomain.com/flash_fireworks.js"></script>    

Hope it finally works for you now :) 


packetattack 12-28-2008 03:53 AM

That did it! Thanks so much!

princeedward 12-28-2008 10:02 AM

nice thanks...is this not possible to work on forumhome only?

steve1966 12-28-2008 11:12 AM

thanks

Oyabun 12-28-2008 03:23 PM

Quote:

Originally Posted by princeedward (Post 1695447)
nice thanks...is this not possible to work on forumhome only?

Sure. Just put the code from step 2 at the top of your FORUMHOME template instead of the header template :)
That should do it =)

basilrath 12-28-2008 04:18 PM

any demo

Oyabun 12-28-2008 04:41 PM

Quote:

Originally Posted by basilrath (Post 1695591)
any demo

http://www.naruto-forum.de/images/de.../feuerwerk.swf
Is that enough? :)

schlottkej 12-28-2008 04:57 PM

Can you stop it after 3-5 framesets?

Oyabun 12-28-2008 05:53 PM

Quote:

Originally Posted by schlottkej (Post 1695630)
Can you stop it after 3-5 framesets?

I did not create the flash file, so i can't, im sorry.
I don't know if it's possible to stop it by code. I guess you can't.

FiMeTi 12-28-2008 09:32 PM

haha! Schaut gut aus! ;)
Nicely done mate. Thx

denman75 12-29-2008 10:27 AM

lol its nice
tnx

harisafp 12-29-2008 02:23 PM

Good idea... Brother !!
Happy New Year to all member ....
Thanks.

http://www.hitech-lamongan.com/forum

redlabour 12-30-2008 06:52 AM

Does not work in Firefox so it is useless. :(

steve1966 12-30-2008 08:11 AM

Quote:

Originally Posted by redlabour (Post 1696983)
Does not work in Firefox so it is useless. :(

HI

it works for me using firefox check to see if you have installed it correctly

redlabour 12-30-2008 05:38 PM

Quote:

Originally Posted by steve1966 (Post 1697016)
HI

it works for me using firefox check to see if you have installed it correctly

Screenshot? It works in IE - so how should it be wrong installed? :rolleyes:

steven s 12-30-2008 06:53 PM

Quote:

Originally Posted by redlabour (Post 1696983)
Does not work in Firefox so it is useless. :(

Working on FF for me. :up:

Thanks
http://www.318ti.org/

Too bad there is no audio.

soundbarrierpro 12-30-2008 09:19 PM

Awesome. Great mod for the holidays! Thank you

*INSTALLED*

Oyabun 12-31-2008 12:28 AM

Quote:

Originally Posted by 1996 328ti (Post 1697359)
Working on FF for me. :up:

Thanks
http://www.318ti.org/

Too bad there is no audio.

Just search a sound (google) and add it as a flash button to click (on/off):P

Kihon Kata 12-31-2008 03:19 AM

Mine shoots out of the navbar even after I installed it into the top of the header. This blocks some links I have above the navbar. Un-installs

Oyabun 12-31-2008 07:20 AM

Quote:

Originally Posted by Kihon Kata (Post 1697598)
Mine shoots out of the navbar even after I installed it into the top of the header. This blocks some links I have above the navbar. Un-installs

PHP Code:

var von_links=300;                 // set distance of the flash file from left
var von_oben=5;                  // set distance of the flash file from the top
var breite=400;                    //set width of the flash file
var hoehe=300;                  //set height of the flash file 

You read this part of the code?

steven s 12-31-2008 12:48 PM

I have the fireworks over my banner so it doesn't cover any links.
It really takes away from the effect because the height is so short.
So. . .

Does anyone think you can use some CSS code and use z-index to place the flash behind everything on the page?

Kihon Kata 12-31-2008 01:06 PM

Quote:

Originally Posted by Oyabun (Post 1697701)
PHP Code:

var von_links=300;                 // set distance of the flash file from left
var von_oben=5;                  // set distance of the flash file from the top
var breite=400;                    //set width of the flash file
var hoehe=300;                  //set height of the flash file 

You read this part of the code?

Yes. I played with it for a while. I really need it to come out of my header and not my navbar. Thanks

logicuk 12-31-2008 06:41 PM

Dont work in firefox or safari on mac, uninstalled :(

Rene Kriest 12-31-2008 07:12 PM

Quote:

Originally Posted by redlabour (Post 1697313)
Screenshot? It works in IE - so how should it be wrong installed? :rolleyes:

Take your time. Just because it doen't work for you doesn't mean it mustn't work for anybody.

Maybe you forgot to shut down flash blocker/anti script etc. FF is highly adjustable and a lot of flash problems stem from FF addons which by default aren't used by IE X.X...

steven s 12-31-2008 07:15 PM

Quote:

Originally Posted by logicuk (Post 1698088)
Dont work in firefox or safari on mac, uninstalled :(

Yes it does.
  1. Mac OS 10.4.11
  2. Firefox 3.0.5 :up:
  3. Safari 3.1.2 :up:
  4. Safari 3.2.1 :up:

Loki12 12-31-2008 08:13 PM

I've tried everything but it's not working :(

steven s 12-31-2008 08:26 PM

I suspect it is either a path problem or you did not upload the swf file.

rrr 12-31-2008 09:14 PM

Fun little add-on!

One tip: In the flash_fireworks file, there is a small HTML error that causes IE to hyperlink the whole webpage to index.php instead of just the header.

I changed this line:

Code:

' </a></object></div>';
To this line:

Code:

' </object></a></div>';
And it works much better. Hope this helps :) Happy New Year!

Loki12 12-31-2008 11:21 PM

I got it to work, thanks. :)

Looks very nice, but I've uninstalled soon after new year since the area of the fireworks prevent other links from working.

Oyabun 12-30-2009 10:24 PM

should work also in vb 4, i guess O_o

nectons 12-31-2009 12:52 AM

is not working to ff but... anyway... it works in IE :) www.bytheway.gr try to open it with ff please.

Thanks for great mod

*installed*

Dr.osamA 12-31-2009 01:21 AM

installed

thanxx
________
New Mexico Marijuana Dispensary

Oyabun 12-31-2009 07:49 AM

Quote:

Originally Posted by nectons (Post 1943034)
is not working to ff but... anyway... it works in IE :) www.bytheway.gr try to open it with ff please.

Thanks for great mod

*installed*

thats odd, works on my forum http://www.naruto-forum.de/
(also in ff) O_o

Farman 12-31-2009 02:48 PM

Works great, thanks man!

goxy63 01-01-2010 08:55 AM

works great(ff & ie), thanks
nominated, rated, installed

happy new year

cheers

S4RFamily 01-04-2010 02:10 AM

Tried a lot of times but no hope. I using vB 4, please help me where (which temp) will i add the code:
Code:

<!--start fireworks by naruto-forum.de :) -->
<script type="text/javascript">
var flash="feuerwerk.swf";        //just change the path in flash_fireworks.js
var name="Feuerwerk";
var von_links=300;                // set distance of the flash file from left
var von_oben=5;                  // set distance of the flash file from the top
var breite=400;                    //set width of the flash file
var hoehe=300;                  //set height of the flash file
var qualitaet="high";
var param1="";
var param2="";
</script>
<script type="text/javascript" src="http://www.yourdomain.com/flash_fireworks.js"></script>   
<!--/end fireworks by naruto-forum.de :) -->

And 2 path in file .js
Code:

                ' <param name="movie" value="http://google.com/forum/feuerwerk.swf' + w.flash + '?' + w.param1 + '&' + w.param2 + '">' +
                ' <param name="wmode" value="transparent">' +
                ' <param name="quality" value="' + w.qualitaet + '">' +
                ' <embed src="ttp://google.com/forum/feuerwerk.swf' + w.flash + '?' + w.param1 + '&' + w.param2 + '" quality="' +  w.qualitaet +

is that right enough?
Thanks for reply.


All times are GMT. The time now is 01:06 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.01664 seconds
  • Memory Usage 1,843KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_php_printable
  • (12)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
  • (40)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