Add seasonal images to your forum
This modification is in the archives.
This is a simple plugin and header template modification which can be added to any template where it made sense if desired.
What this does is use a plugin to determine the month and day and creates a variable that may then be used in templates to decide what, if any, images should be shown. The format of the returned date is 'mmdd'. At the moment I'm using it in my header template to display Christmas and New Years stuff but it can easily be augmented with any holiday images you wish. Installation 1. Install the attached plugin. 2. Add the following to whatever template you desire and modify it accordingly based on the location of your special images. HTML Code:
<!-- Holiday stuff --> <if condition="$header_date_check >= '1220' AND $header_date_check <= '1225'"> <tr> <td style="vertical-align: middle; background: #FFFFFF url(/Images/blinking_lights.gif) right no-repeat" height="18"><img src="$vboptions[cleargifurl]" width="760" height="1" alt="" /> </td> </tr> </if> <if condition="$header_date_check == '1231' OR $header_date_check == '0101'"> <tr> <td style="vertical-align: middle; background: #FFFFFF url(/Images/newyear.gif) center no-repeat" height="57"><img src="$vboptions[cleargifurl]" width="760" height="1" alt="" /> </td> </tr> </if> <!-- / Holiday stuff --> The way the template is currently written it's designed to fit within a table (I have mine under the navbar) but it can easily be modified to work in all situations. Download This modification is archived and cannot be downloaded. |
Similar Mods
Forum Home Enhancements Seasonal Forum Effects | vBulletin 3.6 Add-ons |
Seasonal Series: Eid Mubarak | vBulletin 3.5 Styles |
Seasonal Series: Diwali | vBulletin 3.5 Styles |