vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   My Downloads v1.2 - A Download Manager for VBulletin (https://vborg.vbsupport.ru/showthread.php?t=73311)

ipas2 12-25-2004 10:00 PM

My Downloads v1.2 - A Download Manager for VBulletin
 
Well well.. have I been busy in such a short time.. hehehe.. I listened and i changed... here's a newer version, more integrated it is..

What does this script do ?

This script indexes your download directory of your website and put this information
into records on your database. Now you can track who is downloading your files and you get
information how popular each file is.

version 1.2
- Use of templates in vbulletin
- The download database is integrated into the forumdatabase
- Use of vbulletin stylesheets
- Auto index of subdirectories ( 1 layer ) into download-categories.
- Auto clean up of log database when file is removed from the database
(The Cleanup button has been removed)
- IP address logging added
- Gifs are made transparent
- Non admin auto update option
- Some other small tunes...

version 1.1
not released

version 1.0
Features:
- Auto index of the download directory
- Easy add descriptions to files
- Easy database cleanup of deleted files
- Restrict the usergroups who may download
- Tracking of downloads.
- Display download history of a file by admin group.
- Database cleanup by admingroup

Nice to know:
- Easy to install for not-dummies
- Its just one php script

The package:
- download.php - this is the actual script ( you can rename this )
- mydownloads.sql - database strucure
- mydownloads.template.txt - Vbulletin template
- ./gifs/ - gifs
- install.txt - this file

cinq 12-26-2004 08:57 AM

Nice idea, but I just tried it, and it doesn't work.
Cannot detect files in download folder.

Btw, might be better off using templates and phrases, instead of hardcoding everything.
Also, might want to create the 2 tables in the existing vb one, easier for a lot of people :)

ipas2 12-26-2004 09:32 AM

Are u seening the UPDATE and CLEAN buttons ? if not.. probably you are not member of the admin group.
did u check $dir='./download/'; ?

About the templates.. you are right. Actually this is my first vbulletin script. I have to find out about those phrases. Think about modifying it in the future.

cinq 12-26-2004 09:39 AM

Nope, I cannot see the buttons. I am admin.

Download dir is correctly set I should think,
I tried full path too, likewise no go :(

ipas2 12-26-2004 09:43 AM

If you dont see the buttons then somehow you are not validated to see them. Line 14 of the script defines group 6 to be admin. Check if your admin group is 6 otherwise change this number in the script.

T3MEDIA 12-26-2004 11:47 AM

I will ginny pig this out. Let you know about errors.

boo.3 12-26-2004 12:13 PM

ok so is this a download manager? like you upload files to it and they can download? lol

or is this from another program?

neo88 12-26-2004 05:55 PM

Before I try this out, can you index files from another server. Say if you have a media host.. Could you link the links off of that..?

Freezerator 12-26-2004 08:43 PM

It would be nicer if i can add a location of a file, and that would be downloadable :)

PixelFx 12-27-2004 04:06 PM

This looks really promising


All times are GMT. The time now is 04:49 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.01048 seconds
  • Memory Usage 1,724KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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