-----------------------------------------------------------------
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.
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:
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!
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.
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 )
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.
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?
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.