Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
Image Directory Lister Details »»
Image Directory Lister
Version: 0.2, by welo welo is offline
Developer Last Online: May 2009 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 08-26-2005 Last Update: Never Installs: 1
Additional Files  
No support by the author.

This is something I've been meaning to do for a long time :ninja:. How many hours have I spent going through a couple hundred VB images and trying to remember which ones I've changed and already uploaded? This script solves that. :up:

What It Does:
This is a simple directory listing script I grabbed from elsewhere (credits in the file) and have modified to show all the images in the directory it occupies, and also in any child directory. Also added a JS page color selector preloaded with 9 VB default background colors to make it easier to see what the images look like on various backgrounds. Just switch the colors to your own.

How To Use It:
Simply upload it to your vb /images directory and point your browser to it.

For instance: yoursite.com/forums/images/imagelist.php

If you only want to list images in one of the child directories, load it there instead. As you upload replacement images, refresh the page to see them. Once you're finished, delete the file from your website.

Considerations:
* Since this thing is going to display every image file in your /images directory all on one page (over 200Kb of images for a default install) and the page is equipped with no-cache headers, you are going to suck down some bandwidth every time you refresh. If you have an immense avatar or smilie library to upload, it's going to list all those too so you might wait until you're done customizing board images first.

* There is no security for this script yet. If you leave it on your server anyone can come along and list/snag every image you have just by tagging the file with their browser. If you want to leave it there while you keep working at least name it to something else to prevent anyone else from finding it.

Planned Additions:
There are a few things I want to add to this, although I'll need to track down how for some of it:
  • List images only in a certain directory
  • Harnass it to VB to make usergroup permissions apply
  • Browse/upload ability
  • Previewing ability
=============================
Anyway, it's not much but it sure comes in handy when skinning a VB, especially considering VB's current lack of an image managing system. Hope it helps somebody.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-27-2005, 07:54 AM
welo welo is offline
 
Join Date: Jan 2004
Location: Portland, Oregon
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**edit**
Decided to suck up some bandwidth and added a link to a demo of this. Once I tie it to usergroup permissions this may require rethinking, but here it is for now anyway:

ImageList Demo

No screenshot really needed but here's one for those who like them:
Reply With Quote
  #3  
Old 08-27-2005, 11:09 AM
nexialys
Guest
 
Posts: n/a
Default

would be better to create a tool from it instead of just releasing this as one...

actually, it to nothing with vBulletin...
Reply With Quote
  #4  
Old 08-27-2005, 01:02 PM
welo welo is offline
 
Join Date: Jan 2004
Location: Portland, Oregon
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, these all start somewhere . Thanks for the constructive feedback.

As to having nothing to do with VB, you're mostly right except:
  • I don't have a single thing to use this for except skinning VB
  • VB has no indigenous image manager
Anyway, it is and does what it says. I needed something quick and reasonable to help skin a new board and this is the current solution. It'll integrate more fully with VB later. One mission at a time.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09135 seconds
  • Memory Usage 2,220KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete