View Full Version : request to vbhackers
jayhawk
06-04-2002, 07:14 PM
any of you out there think you could come up with something that would pool a random pic pooled from within a designated dir (including subdirs) - ie- /pics/.. (all dirs below)
using vblite or vbindex or something, have a forum that no users see, but would act as "news" above the news area, and picked a random picture each day, or other interval, or everytime someone came to the site onload=random...
anyway... food for thought :)
Sparkz
06-04-2002, 07:34 PM
Try the code from here:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=38320
jayhawk
06-04-2002, 07:38 PM
that would work for part of it... but i don't want a random logo either... i want it to choose pictures that will be of various events that users upload, plus inside of the forum -
scsa20
06-04-2002, 08:20 PM
that should work, if you want, you can even rename the varables
Sparkz
06-04-2002, 09:04 PM
Originally posted by jayhawk
that would work for part of it... but i don't want a random logo either... i want it to choose pictures that will be of various events that users upload, plus inside of the forum -
and picked a random picture each day, or other interval, or everytime someone came to the site onload=random...
My script does exactly that. It picks a random image on load.
It would be easy to adapt it to using some setting from the admin CP to tell it what folder to use, or to only use images whos name start with this or that, etc... use your imagination.
Marshalus
06-05-2002, 02:03 AM
Hey Jayhawk, you from Kansas?
/me is from Lawrence
jayhawk
06-09-2002, 11:51 AM
was- moved to florida three years ago after school ;) - much nicer here!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.