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
  #202  
Old 07-29-2006, 09:46 PM
Liquid_N2 Liquid_N2 is offline
 
Join Date: Jul 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

file sizes vary, as does the delay it seems
Reply With Quote
  #203  
Old 07-29-2006, 11:48 PM
HappyPike's Avatar
HappyPike HappyPike is offline
 
Join Date: Feb 2002
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey westpointer, any idea how I could make it so it doesn't remove <, > and tags enclosed in <> from file descriptions?
Reply With Quote
  #204  
Old 07-30-2006, 01:50 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HappyPike
My member reported that he has issue using the > and < characters inside the descriptions for the files even inside of the code, html, and quote tags. I just tried it and the >, <, and tags all get removed in the description.

For example, when I try with this code:

Code:
<ModInfo>
     <Type>IMPROVEMENT</Type>
     <Description>IMPROVEMENT_INN</Description>
</ModInfo>
It changes the code to just:

Code:
     IMPROVEMENT
     IMPROVEMENT_INN
!
If the user is using the "Enhanced Interface - Full WYSIWYG Editing" this will not occur. However, from my testing, it does occur using the other two editors. I'll look into it more.:cross-eyed:
Reply With Quote
  #205  
Old 07-30-2006, 01:55 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Liquid_N2
I seem to have an issue where a user cannot download for 1165 seconds after clicking a download no matter what I set the time to.

Any ideas?
There is a built in delay based on the size of the file that was downloaded last. The idea is to prevent someone from launching a denial of service attack on your site by repeatedly downloading a very large file in short periods of time. If you want to disable this feature, in downloads.php

FIND (on or about line 513):
PHP Code:
if ((TIMENOW - ($temptime['time'] + $temptime['filesize']/400000)) < OR (TIMENOW $temptime['time']  < $vbulletin->options['ecdownloaddelay'])) 
REPLACE WITH:
PHP Code:
if ((TIMENOW + ($temptime['time'] + $temptime['filesize']/400000)) < OR (TIMENOW $temptime['time']  < $vbulletin->options['ecdownloaddelay'])) 
(The first minus is changed to a plus. The only "delay" check will now be based on what you set in admincp.
Reply With Quote
  #206  
Old 07-30-2006, 09:06 AM
Liquid_N2 Liquid_N2 is offline
 
Join Date: Jul 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much that has sorted that.
Reply With Quote
  #207  
Old 07-30-2006, 02:50 PM
HappyPike's Avatar
HappyPike HappyPike is offline
 
Join Date: Feb 2002
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by westpointer
If the user is using the "Enhanced Interface - Full WYSIWYG Editing" this will not occur. However, from my testing, it does occur using the other two editors. I'll look into it more.:cross-eyed:
Thanks. I told my users who need to use those characters to switch to WYSIWYG for now.
Reply With Quote
  #208  
Old 07-30-2006, 03:58 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

Some of my downloads link to the download page on another site (link to file), but they open in the same page after clicking download meaning users are leaving my site to view that page.

How can I make it open in a new window after clicking download?

Thanks
Reply With Quote
  #209  
Old 07-30-2006, 05:58 PM
HappyPike's Avatar
HappyPike HappyPike is offline
 
Join Date: Feb 2002
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by project-Buckfas
Hey,

Some of my downloads link to the download page on another site (link to file), but they open in the same page after clicking download meaning users are leaving my site to view that page.

How can I make it open in a new window after clicking download?

Thanks
Try searching fo the variable $download in the downloads.php file. When you find it you can add a target="_blank" to the link...
Reply With Quote
  #210  
Old 07-30-2006, 06:09 PM
HappyPike's Avatar
HappyPike HappyPike is offline
 
Join Date: Feb 2002
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi westpointer and Jelle, I received a second report from my users (in Registered group) that delete comment doesn't work for them. It simply reloads the page w/o deleting the comment. I confirmed the report using a test account.

I can delete comment fine using my admin account.
Reply With Quote
  #211  
Old 07-30-2006, 09:16 PM
HappyPike's Avatar
HappyPike HappyPike is offline
 
Join Date: Feb 2002
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 07:00 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.07640 seconds
  • Memory Usage 2,371KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_php
  • (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
  • (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