Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Seasonal Forum Effects Details »»
Seasonal Forum Effects
Version: 1.00, by TrueDeath TrueDeath is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.4 Rating:
Released: 11-27-2006 Last Update: 02-14-2007 Installs: 495
Uses Plugins Template Edits
 
No support by the author.

Brought to you by:

vBGuides

-----------------------------------------------------------------
SERVICES | HACKS | STYLES | VIDEO GUIDES | PROFESSIONAL SUPPORT
-----------------------------------------------------------------

What does this hack do?
This hack allows you to add seasonal effects to your forumhome/entire forum to suit the time of year. The hack currently has:
Snow pixels
Snow Large Flake
Snow Small Flake
Bats
Ghosts
Witches
Fireworks Pixel
Fireworks Pixel 2
Fireworks Animation
Hearts
Heart Hug
New
Uncle Sam
Easter Basket
Green Clover

Feel free to ask for more seasonal images and I will update.

To the best of my knowledge these all work on both IE + Firefox as long as java is enabled.

Planned New Features
none

Hack Installation
Template Edits: 2
Products: 1

Credits:
Matt Hutchings (TrueDeath) - Creator
blackpheonix - Use of images

Support:
Support can be given in this thread


Don't forget to click INSTALL


If you like this creation and wish to support further creations feel free to donate to:
truedeath@gmail.com

Show Your Support

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

Comments
  #212  
Old 12-10-2007, 08:39 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I'd love to use this effect but it's a nightmare in Firefox. Not only does in not scroll to the bottom of the page (as mentioned many times already) but it also flickers the bottom scroll bar as well which gets annoying fast to my members.

Can someone please, please, please provide a concrete solution that actually works in Firefox?

Many thanks.
Works fine with firefox for me. Try checking your FF JS settings....

Quote:
well, im officially stumped...tried all that, ensured my code was placed correctly...shows everywhere but on the CMPS homepage. Shows on forums home page, arcade...everywhere else
Sounds to me that you need to provide a full URL to the JS file mate. In other words, for the code provided in each header template, change:

Code:
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
To this:
Code:
<script type="text/javascript" src="http://www.myforums.com/season/$vboptions[guidesvbs_type].js"></script>
To recap, change all the instances of the above code to a full SRC. Check in your FTP browser to see where exactly the "season" folder is located. Then link to it as demonstrated above. Good Luck!
Reply With Quote
  #213  
Old 12-12-2007, 01:24 PM
Martell Martell is offline
 
Join Date: Dec 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks :up:
Reply With Quote
  #214  
Old 12-13-2007, 04:24 PM
Jimboj79 Jimboj79 is offline
 
Join Date: Jul 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent hack thanks
Reply With Quote
  #215  
Old 12-16-2007, 12:51 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by haris_led View Post
Of course

Before making the template edits, do theese:
1) AdminCP -> User Profile Fields -> Add New User Profile Field
2) Choose "Single Selection Radio Buttons"
3) Fill in all required fields and insert two values in the Options Box: (seperated with a return)
YES
NO

4) Set "Default" to YES
5) Hit "Save" and memorize the name of your field, in my case it's "field8".
6) Now, instead of adding
Code:
<!-- Start vBGuides Season -->
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 0">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
<!-- End vBGuides Season -->
at the top of the header, add this:
Code:
<!-- Start vBGuides Season -->
<if condition="$bbuserinfo['fieldX']=='YES'">
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 0">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
</if>
<!-- End vBGuides Season -->
7)Also, instead of adding
Code:
<!-- Start vBGuides Season -->
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 1">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
<!-- End vBGuides Season -->
in forumhome, add this:
Code:
<!-- Start vBGuides Season -->
<if condition="$bbuserinfo['fieldX']=='YES'">
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 1">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
</if>
<!-- End vBGuides Season -->
You should replace the fieldX to the one specified on step 5

Known bug: If i set from acp the default to YES, it does not show the snowflakes, but my users, must set it to yes from user cp, and save, to see them. Any ideas to make it working for all users, without having to enable it for the first time?
You can force it enabled to all current users by executing the following command on your database:

Code:
UPDATE userfield SET fieldXX='YYYYY'
Where XX is the id of the field you added and YYYYY is the default option.
Reply With Quote
  #216  
Old 12-16-2007, 01:00 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Snowflakes only display for the first section of the page. When i scroll down, they dont drop below. Is it supposed to be like that?
Reply With Quote
  #217  
Old 12-16-2007, 04:02 AM
PepiMK PepiMK is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The add-on description says "Uses plugins", but that's not true, vbgseason.xml has no plugins defined at all.

Since I prefer a plugin over template edits (minimum of additional load, I admit, but makes it much easier to update; or to apply when you've got a dozen styles), here's what I added to make the template change unnecessary:

Add a new plugin, for hook global_complete, with the following code:
Code:
if ($vbulletin->options['guidesvbs_onoff']==1)
{ if ($vbulletin->options['guidesvbs_area']==0)
    $rplseason = "<body>";
  else if ($vbulletin->options['guidesvbs_area']==1)
    $rplseason = "<body>";
  $tempseason = "<!-- Start vBGuides Season -->\n";
  $tempseason .= '<script type="text/javascript" src="season/'.$vbulletin->options['guidesvbs_type'].'.js"></script>'."\n";
  $tempseason .= "<!-- End vBGuides Season -->\n";
  $output = str_replace($rplseason, $rplseason."\n".$tempseason, $output);
}
Btw, I see the same problem of snow flakes not falling when scrolling, that's why it's currently on my test forum and not on a live one yet.

(edit: small mistake in code above, no time to fix it immediately, was just a incentive to go plugin anyway )
Reply With Quote
  #218  
Old 12-16-2007, 04:25 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got both snow effects to scroll with the page (they go from top to bottom regardless if you scroll). I didn't make the code edits, just found them on a javascript site. I'm looking for other better javascripts for all the other effects.

Instructions: Extract the contents of the zip to your season folder.
Reply With Quote
  #219  
Old 12-16-2007, 08:43 AM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this kill the cpu and bandwidth?
Reply With Quote
  #220  
Old 12-16-2007, 08:59 AM
tekguru tekguru is offline
 
Join Date: May 2007
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know the option is in there to have the effects on the forum index page only, but for those of us running vBadvanced is there a way of showing them on that page only?
Reply With Quote
  #221  
Old 12-16-2007, 03:43 PM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this nice mod now for a while, today updated it and still fine, but there is always a 'but'.
I use the small snowflake, but is there a way to make the snow fall a little bit more? Now I have 5/6 snowflakes falling reallys slow, but when I think of snow, I mean a little bit me than 5/6 flakes at a time on my screen.
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:37 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.05105 seconds
  • Memory Usage 2,320KB
  • 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
  • (8)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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