Register Members List Search Today's Posts Mark Forums Read

Mod Options
Timebased Header Image Details »
Timebased Header Image
Mod Version: 1.00, by cory_booth (Coder) cory_booth is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.2 Rating: (0 vote - 0 average) Installs: 8
Released: 23 Feb 2010 Last Update: 23 Feb 2010 Downloads: 28
Not Supported Template Edits Additional Files Re-usable Code Is in Beta Stage  

Header Image rotates based on time. This script can also possibly awaken ideas for other script generated images for use throughout VB4.

OK this hack is based on two others I saw here long ago...
1. One hack generated images on the fly.
2. One hack rotated title (header) images based on the user's time.
I dug and dug and can't seem to find them again, so if anyone remembers where the ideas came from please let me know.

This hack will provide a bit of fun for your site and demonstrate the appearance of updates/changes. To begin, you must have atleast two images for use with your header.

I have a title image for morning, afternoon, and night. I used photoshop and adjusted red/green/blue varibles and added some elements for each period. Other than the color adjusts, my images are identical.

Included in the zip are two php files. The purpose of these files is to replace your header image and your background image. So title.php should call your header title image while titleb.php should call the repeating background image. Obviously if you don't have different colors for the background, you may not need to use titleb.php.

Besides inserting the images in the code, you may need to adjust one other portion.
This is in the final few lines and sets the output type.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(i.e. image/jpeg or image/gif)

Once you have title and titleb adjusted, upload to your server and run the files, you should see the image displayed. If all is well, procede to adjust your style vars to call the new images. (see attached images)

The main reason for this release is to stir some ideas with image handling within VB4.

Feel free to use/hack/slash this code for your own needs.


Make changes to title.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If using different backgrounds, make changes to titleb.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you are not using png format:
Make change to header ('Content')

Upload files to where ever you wish.

Change the varible areas in admincp as indicated in the thumbnails below.

Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	header.jpg
Views:	463
Size:	43.7 KB
ID:	112912   Click image for larger version

Name:	headerb.jpg
Views:	478
Size:	53.1 KB
ID:	112913  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 24 Feb 2010, 00:09
Jassem's Avatar
Jassem Jassem is offline
Join Date: Jan 2010
Thanks Man
Reply With Quote
Old 24 Feb 2010, 00:38
ToNetU ToNetU is offline
Join Date: Mar 2003
interesting mod! tagged for now.
Reply With Quote
Old 24 Feb 2010, 14:32
forumsonsuz forumsonsuz is offline
Join Date: Apr 2007
Reply With Quote
Old 24 Feb 2010, 20:48
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
Join Date: Aug 2008
nice idea, thanks
Reply With Quote
Old 23 Apr 2010, 17:38
Reef Man Reef Man is offline
Join Date: Nov 2006
any demo?
Reply With Quote
Old 24 Apr 2010, 06:26
J6488EEA8E90 J6488EEA8E90 is offline
Join Date: May 2009
cool idea. A demo would be good.
Chiropractor running a scoliosis forum
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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

New To Site? Need Help?

All times are GMT. The time now is 13:08.

Layout Options | Width: Wide Color: