Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
My Downloads v1.2 - A Download Manager for VBulletin Details »»
My Downloads v1.2 - A Download Manager for VBulletin
Version: 1.20, by ipas2 ipas2 is offline
Developer Last Online: Aug 2006 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 12-25-2004 Last Update: 01-08-2005 Installs: 14
DB Changes
 
No support by the author.

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

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

Comments
  #22  
Old 12-30-2004, 06:10 AM
neo88's Avatar
neo88 neo88 is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All these ideas are nice, When will we be seeing these ideas in our forums..??
Reply With Quote
  #23  
Old 01-06-2005, 10:32 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,
I installed this hack on my testboard. Great Idea !
But there are so many wishes for the new release:
  • include in vB database and get the dbname etc. from includes/config.php
  • vB Style
  • transparent background in images
  • phrasen version to translate in other languages
  • installation script for phrases from a .xml file
  • vbformating for date, filesize etc.
  • last download also add the date
  • if somebody uses a link like "http://www.yourdomain.tld/forums/download.php?download=18" don't show the content of the download page
I'm waiting for the next release
thanks in advance
Reply With Quote
  #24  
Old 01-07-2005, 05:32 AM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just reading through the messages... this appears to be a really good mod. I will definately look forward to the update release.
Reply With Quote
  #25  
Old 01-07-2005, 07:44 AM
ipas2 ipas2 is offline
 
Join Date: Apr 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #26  
Old 01-08-2005, 06:33 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ipas2
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
I downloaded and installed the latest version.
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:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header

$dlnavbar

$error
$deletemsg
$addmsg

$dlcontent

$mydlversion
This is all
Reply With Quote
  #27  
Old 01-08-2005, 09:06 PM
ipas2 ipas2 is offline
 
Join Date: Apr 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #28  
Old 01-16-2005, 10:21 AM
neo88's Avatar
neo88 neo88 is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When will you impliment the remote url linking??
Unless its already done so..
Reply With Quote
  #29  
Old 01-17-2005, 11:28 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #30  
Old 01-18-2005, 12:45 AM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lebanon
But when i go to /download.php it shows the forum page with
My Downloads v1.2
Same for me
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
Reply With Quote
  #31  
Old 01-18-2005, 12:57 AM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ 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 ############################
// #######################################################################
also it would be very nice if you can change the colours of each Download entry with the alt1, alt2 tag.
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 05: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.07036 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete