View Full Version : Forum Display Enhancements - New Year's Eve firework in the header
Oyabun
12-27-2008, 10:00 PM
https://vborg.vbsupport.ru/attachment.php?attachmentid=91288&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")
<!--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 bb code.
Guess you copied the color bb code, too^^! I have to appologize that mistake
Before (wrong):
In headertemplate search:
[PHP]
<script type="text/javascript" src="http://www.yourdomain.com/flash_fireworks.js"></script>
After (i hope right now :D):
replace:
<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
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
any demo
http://www.naruto-forum.de/images/designs/narutoera09/silvester/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
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
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
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
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
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
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
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
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
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
Dont work in firefox or safari on mac, uninstalled :(Yes it does.
Mac OS 10.4.11
Firefox 3.0.5 :up:
Safari 3.1.2 :up:
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.
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:
' </a></object></div>';
To this line:
' </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 (http://newmexico.dispensaries.org/)
Oyabun
12-31-2009, 07:49 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*
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:
<!--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
' <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.
OldSchoolDSL
12-30-2010, 05:54 PM
Tried also to get this to work.
Sadly it will not in 4.1 PL2
BaanFarsang
12-31-2010, 12:05 AM
Paste this code at the end of your "navb" template is better than header.
steve1966
12-31-2010, 06:15 PM
Confirmed it does not work ok for vb4
dandanch
01-01-2011, 01:46 PM
works great on vb4
kylek
01-01-2012, 12:01 AM
Nice to be able to have this again with no problems, works for vb4.1.9
englishtalk
10-31-2012, 03:34 PM
will this work in 4.1.X? Is there something similar for VB4?
Krusty1231
11-02-2012, 09:15 AM
Works fine. It works for me in VB4.20
ChiNa
11-09-2012, 01:58 PM
I love your Avatar Krusty :p
BTW: This should work on all vBulletin versions, its set to put the FIREWORK on upper RIGHT CORNER! So thats it! It can be used on any website or forum!
parveznpt
01-23-2015, 10:17 AM
Thanks.........
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.