![]() |
Add seasonal images to your forum
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 --> 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. |
Hmmm
Doesn't seem to show up added to header installed plugin uploaded images and location changed But Nothing |
Quote:
|
Would we need to change the date format to 2512, for example, in the UK as our dates are the opposite way around?
|
Quote:
|
Quote:
|
Well, you might try removing the conditional just to make sure the image shows correctly.
|
Ok I got it to work
Just put it inside Table Tags and bingo Would like to have it centered oBut no matter what I do It is always left aligned Any Idea's |
Ok I Got that sorted to
Learning fast he he |
screenshots?
|
All times are GMT. The time now is 10:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|