The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
My Downloads v1.2 - A Download Manager for VBulletin Details »» | |||||||||||||||||||||||||||
My Downloads v1.2 - A Download Manager for VBulletin
Developer Last Online: Aug 2006
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 Show Your Support
|
Comments |
#22
|
||||
|
||||
All these ideas are nice, When will we be seeing these ideas in our forums..??
|
#23
|
||||
|
||||
Hi all,
I installed this hack on my testboard. Great Idea ! But there are so many wishes for the new release:
thanks in advance |
#24
|
|||
|
|||
I was just reading through the messages... this appears to be a really good mod. I will definately look forward to the update release.
|
#25
|
|||
|
|||
Ooof... thnx for the suggestions. I'm busy extracting the script to a vb template and integrate it more into vb. I have not done this one before, but i will manage.
i'l keep u informed. ipas |
#26
|
||||
|
||||
Quote:
I created the three new tables and put some test files in the dir. They are written to the database but not shown in any way. I also don't understand and see where I can create categories. This version is now working for me. http://www.clanforums.com/forum/download.php ipas2 can you please add TABLE PREFIXES to the next release cause I think many users are using those? In the actual downloadable version the file mydownloads_template.txt seems to be broken. There is no footer information in the file. Quote:
|
#27
|
|||
|
|||
Like I said before, you must be forum admin to have the update button. This will scan the download directory for main category and subdirs for other categories. You will see messages when new dirs or files has been added or deleted to the database.
Other thing... categories without files will not be shown. Uncommend the auto_update option in the script if you want the update to be done all the time.. even if users are viewing the page. prefixes of tables.. all three added tables starts with 'mydl_' , so they dont conflict with possible other scripts. if you want a footer, just add '$footer' at the end of the template. Grtz, ipas |
#28
|
||||
|
||||
When will you impliment the remote url linking??
Unless its already done so.. |
#29
|
|||
|
|||
i installed this script and i got the BUTTON update database , so i did
Found files i added But when i go to /download.php it shows the forum page with My Downloads v1.2 The page loads normally , but missing the download links !!! Is there something wrong could have been done to cause this ? Update database shows correct files btw . |
#30
|
||||
|
||||
Quote:
You need a small workaround to get this work. Just go to your download directory and add a subdirectory there. It doesn't matter what the name is, just a new Subdirectory under your "Download-Root" Directory. After that open your download.php again and klicke on "update database" and you will see your files ipas2, can you fix this for the first installation or update on a board ? btw, great work for Version 1.2 ! many thanks |
#31
|
||||
|
||||
@ ipas2
You should use the following header to be "vB" conform and also to cache your Template mydownloads which is actually uncached. Code:
// ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'mydownloads'); // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array(); // get special data templates from the datastore $specialtemplates = array(); // pre-cache templates used by all actions $globaltemplates = array( 'mydownloads' ); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ require('./global.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|