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
  #732  
Old 11-04-2006, 09:10 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I'll try the above when I get home.
Reply With Quote
  #733  
Old 11-05-2006, 05:30 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good news!!!!

My logo is a png file.

I installed the png fix hack and had this in headinclude

Quote:
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="/forums/clientscript/pngfix.js"></script>
<![endif]-->
Then I found out that the problem was not just with your hack, but with every form that does an add/edit.

Go figure! I removed the png hack and all is fine now.
Reply With Quote
  #734  
Old 11-06-2006, 06:20 AM
captainslater's Avatar
captainslater captainslater is offline
 
Join Date: Dec 2005
Location: Austria
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For further versions the "Categories", "Import" and "Downloads"-settings in the ACP should be phrased for translations...
Reply With Quote
  #735  
Old 11-06-2006, 08:32 AM
fosman's Avatar
fosman fosman is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about mirror ability... Is that in your plans?
Reply With Quote
  #736  
Old 11-06-2006, 09:50 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by captain slater
For further versions the "Categories", "Import" and "Downloads"-settings in the ACP should be phrased for translations...
We know they aren't phrased and we will do this when we've got the time for it (maybe we also create admin help items in the product), but that's not a major issue (normally everyone understands english and only admins are seeing this).
Quote:
Originally Posted by fosman
What about mirror ability... Is that in your plans?
That's our biggest plan for the future together with custom file fields (it's mentioned in the first post)
Reply With Quote
  #737  
Old 11-06-2006, 10:07 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phill2003
The disclaimer thing is awesome thanks.

One thing though, to get it to work right (so the download button will not work on the file listing page you need to make a couple of changes in downloads.php

find

Code:
$filethumb = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=down" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
and change it too

Code:
$filethumb = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
Then you need to find
Code:
$download = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=down" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
and replace it with
Code:
$download = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
This stops the images being download links and the little giff downloading the fiel so people have now go to go into the download file page and click on the disclaimer tick box...

Hope this helps...
I have not done this yet, but everything seems to be working okay without having to do this yet.

I placed the code above this

Code:
<a href="downloads.php?do=file&amp;id={$file['id']}&amp;act=down" {$target}><img src="$stylevar[imgdir_button]/download.gif" alt="{$vbphrase['ecdownloads_download']}" title="{$vbphrase['ecdownloads_download']} {$file['name']}" border="0" /></a>
Then after I removed the above.


Can anyone else confirm if what he did should be done as well.



Also how do I get the old download button to show instead of the new one, or is that not possible with this.

thanks.
Reply With Quote
  #738  
Old 11-06-2006, 11:13 AM
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You dont have to do anything! But as the code stands your users can still download using the thumbnail on the listing page thus bypassing the need to tick the disclaimer box, My code just makes both the thumbnail (if one is uploaded) and the download gif (little black on on the listing page) into links to the download page where the disclaimer link is and then the user has to click it to say they have read, Which is the whole point because if you can circumvent that then it has no meaning as you could argue that you do not accept it because you were not asked to.
Reply With Quote
  #739  
Old 11-06-2006, 12:23 PM
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yea and i forgot in the template downloads_file you need to delete both instances of
Code:
$download
if you want this disclaimer hack to work as intended...
Reply With Quote
  #740  
Old 11-06-2006, 12:38 PM
jarvis jarvis is offline
 
Join Date: Nov 2001
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle
I will try to create this one
The poster of the thread: do you want it to be a specified person or the person who placed the file?
Thanks, Jelle!! The poster could just be something as simple as a specified user ID, that way we could setup some sort of 'FileBot' or even assign an admin to be the poster.

Thanks again!
Reply With Quote
  #741  
Old 11-06-2006, 12:56 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jarvis
Thanks, Jelle!! The poster could just be something as simple as a specified user ID, that way we could setup some sort of 'FileBot' or even assign an admin to be the poster.

Thanks again!
I've created a feature like this for a different mod. Here's some of the options that I feel admins will want;
  1. Ability to decide what forum receives the new thread based on the category of the file
  2. Option to make creating a new thread required or give the person who is uploading the file an option for creating the thread
  3. Option to have the thread created by the uploader or always assigned to the same user account (pros and cons of both ways)
  4. Ability to track which threads where created via DownloadsII

I think this is a great idea that I'll probably spend some time with too.... but it does it complicated quickly!
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:32 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.06072 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
  • (6)bbcode_code
  • (6)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
  • (5)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