vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   request to vbhackers (https://vborg.vbsupport.ru/showthread.php?t=39442)

jayhawk 06-04-2002 07:14 PM

request to vbhackers
 
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/showthrea...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

Quote:

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 -
Quote:

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!


All times are GMT. The time now is 02:31 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
  • Page Generation 0.01110 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete