vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Random Images Anywhere (https://vborg.vbsupport.ru/showthread.php?t=94433)

jugo 08-15-2005 10:00 PM

Random Images Anywhere
 
1st of all I really love this plugin stuff.

Now for the Release. Please be gentle as this is my first release ever.

I want to thank Loneranger because I used his XML file as a template for mine. This was fun to make. I hope you guys enjoy it.

This will allow you to display random images anywhere you want.

Features:
  • Reads from a specified directory.
  • Only reads files whose filenames contain your specified text delimeter.
  • Can specify file extensions to display (GIF JPG PNG)
  • Perfect for babe of the week, etc.

See a working example here: http://www.freaks-network.com/forum/

The header images on the left will change whenever the page is refreshed.

Note: This generates a variable. Just insert the following wherever you want the random image to appear:

PHP Code:

$randpic 


Xepher 08-16-2005 01:32 PM

This hack has allowed a different asspect on our site. But you could use it for just about anything.

We diplay multiple games just to give a different look to the site...

Job well done Jugo... :ninja:

Cyricx 08-16-2005 02:10 PM

That's awesome!!!

Only thing I'd request is a way to do it based on the style rather then a global setting.

That way you can have one style that scrolls through X banners, and another style that scrolls through a whole different set.

Vizionz 08-16-2005 02:40 PM

good idea :)

jesus likes pie 08-16-2005 03:17 PM

umm you guys are forgetting to click install i think :P

Indeed it is....AWESOME.

gentle enough for ya? (:P)

Hopefully I can get this to work with the gallery.....so instead of the newest 5 showing...it gets 5 random ones. I'll try it out.

Vizionz 08-16-2005 03:20 PM

i ddidnt install it cause i have not found a use for it yet but it sounds like a good idea

jugo 08-16-2005 03:23 PM

Quote:

Originally Posted by Cyricx
That's awesome!!!

Only thing I'd request is a way to do it based on the style rather then a global setting.

That way you can have one style that scrolls through X banners, and another style that scrolls through a whole different set.


Hmmm...I'll look for the style specific hook (if there is one). Thanks all.

jesus likes pie 08-16-2005 03:23 PM

Hey do you mind if I copy some of your images on your site?

Cyricx 08-16-2005 03:23 PM

If he can make it work on a per style basis rather then a global setting, I'll most definately install it and click install :D

Vizionz 08-16-2005 03:28 PM

me too cause then i know i could use it :)


All times are GMT. The time now is 06:19 AM.

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.01315 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete