PDA

View Full Version : Help in Setting up Dayly Rotating Picture


LorinPotter
01-08-2010, 02:08 PM
At www.vulcanriders.us/forum, I'm trying to automatically show one member's photo for a complete day, and than change to another photo, and do that automatically. There have been various add-on's here, to start a sequence of pictures, but that starts when a person logs on.

The question is, "How do I set at 00:00:01 a new picture showing and keep that same picture for everyone that logs in, and to keep the same picture for until the next day?"

TIA

kh99
01-10-2010, 06:02 PM
You could name an image file using some form of the current date, then make a plugin to construct the image name from the TIMENOW variable (using the php date() function). The good thing about doing it this way is that it doesn't require storing the current day's image name (but it does require setting them up in advance).

BTW, I have a 2000 Vulcan 800, so I'm going to check out your site.