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

Reply
 
Thread Tools
New Year's Eve firework in the header Details »»
New Year's Eve firework in the header
Version: 1.00, by Oyabun Oyabun is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 12-27-2008 Last Update: 12-27-2008 Installs: 49
Template Edits
Re-useable Code Code Changes Additional Files Translations  
No support by the author.



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

Show Your Support

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

Comments
  #2  
Old 12-28-2008, 02:31 AM
packetattack packetattack is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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,
Reply With Quote
  #3  
Old 12-28-2008, 02:35 AM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The oder path's are in the .js file

One path is in the headercode
2 paths are in flash_fireworks.js
Reply With Quote
  #4  
Old 12-28-2008, 03:03 AM
packetattack packetattack is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 12-28-2008, 03:06 AM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ):
replace:
PHP Code:
<script type="text/javascript" src="http://www.yourdomain.com/flash_fireworks.js"></script>    

Hope it finally works for you now :) 
Reply With Quote
  #6  
Old 12-28-2008, 03:53 AM
packetattack packetattack is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did it! Thanks so much!
Reply With Quote
  #7  
Old 12-28-2008, 10:02 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice thanks...is this not possible to work on forumhome only?
Reply With Quote
  #8  
Old 12-28-2008, 11:12 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #9  
Old 12-28-2008, 03:23 PM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princeedward View Post
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 =)
Reply With Quote
  #10  
Old 12-28-2008, 04:18 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any demo
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 01:31 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.04748 seconds
  • Memory Usage 2,307KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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