Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DownloadsII Details »»
DownloadsII
Version: 5.1.2, by RS_Jelle RS_Jelle is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 07-01-2006 Last Update: 04-24-2010 Installs: 2111
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

There's a vB4 version of this mod available: https://vborg.vbsupport.ru/showthread.php?t=231427

DownloadsII

DownloadsII is a download database that integrates into vBulletin. It allows you to upload files, add images to them, create categories, link to external files - and more. It is very flexible and has many options.

Because a lot of people keep on asking this:
This mod works with any version of vBulletin 3.7.x and 3.8.x!

It's also coded 100% XHTML 1.0 Transitional valid, just like vBulletin itself.



Instructions & Support

You can find an installation manual in the zip package (Readme-Install.txt).

We try to answer most questions asked in this thread. Please don't send any pm's if we don't ask for them, as we said we try to give a high level of support in this thread. Don't forget to click the install link, so you will receive important update notifications.

Screenshots & Live demo

At the bottom of this post, you can find 6 screenshots of the front-end and back-end (AdminCP part) of the DownloadsII software. You can see the newest version in action at the Minatica.be Downloads (Dutch).

Changelog (version 5.1.2)

Jelle
  • Backported CSRF security fix from the vB 4 release
  • Added permission check for Update Counters
  • Fixed PHP warnings when running PHP 5.3
  • Removed the imagecreatefrombmp() function. It doesn't exist.
  • Added permission check for rating submissions
You can find all the changelogs of this and older versions here.

Help!!! I can't upload large files??

This is probably the second most asked question. Have a look at this post for the solution.

It doesn't work with GARS?!

If you also use the latest version of GARS, you will get the "Fields marked in RED must be filled in!" error when uploading a file. I provided a fix here on the GARS forums.

Addons

We are offering 3 addons for this mod at the moment (have a look at the bottom of this post for them). DownloadsII contains 5 hook locations for the vBulletin plugin systems, so you can add extra functionality without file edits.

Do you want to help expanding DownloadsII (if you are a coder)? Check out this post!

Notes
  • ecDownloads Buddy is NOT compatible with this version. If you are using the Buddy, you should UNINSTALL it before installing DownloadsII ver 5.x.x. The Buddy's features are now integrated into DownloadsII.
  • DownloadsII is a direct derivative work from Ron1n's ecDownloads.

Addons

Download Now

File Type: zip DownloadsII-5.1.2.zip (54.5 KB, 2190 views)

Screenshots

File Type: gif ecDownloadsII-5.0.1-add-file.gif (97.8 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-admin-edit-category.gif (18.7 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-admin-navigation.gif (4.6 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-category.gif (86.8 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-file.gif (108.2 KB, 1 views)
File Type: gif ecDownloadsII-5.0.1-main.gif (64.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
puertoblack2003

Comments
  #2612  
Old 05-14-2008, 04:45 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Meidos
Yes im aware that theres no feature like that which is why im asking how this can be done if the coder could help me
I'm sorry Meidos, it that case it was an interpretation error on my behalve. I thought you were still asking how to do it with this mod while it's not possible. So I'm sorry for my comment that way.
In fact you are asking the coder (or somebody else) if he could supply a piece of code for you, so you can implement it yourself until the next release is out, correct?

Quote:
Originally Posted by Meidos
Since your solution is not the best because adding the files manually on download front page will enable a potentional hotlink. So your solution is out of question.
That's correct, but if you symlink to the dir on the other hd you can protect that with chmod rights. However there's another solution if you have root on the system.
You could create another user and point the homedirectory of that user to a directory on the 2nd HD. Then you could symlink to that homedirectory without security risks because that users is chrooted too then, only thing left is to take care that your user also has upload rights on that users homedir.

But I agree with you that a php solution would be nicer. I hope Jelle can help you out with that.

@Darkblade: With this mod you can define how many mb or files a user is allowed to download. So I think the answer to your question is "yes".
Reply With Quote
  #2613  
Old 05-14-2008, 06:35 PM
eido eido is offline
 
Join Date: May 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maidos View Post
eido, make sure u include / beginning and the end
example /home/admin/domain/yourdomain.com/public_html/your_uploaded_folder/
still, didnt work
what permissions shud i put and for which files or folders?
Reply With Quote
  #2614  
Old 05-14-2008, 08:45 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when you visit admincp and click the import it will show you the server path. Make sure youcopy the entire text and include with the folder name with it
Reply With Quote
  #2615  
Old 05-15-2008, 09:46 AM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks tiger, but symlink. got any instructions how that can be done?

also when downloading i noticed that on 5.0.8 it gives me and everyone unknown filesize.but when i download without the download script it gives me the filesize and eta? can anyone fix this
Reply With Quote
  #2616  
Old 05-15-2008, 10:18 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very awesome! but is there a way you can remove the names on the images? And the rates changed from A / F to 1 to 10? And if possible add a "mirror function" for multiple links? That would be awesome, thanks!

EDIT:
I also see on:
http://www.minatica.be/downloads.php

First the image, then the cat name, and than the description + downloads. Possible we can have the same? It looks much better in my opinion.

EDIT2:
I also noticed that on the file page, for example "Most Popular Files". The file name: "Imkongkong's Zsword Map" takes up 2 spaces.. Is it possible we can have the other to increase/decrease the size of the whole box (left box).
Reply With Quote
  #2617  
Old 05-15-2008, 12:08 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Maidos
thanks tiger, but symlink. got any instructions how that can be done?
You have to SSH to your box and use the symlink command.
Suppose you download directory is now /home/maidos/www/downloads and the directory on the 2nd harddisk is like this: /hdd2/downloads.
I just give the example /hdd2 here normally you don't even see if a directory is on another hd in linux because it mounts as a directory. But oke in this example the command would be (the /hdd2/downloads directory must already exist):
Code:
ln -s /home/maidos/www/downloads /hdd2/downloads
However you might need to have to correct owner rights on the /hdd2/downloads directory and for your own virtual dir in apache the directive for allowing symlinks must be on.
I found a nice piece of documentation on how to do it for ftp, there are also tips for mounting it instead of symlinking.
http://www.castaglia.org/proftpd/doc...TO-Chroot.html
I hope this helps you further.
If you're not sure, just test with some directory's you made first.
To unlink: unlink symbolic_link
Where symbolic_link is the symbolic link name in this example /hdd2/downloads
Reply With Quote
  #2618  
Old 05-15-2008, 01:52 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tiger, thanks alot for your help will try it out. But is this safe procedure like no files get corrupted.

also is it just me or do me and my 20 users always keep getting timeout when downloading from this mods. I gave them a direct link without using the downloadsII downloading same file and no timeout issue. But when using this script they and myself get the timeout issue. Can anoyone confirm this issue please
and about the unknonw filesize please anyone fix this?
Reply With Quote
  #2619  
Old 05-15-2008, 02:07 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I don't have a time-out issue so I can't help you with that. Maybe the php settings of the server have something to do with that.

As of the symlinking, it can't corrupt your files because symlinking can be more or less compared with creating a shortcut in windows. Only you make a shortcut to another directory.
But I just think of something, it could be advisable to move all files to the new directory first because all downloads will get in that new directory.

Files can not be corrupted, but it is advisable to make some test directory's and test with it first, so you can see for yourselve how it works and what it does, so you get more comfident about what you are doing.
Reply With Quote
  #2620  
Old 05-15-2008, 02:08 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

black tiger, can u make sure u download large file like 200 mb?


and thanks for ur advice about the symlink
Reply With Quote
  #2621  
Old 05-15-2008, 07:37 PM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing this hack (GTSmiliebox - Move Smilies Below Editor) I am now running into a strange issue with the Downloads II add on. The editor for the comments shows the smilies as a horizontal line but it is NEXT to the message box instead of under it. You can see the problem here (as well as the attachment): http://www.forumapex.com/downloads.php?do=file&id=14

Any idea where to fix this? I have looked through all of the Downloads templates to no avail.
Attached Images
File Type: jpg smilieproblem.jpg (35.4 KB, 0 views)
Reply With Quote
Reply


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 12:58 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.18787 seconds
  • Memory Usage 2,372KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete