![]() |
[release] Random header image
Author: filburt1
Description: Makes the header image a different image (or likely to be a different image) for each page. Demo: http://www.webdesignforums.net/?styleid=3 (please don't constantly refresh the page to see all four header images) Screenshot: n/a, see demo A simple mod but I'm sure somebody could benefit from it. |
hmm is it that thing that goes from all Pixelated to clear texT?
if so I'm installing :D |
No, and I already posted a tutorial at my forums on how to do that transition :p
|
What does this do. I know you hate to have that question but I didnt see anything
Larry |
Nice mod filburt, anything thats rotational I like! :D
|
bah where on your forums?
|
Okay, let's say you have four title images: header1.jpg, header2.jpg, header3.jpg, and header4.jpg. The header image you see in your forums will be one of these chosen randomly.
Rufus: top of the page (alternates between clouds, mountains, earth, and the default one) |
ah Isee it now :0 nice work :)
|
Excellent modification, Filburt. I'd seen this done with one of the skins at the relicforums, and liked the idea, especialy as it'll be usefull for my forums where we have a couple title images that everyone wants to use. Thank you for sharing this :)
|
Minor problem... I can't get this to work. I changed the header as the instructions noted, and put the code into the phpinclude template as well, changing the paths to where I have my images located... but they don't show.
Here's my phpinclude: Quote:
Here's my header: Quote:
|
Are your images in /images/1.jpg, /images/2.jpg, etc?
|
... no... oops. I named them header1.jpg, header2.jpg, ect. I am guessing that makes a huge differance?
|
Just change:
PHP Code:
PHP Code:
|
Thanks! :)
I already changed the names of the files to just numbers, but thank you anyway for that hint. I may go and change it to that method so my other admins know better what the images are and such. Cheers! |
very very nice dude!! many thnx 2 u!!
|
Well done.
|
nice Mod, I really like this one!
is there a way to move the 3 lines of code that are in the php_include into the header template? I ask this as my CMPS page is also showing the header, but doesn't run the php_include template and as such displays a broken image :( Thanks, Moses. |
can anybody tell me where the phpinclude template is located? Cant seem to find it
|
also, if my header is already modified how do i go about changing that to make this work?
|
All times are GMT. The time now is 07:59 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:
|