I have been waiting and waiting. Kinda makes me feel funny standing on the corner so long. Maybe I should tie a mattress on my back and offer curb service?
Didn't everyone turn in their nomination months ago? Haven't heard a word.....Hmm?
I promise I didn't go out of my way looking for Canadian National. It's just the best widescreen train photo I could find. If someone finds a better one, please post it and I'll swap the background.
How Bout in honor of the UP 4014 Big Boy we use a action photo from someones layout? I'm sure SOMEBODY has a Big Boy collecting dust somewhere in their Yard!!
I like the idea of rotating the images, that way we won't offend anyone by slighting their railroad. Well, perhaps some, but we can at least have a variety.
We're waiting on a mod to share some of his goodies too. I'm not too sure about rotating banners but we'll ask if this is possible. (once we get the fotos)
I was totally opposed to rotating the header, but the more I thought about it, its not a bad idea, only has to change once a day or hour , if the devs can do it. That way people can see a well rounded slice of what were about and Shay is a great choice, his stuff is more realistic then the real stuff!
I would think no more than once a day for the new picture. I don't even know if that's a possibility, we may have to manually change it if we want a new picture.
Now edit the header template and add $randomnum as part of an image URL like:
<img src="http://www.modeltrainforum.com/images/misc/mtfheader_{$randomnum}.jpg" border="0" alt="Model Train Forum - the complete model train resource" />
To do one that changes every day, you'd have to take today's date and modulus it.
Since people seem to like the rotating image idea, if you continue to build upon image choices, you can apply the same principle with an array of 31 images, and apply based on day of the month.
Change currentdate.getDay() to currentdate.getDate() to get 1-31 instead of 0-6 for the array.
I think I'd rather have a random function that picks from a set universe of pictures, perhaps daily. That would make it somewhat of a surprise what would show up.
Issue with random daily is generating the random number once, and then using it the whole day.
The script I suggested would be easy to use with vBulletin.
For what you want, it would be better to do a server side script, that runs off a cron job at midnight, that grabs a image from a folder at random, and then copies that image overwriting the file that is the image used for the forums.
Probably can be done in bash or perl, depending on the server setup for the forums.
You would like the banner to rotate between a set number of banners? How many banners were you hoping for it to rotate through? I'm not sure if this is something that I can convince creative to cook up, but once I have the set details I can check with them.
Any number that would be reasonable. If it's harder to go above a specific number, we can live with any limitation that has to be imposed. Obviously, we don't want this to become a major project. Ideally, it would be a parameter that might change if we come up with a few more nice photos.
I'm not sure if this is something that we can do. I'll have to check with the creative team to see if this is a possibility. I'll let you guys know more when I hear word back.
Sheena, we can always just change it once in a while.
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Related Threads
?
?
?
?
?
Model Train Forum
883.8K posts
32.2K members
Since 2006
A forum community dedicated to model train owners and enthusiasts. Come join the discussion about brands, various scales, repairs, storage, displays, reviews, accessories, classifieds, and more!