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
  #352  
Old 09-09-2006, 12:10 AM
njolakoski njolakoski is offline
 
Join Date: May 2006
Location: Crown Point, Indiana
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question, how, and where do I mod it so it can also display the author along with the filename?

And I would also like to change where it says Author to Artist .... and Filename to Title...

Thanks!
Reply With Quote
  #353  
Old 09-09-2006, 12:26 AM
njolakoski njolakoski is offline
 
Join Date: May 2006
Location: Crown Point, Indiana
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Thing, on my site, my users cant upload things over 2mb's even wiht the .htaccess file whats with this?
Reply With Quote
  #354  
Old 09-09-2006, 12:27 AM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can mod it in the import part, when you import a file, you can give a name in the "author" field next to filename.
Also when you login to the download section you can edit all descriptions if you have give yourselve rights to do that in your usergroup.

If your users can't upload more then 2 mb, you have to contact your hoster or have root acces to the server. Such things are setup in php.ini and mostly also in httpd.conf (apache webserver configuration).
Reply With Quote
  #355  
Old 09-09-2006, 12:59 AM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In this version, does it add files to subfolders in the downloads folder.

The download folder is quite full and takes forever to backup.
Reply With Quote
  #356  
Old 09-09-2006, 01:14 AM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See my point 1 a few threads above your's. So no... it does not add files to subfolders in the downloads folder.
Reply With Quote
  #357  
Old 09-09-2006, 01:15 AM
Draygonia Draygonia is offline
 
Join Date: Jun 2006
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to fix this? It should be something simple, but yet I cannot figure it out!

I had to move the downloads.php file to my public_html/ folder so it would work, but when I do click on it, it gives me this error...

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/downloads.php on line 121

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/downloads.php on line 121
Reply With Quote
  #358  
Old 09-09-2006, 03:42 AM
njolakoski njolakoski is offline
 
Join Date: May 2006
Location: Crown Point, Indiana
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger
You can mod it in the import part, when you import a file, you can give a name in the "author" field next to filename.
Also when you login to the download section you can edit all descriptions if you have give yourselve rights to do that in your usergroup.

If your users can't upload more then 2 mb, you have to contact your hoster or have root acces to the server. Such things are setup in php.ini and mostly also in httpd.conf (apache webserver configuration).
Can someone help me with this, becuase I see a php.ini file on my server, just dont know what to edit, or how..

And also, where and how to edit my import file, Im a complete noob at this stuff...sorry for the questions..
Reply With Quote
  #359  
Old 09-09-2006, 05:49 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First we need to locate the php.ini file.
-----command-----
locate php.ini
-----command-----

For cPanel the correct file is /usr/local/lib/php.ini. The standard location for most other servers is /etc/php.ini. Go ahead and open the php.ini file.

-----command-----
pico -w /etc/php.ini
-----command-----

or for cPanel
-----command-----
pico -w /usr/local/lib/php.ini
-----command-----

once there press control + w and search for upload_max_filesize change that to 10M if you want it to be 10 Megabytes.

once you change that and have it set to 10M press control + x then it will ask you if you want to save it press the y to save the changes and reboot apache.

-----command-----
service httpd restart
-----command-----

hope it helps.
Reply With Quote
  #360  
Old 09-09-2006, 06:05 AM
footose footose is offline
 
Join Date: Mar 2006
Posts: 321
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Can you give the exact PHP error/warning you get?
Absolutely!

Click Downloads
Click Import
Enter Directory
Click Import
Click the file you want to import, with an ' in it, in this case...

Lil' Kim_Slippin'.mp3

Select Category
Click Import Files

Error at top of screen
Quote:
Warning: filesize(): Stat failed for /home/moforums/public_html/import/Lil\' Kim_Slippin\'.mp3 (errno=2 - No such file or directory) in /admincp/downloadadmin.php on line 434
Error in details box
Quote:
The following files were successfully imported:
Could not import the following files because the import file could not be read or the export file could not be written to: Lil\' Kim_Slippin\'.mp3
All other files upload properly and without problems.

Great mod btw
Reply With Quote
  #361  
Old 09-09-2006, 07:25 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Draygonia
Anyone know how to fix this? It should be something simple, but yet I cannot figure it out!

I had to move the downloads.php file to my public_html/ folder so it would work, but when I do click on it, it gives me this error...

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/downloads.php on line 121

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/downloads.php on line 121
You need to upload it to your forum folder (vBulletin installation), not to your root folder (like you can do with vBadvanced CMPS). So http://www.chasm-online.com/forum/downloads.php is the correct url

Quote:
Originally Posted by njolakoski
Question, how, and where do I mod it so it can also display the author along with the filename?

And I would also like to change where it says Author to Artist .... and Filename to Title...
I don't understand your first question, can you explain it a bit?

All text is phrased, so you can edit it using Languages & Phrases in your AdminCP.

Quote:
Originally Posted by Black Tiger
Are these a bugs? Or do I do something completely wrong?
I changed my download directory in the settings to another download directory on my server, i removed the "." in the beginning and stated the full relative path with a trailing slash like:
/home/domains/mydomain/public_html/downloads/
Without the trailing slash, files won't be imported but then I get a error notice.

With trailing slash it works but the following things amaze me a littlebit:

1) Files are imported in my downloads directory but not in a categorie subdirectory, this is the correct working?

2) When setting up for the first time and filling, the column on the left with "Top Contributors" show random users with 0 uploads, amongst them are also users which do not even have upload access for the files?
I can't imagine that this should be the case.

3) If you import the same file twice, there is no warning about the file already existing, but the file simply get's visible twice in the download section, also named exactly the same.

So if anybody can help me with mainly question 2 and 3 (and a little bit question 1)?
At the moment, you have to specify a directory in your forums directory (or your root if you don't use a forums directory for vBulletin), so you have to use the ".". It's used also for the image paths, ..., so you can't use an absolute path.

1.) Currently this is the correct working way. This is also flagged for a future big release.

2.) The query needs to get 4 contributors for this list. The query gets 4 names ordered on the amount of files they have added. If there aren't any people who added files, 0 files is the "highest amount", so it gets randomly 4 names with 0 files. If there won't be 4 people in the future with more than 0 files, just change the amount in the settings.
I've put it on my todo list, will be fixed in a future release

3.) The next big release will contain a check for the file link (this was already on my todo list), not for the name. Some people are using the same name twice, just like the topic name on the forum.
Quote:
Originally Posted by Black Tiger
Hmmz.. found a 4th one also.
4.) When importing, .gif images are not displayed (so also not imported) in spite of the fact that image uploads are set as allowed as well in settings as also in the usergroup administrators.
You need to put gif in the Allowed File Extensions list, the Allowed Image Extensions is a different list. That one is used only for adding images to the file (underneath the description).

@footose: thanks, I will take a look at it.
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 01:20 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.09217 seconds
  • Memory Usage 2,370KB
  • 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
  • (8)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
  • (4)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
  • (7)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