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
  #3492  
Old 03-27-2009, 06:10 PM
Panzer Max's Avatar
Panzer Max Panzer Max is offline
 
Join Date: May 2006
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
Have a look at this post and try that version of downloads.php.
I created it for someone who wanted more images per row. There's a $countnumber variable in it to control the amount.
Here you can find a screenshot of how the modified version looks like (without the numbers in front of the image, that was a debugging thing).



That's currently hardcoded in downloads.php. Open it and have a search for $dlinks. It's pretty easy to edit yourself (even without knowing PHP).
Search was my friend! Thanks for that tip.
Reply With Quote
  #3493  
Old 03-27-2009, 07:05 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
It doesn?t work?
Still: Downloads: 4294967295
Run this query using phpMyAdmin or so:
[sql]UPDATE dl_main SET `downloads` = 0[/sql]
(You need to add a table prefix if necessary.)

Quote:
Originally Posted by Stifmeister2 View Post
Click "Update Counters". It's in the navigation bar in downloads.php page (with Main | Category Tree | Stats | Search | Add etc...)
Update Counters isn't resetting the downloads count.
Reply With Quote
  #3494  
Old 03-27-2009, 07:39 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was what i was searching for. Thank you!
Reply With Quote
  #3495  
Old 03-28-2009, 11:37 PM
EeeZee EeeZee is offline
 
Join Date: Jan 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need some advice. First, DownloadsII is an excellent mod. No doubt about it. Been using it for perhaps a year without incident, problem, or frustration.

Backgound: Just updated to vB 3.8.1 PL1, and DownloadsII 5.1.0.

Situation: The vB board is a subscription service and "unregistered subscribers" are allowed but their access is quite limited. There are a number of downloads accessible to paid subscribers and they getting them without any problem. There is one forum that offers "free downloads" to "registered guests" (meaning unpaid) and that is all they are supposed have access to.

I belive that before the upgrades/updates everying was working OK in terms of the paid people were permitted to download everything -- while the unpaid ones (registered guests) had access to only two files in a separate forum. But, and importantly, I have responsibility for keeping the vB running with others have access with administrator privileges (not a good thing but an unfortunate fact of life).

Right now, I can not limit the "registered guests" to downloading just those two files set aside in a separate forum. Access to only those files is what they should have -- no downloads in other forums and no attachment downloads. I have tried all combinations of rights for downloading attachments and/or persmissions to downloading files (in the DownloadsII section of the user group permissions) but can not get it set as needed.

I also humbly admit that I am at the point of not being able to see for forest for the trees.

If you are willing to help lead this poor soul out of the gloom of darkness I would be glad to (privately) provide you your own administrator UN and PW. My bet is I am doing something really stoooopid!

Thanks for your understanding and assistance.

I need help!

Randy

To possibly clarify my earlier question posted three days ago and thus far unanswered: As far as I can see, the "allow downloads" permission is defaulted to ALL forums. Is there a way to override the default group download permissions to allow a certain user group download privileges in one or more particular forum?
Reply With Quote
  #3496  
Old 03-29-2009, 06:52 PM
ChicagoCoin ChicagoCoin is offline
 
Join Date: Oct 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I discovered a bug with the renaming of certain files, I have the Rename Files option turned off and searched this thread, found this (#3410):
Quote:
2.) I had an issue today that I cannot seem to find an explanation for. I do allow files for our members with the extension of .exe If the file name is CoDWaW-1.2-1.3-PatchSetup it does not show the file to be downloaded with the correct name. If I rename it to say c153.exe it works fine. Is this caused by the length of the file name?
Quote:
2.) For your 2nd question I'm not sure. Is the name CoDWaW-1.2.-1.3-PatchSetup or CoDWaW-1.2.-1.3-PatchSetup.exe? In the first case the extension is too long I guess.
It is possible to use longer filenames, but I think there will be a limit to the length.
I imported a bunch of files that begin with "16-9" and when they are downloaded the files are renamed without the "16-", ie: a file in the downloads folder was imported properly as 82502-16-9 Black Knight.zip (real file name is 16-9 Black Knight.zip) and gets downloaded as 9 Black Knight.zip.
Sample

I think the referenced post above is due to having a "-" in the file name and not related to the length of the file name, all of the other downloads imported without a "-" work fine. I was wondering if this could be a server setting and if it can be fixed?

Thanks in advance.
Reply With Quote
  #3497  
Old 03-30-2009, 05:00 AM
cash7c3 cash7c3 is offline
 
Join Date: Sep 2006
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lyte View Post
Hey RS Jelle,

Any thoughts on BullDog148th, Redzzand, popowich and my posts? We're all having problems loading files over 10MB.

I hope you'll help us too. This seems like a great hack that I'd like to get it working on PC101.

Thanks!

Lyte

UPDATE: Okay, I just noticed your update to the Download Details...

"Help!!! I can't upload large files?? This is probably the second most asked question. Have a look at this post for the solution."

I will give that a shot. Thanks!
I'm having the same issue and that post linked is not the solution
Reply With Quote
  #3498  
Old 03-30-2009, 11:44 AM
WhatChaMissin WhatChaMissin is offline
 
Join Date: Apr 2005
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after updating from 3.7 to 3.8 I can no longer upload any file of any size...

Quote:
Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
Reply With Quote
  #3499  
Old 03-30-2009, 04:42 PM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HappyPike View Post
I managed to show forum style rating stars on the category file listing page using template conditions. If anyone is interested, here is the code to use:

Code:
<!-- Star Rating -->
<if condition="$file['rating'] >= 9.5">
    <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" border="0" alt="Rating" /></span>
<else />
    <if condition="$file['rating'] >= 8.5">
        <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" border="0" alt="Rating" /></span>
    <else />
		<if condition="$file['rating'] >= 7.5">
			<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" border="0" alt="Rating" /></span>
		<else />
			    <if condition="$file['rating'] >= 6.5">
					<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" border="0" alt="Rating" /></span>
				<else />
					<if condition="($file['rating'] >= 5) AND ($file['rating'] < 6.5)">
						<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" border="0" alt="Rating" /></span>
					</if>
				</if>
		</if>
    </if>
</if>
<!-- Star Rating End -->
Just edit the downloads_cat_filebit template and put the above code right before the file name link
<a href="downloads.php?do=file&amp;id={$file['id']}">{$file['name']}</a>.

You can also use the above code to put the rating stars in the file details page, replacing the A+ to F grades. The template to edit for this is downloads_file .

You can tweak the numbers in the codes to anything you want. Just remember the rating is between 5 and 10, and unrated files have 0 as default value.
thanks really useful
Reply With Quote
  #3500  
Old 03-31-2009, 10:21 AM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi... i'd like to ask if there is a way to add custom fields

tkans in advance
Reply With Quote
  #3501  
Old 03-31-2009, 01:17 PM
wmlvb's Avatar
wmlvb wmlvb is offline
 
Join Date: May 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this hack allow you to view pdf files in forum post? If not, do you know if a hack that does this?
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 05:17 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.06078 seconds
  • Memory Usage 2,378KB
  • 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
  • (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
  • (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