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
  #1812  
Old 10-18-2007, 11:48 AM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.
Reply With Quote
  #1813  
Old 10-18-2007, 11:54 AM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Yesbut please download AOL and see for your self
Reply With Quote
  #1814  
Old 10-18-2007, 12:45 PM
TheFixx TheFixx is offline
 
Join Date: May 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
You could edit the downloads_file template and add something like this:
HTML Code:
    <tr> 
     <td class="alt1">Direct file link:</td>
     <td class="alt2" colspan="3" valign="middle" align="left"><input type="text" class="bginput" name="directlink" size="50" value="<if condition="$file['link']">{$directlink}<else />http://www.yoursite.com/downloads/{$directlink}</if>" /></td>
    </tr>
after:
HTML Code:
    <tr> 
     <td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
     <td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
    </tr>
Change http://www.yoursite.com/downloads/ to your actual site/downloads folder url. Note that hotlinking can be problematic (everyone can link to the content on your server, so they are consuming your bandwidth).

Finally open downloads.php and find the second instance of:
PHP Code:
$downloads vb_number_format($file['downloads']); 
Add the following on the next line:
PHP Code:
$directlink htmlspecialchars_uni($file['url']); 
This is necessary for protection against an XSS security issue.
Thanks I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.
Reply With Quote
  #1815  
Old 10-18-2007, 02:26 PM
VBORGUSER VBORGUSER is offline
 
Join Date: May 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?
Reply With Quote
  #1816  
Old 10-18-2007, 04:50 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.
Hmm, that's pretty strange then
New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.

The chmod and owner of the old files is the only thing I can think about, but they are the same
I also did some server moves and doing a chmod/chown was the only thing I did to get it back to live.

Quote:
Originally Posted by maidos View Post
also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location
Linking to a file is something totally different than importing it. A link is ... well a link (file isn't stored on your server) and importing it is done on your server. Changing this behaviour isn't something we can do easily, so I can't give you five lines of PHP code to change for something big like this.
We do our best to give users what they want, but we can't code everything custom.

A category, like I said, doesn't disappear suddenly. The only way they go away is when you remove them using the AdminCP. Other, external reasons can be a corrupt table in your database for example, so try running a repair command on all your database tables for example.

Quote:
Originally Posted by TheFixx View Post
Thanks I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.
That's strange. I tested it now and it works for me
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.

Quote:
Originally Posted by VBORGUSER View Post
How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?
AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No
That's a beginning to remove the left panel stats (most popular files, newest files and top contributors) on most pages.
Also set "Number of "Latest Files" to Display", "Number of "Most Popular Files" to Display" and "Number of "Top Contributors" to Display" to 0.

For hiding other statistics, you need to edit the downloads templates manually. For example remove
PHP Code:
   <tr align="center">
    <
td class="thead" colspan="4">
     <
span style="float:left">{$vbphrase['ecdownloads_downloads']}: {$dl->stats['downloads']}</span>
     <
span style="float:right"><phrase 1="{$dl->stats['files']}2="{$dl->stats['categories']}">{$vbphrase['ecdownloads_x_files_in_y_categories']}</phrase>.</span>
    </
td
   </
tr
from downloads_main.
Reply With Quote
  #1817  
Old 10-18-2007, 05:19 PM
VBORGUSER VBORGUSER is offline
 
Join Date: May 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To get rid of statistics :

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No

This was logial, and had done that already, alltough i do not care about a top 5 or something like that ; nice feature if it does not show how many times it was downloaded.

Anyway, this is clear.

The only thing i don't want to be public is :

- how many files are downloaded
- how many data is used

So any referal to any page concerning quanties.

How can we get rid of that :up:

(editing the downloads_main did not solve it)

Thanks for your help !
Reply With Quote
  #1818  
Old 10-18-2007, 05:29 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually the files is stored on the same server but in different directory, my uploaders just add the url on add my links..
the reason is because i got alot of uploaders and if theyuploadfrom the browser my server just die since im running on dedicated server and my /tmp/ is only set on 500mb, and since only admins can importthe file it would be a issue right?

what im telling is the /downloads/ request on php which cloak the real url when ppl download it using download managare what i want is that the script request on php on my other directorys aswell
Reply With Quote
  #1819  
Old 10-18-2007, 05:37 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.
Exactly. I've read you tested it and had no problems. Could it maybe be so, that the other linux distro had a different filesize or something and that now the actual size differs from the on in the database which corrupts files when downloading via the browser?
I don't have clue if this is possible. But that's the only thing left I can think about.
I'll guess I have to reimport all my files again or something like that.
Reply With Quote
  #1820  
Old 10-18-2007, 06:19 PM
TheFixx TheFixx is offline
 
Join Date: May 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
That's strange. I tested it now and it works for me
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.
You nailed it on the head, I put it after the first instance, I did change the url I just typed it out wrong in my post lol. It works like a charm :up::up:
Reply With Quote
  #1821  
Old 10-18-2007, 07:47 PM
logofreax logofreax is offline
 
Join Date: Jan 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now, I installed newest Version 5.0.5 but no Confirmation Window if I am deleting a File.

Whats wrong?

cu
logofreax
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 03:48 AM.


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.06684 seconds
  • Memory Usage 2,392KB
  • 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
  • (2)bbcode_html
  • (3)bbcode_php
  • (7)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
  • (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