vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

RS_Jelle 10-30-2007 06:03 AM

Quote:

Originally Posted by kafi (Post 1371210)
Thanks for headup :)

I personally would avoid with search pop-up. I have changed that also on my board, also vb.org is not using it as main search box :)
As I said, search is most essential feature on heavy data site or application...

Good luck with 6x version :)
====================

1 more request...
is it possible for you to integrate virus scanning like this one:
https://vborg.vbsupport.ru/showthread.php?t=161345

???

Thanks!!!

Everyone's got a different taste :D
But you can change such things pretty easily in the templates.

I already thought about such a thing as I know it from the Moodle e-learning CMS, but I don't think a lot of people have LibClamAV installed. Shared hosts probably don't want to install it as it takes some resources.

Quote:

Originally Posted by narutorasengan (Post 1371387)
thanks for the great mod!

i got one question though, how do i set it as a default to go "by file name" instead of going by latest upload?

and i don't mean the categories, i mean the files, thank you!

Open downloads.php
Find
PHP Code:

    if (!in_array($sortfield$sortfields))
    {
        
$sortfield 'date';
    } 

Replace with
PHP Code:

    if (!in_array($sortfield$sortfields))
    {
        
$sortfield 'name';
    } 


ntloc 10-30-2007 08:15 AM

Hi, i've searched through the whole mod topic but I couldn't find what the answer for my question or maybe i just missed it somehow. I have been running for script for almost a month now and it's great at first but because all my members are able to download files at top speed all the time, it caused my server go down many times also my bandwidth increase so much which i'm not very happy with. Can you help me to fix this, how can i reduce the download speed limit so that when one of my member download the file, the server doesn't give out max speed instead only giving out the speed that i want to set. Please help, i really appreciate this.

RS_Jelle 10-31-2007 03:14 PM

Quote:

Originally Posted by ntloc (Post 1371778)
Hi, i've searched through the whole mod topic but I couldn't find what the answer for my question or maybe i just missed it somehow. I have been running for script for almost a month now and it's great at first but because all my members are able to download files at top speed all the time, it caused my server go down many times also my bandwidth increase so much which i'm not very happy with. Can you help me to fix this, how can i reduce the download speed limit so that when one of my member download the file, the server doesn't give out max speed instead only giving out the speed that i want to set. Please help, i really appreciate this.

I'm sorry, but limiting the download speed isn't possible at the moment. The only limits you can set are the download delay (overall and per usergroup) and a limit for the amount of downloads per day per usergroup. Finally there's also a maximum MB that a user can download/upload, but that's not so relevant.

Anyway, such an option is a good idea. Maybe a wait time would be also nice: "The download will start within two minutes".

Black Tiger 10-31-2007 04:25 PM

I guess an old bug is back, or did I forget to change it?
When you're in the "manage files" section and delete a file, you won't be put back in the manage file listing again, or in any case, when the screen refreshes, yo don't see any files anymore.
Happens with FF and also in IE so it doesn't seem a browser issue.

unitedbreaks 10-31-2007 04:45 PM

Awesome hack!! I love it.. Great job guys/gals!

A few questions concerning uploading..

1) Is there anyway to incorporate a upload progress indicator?

2) I see you're using POST functions to upload the files.. Can you provide FTP upload options along with POST in AdminCP? This will be useful for people wanting to upload large files like myself (>25MB without hurting the CPU and maxing POST PHP variable out.

Thanks for your hard work!!

RS_Jelle 10-31-2007 06:31 PM

Quote:

Originally Posted by Black Tiger (Post 1372859)
I guess an old bug is back, or did I forget to change it?
When you're in the "manage files" section and delete a file, you won't be put back in the manage file listing again, or in any case, when the screen refreshes, yo don't see any files anymore.
Happens with FF and also in IE so it doesn't seem a browser issue.

This issue is already reported and will be fixed in v5.0.6 which is coming very soon :)

Quote:

Originally Posted by unitedbreaks (Post 1372878)
Awesome hack!! I love it.. Great job guys/gals!

A few questions concerning uploading..

1) Is there anyway to incorporate a upload progress indicator?

2) I see you're using POST functions to upload the files.. Can you provide FTP upload options along with POST in AdminCP? This will be useful for people wanting to upload large files like myself (>25MB without hurting the CPU and maxing POST PHP variable out.

Thanks for your hard work!!

  1. Upload indicators using PHP are pretty difficult. It's easier using a Java form and that's one of the many ideas we have for future versions :)
  2. You can upload files to a folder on your FTP and use the Import tool in the AdminCP ;)

JtChurch925 11-01-2007 12:28 AM

I apologize if I have somehow missed these answers (...and I probably have), but...
  • If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
  • Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?
  • Is it relatively simple to add adsense code to the basic template of the downloads pages?

I appreciate your answers and time. This plugin looks very promising!

RS_Jelle 11-01-2007 12:04 PM

Quote:

Originally Posted by JtChurch925 (Post 1373124)
I apologize if I have somehow missed these answers (...and I probably have), but...
  • If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
  • Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?
  • Is it relatively simple to add adsense code to the basic template of the downloads pages?

I appreciate your answers and time. This plugin looks very promising!

  1. You can't use directories on another server or outside the forums directory at the moment.
  2. Uploading a file to an FTP folder isn't enough to add it. You've got two methods: uploading it on the frontend of the software and give it manually a title, description, ... Importing files from an FTP folder can be done using the AdminCP, but if you upload new files, you need to run the import tool again for them each time. I don't think we will implement such an auto-sync feature as we focus on extra file data also (description, ...) and not just a "parent directory" with a vB look.
  3. DownloadsII is using templates for everything, so adding Google AdSense code is very easy.

RS_Jelle 11-01-2007 01:51 PM

DownloadsII 5.1.2 Changelog

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

DownloadsII 5.1.1 Changelog

Jelle
  • Fixed bug with download log pruning (name of the hook location changed)

DownloadsII 5.1.0 Changelog

!!! REQUIRES VBULLETIN 3.7.X !!!

Jelle
  • Backported vB 3.7 integration from v6 beta (navbar button/search, profile stats/tab)
  • Added HTTPS support for linked files
  • Better calculation of the usergroup download restrictions
  • Some other small code updates

DownloadsII 5.0.8 Changelog

Jelle
  • Included the CSRF security fix from vBulletin 3.6.10/3.7 RC4

DownloadsII 5.0.7 Changelog

CyberRanger
  • Added extra 666 chmod for uploading images
Jelle
  • Fixed an uncached template when using the vBulletin basic editor
  • Removed one (unnecessary) query on all DownloadsII pages and tweaked count queries

DownloadsII 5.0.6 Changelog

Jelle
  • Fixed XSS security issue with the WYSIWYG-editor on the file edit page
  • More code cleanup
  • *Really* fixed the update counters function (rerun the Update Counters after the upgrade to fix it)
  • Fixed the double slash in image URLs (strrpos() and strlen() have a different count method)
  • Fixed empty pages after taking actions using the Manage Files feature
  • Added the name parameter to the Content-Type header sent with a download (downloading using IE6 corrupted some files without this in rare cases)

DownloadsII 5.0.5 Changelog

CyberRanger
  • Fixed mixed sort order of files on import page
Jelle
  • Fixed hardcoded "Category" phrase in the Manage Files option
  • Changed category abbrevation in Manage Files to the full category name in the category dropdown windows
  • Updated optional navbar edit as the code to search changed slightly since vBulletin 3.6.7
  • Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)
  • Improved the downloads log with time and ip address information (+ some link and layout changes)
  • Fixed the fact that everyone with upload permissions could upload to every file, now you need to be the file author or need to have editall permissions
  • Fixed the update counters function which didn't recount the comment amounts (the comment stats were only resetted to 0)
  • Fixed XSS security issue with the optional downloads profile info
  • Added xmlns attribute to the html tag of the DOWNLOADS template
  • Fixed SQL injection security issues with category sorting and the assign uploader page
  • Fixed wrong conditions for displaying the assign uploader link
  • Fixed XSS security issues with unclean category and file id's in the templates
  • Fixed some other bugs and removed some redundant checks

DownloadsII 5.0.4 Changelog

CyberRanger
  • Fixed small bug in class_downloads.php ($dl to $this)
  • Fixed possible wrong background on some tables
  • Added option to restrict daily files downloaded by usergroup
  • Enhanced option to restrict daily downloads based on MB and/or number of files
  • Removed left side bar (tops) from most of the views with option to display
  • Modified search results: added small description and category name, removed # of downloads and rating
  • Added "download delay" setting to usergroups
  • Fixed bug in mass upload if the file name contained an apostrophe
  • Added IP check for max daily MB and file download check
  • Modified templates downloads_wrapper_side and dowloads_wrapper_none so that the "disclaimer" will appear if no tops are wanted.
  • Added setting in admincp for cleaning log entries that are older than x days.
  • Added Javascript prompt before deleting a file, image or comment
  • Added five custom hook locations (dl_pre_upload, dl_post_upload_add, dl_post_upload_edit, dl_pre_download, dl_post_download)
Jelle
  • Fixed W3C errors in $dmemberfiles
  • Fixed manfiles mass update (wasn't working any more)
  • Fixed a bug which caused old downloads titles to disappear
  • Fixed category images of sub-categories, which weren't displayed in IE
  • Moved assignuser permissions condition from the templates to downloads.php and changed permissions slightly
  • Changed the word "purgatory" to "moderation queue" in the phrases
  • Added a missing AdminCP footer to the edit category page
  • Added rel noffolow attributes to the sort links for better SEO
  • Changed some stop message pages in the AdminCP to redirection pages
  • Improved pagination to the vBulletin coding standards (with a better security)
  • Redirect after mass update corrected to manfiles
  • Changed the tables code to prevent a small white space at the left and the right side + some various layout fixes
  • Fixed an XSS security issue with the category view and search

DownloadsII 5.0.3 Changelog

CyberRanger
  • Linked downloads don't open any more in the same window
Jelle
  • Some more code cleanup (removed ec_demo mode, ...)
  • Fixed a bug with tags being stripped from the description
  • Fixed the "Bandwidth value maxed out at 4294967 KB" issue (int(10) to bigint(30))
  • Removed the filesize condition from the download delay time
  • Sort on total comments in the dropdown box
  • Sort on file name in the category view now also clickable in the table header
  • Fixed an unnecessary query for the vBulletin editor when viewing a file and comments are disabled
  • Updated DownloadsII.txt and renamed it to Readme-Install.txt

DownloadsII 5.0.2 Changelog

CyberRanger
  • Fixed link to files in user profile by modifying the template downloads_memberfiles_bit
  • Fixed "File Name" phrase on file detail page by modifying the template downloads_file
  • Modified "delay" to work better with guests. The client's ip is now stored in the table dl_downloads.
  • The file description is now optional
  • Fixed issue with counters not updated when a file is deleted or when a files status is changed using "Manage Files"
  • Dropped ec from the beginning of the product name

DownloadsII 5.0.1 Changelog

CyberRanger
  • Added everything from ecDownloads Buddy back into DownloadsII
  • Plug a security hole that could be used for a DoS attack
  • Completely re-wrote the method for downloading files
  • Cleaned up the "Downloads" section of the admincp (thanks EvilHawk!)
  • Permit safe_mode to be on
  • Plug a security hole that could be used to get total control of your vBulletin installation (discovered by Jelle)
  • Added better protection against DoS attacks. The vb admin can now specify the minimum wait between file downloads.
  • Added ability to decide which file extensions provide "save as" option on download and which open automatically in the browser
Jelle
  • 100% XHTML 1.0 Transitional and CSS 2.1 W3C compliance
  • Removed borders of all images
  • Fixed wrong aligned text editor when adding a file with IE
  • Moved a lot of hardcoded text to phrases and fixed some missing phrases
  • Fixed two wrong phrases for navbits (Add & Edit file)
  • Fixed a bug with manage files causing an invalid sql
  • Fixed a bug with manage files causing you couldn't select the Pin option in the dropdown menu
  • Fixed a bug with the category page: category images of sub categories weren't showing up ($dl->picwidth doesn't exist)
  • Removed examples for file name and author when adding a file
  • Cached an uncached template causing an extra query on the 'Assign New Uploader' page
  • Removed the unnecessary 'add_to_dlinks' hook location
  • Cleaned up a lot of code to the vBulletin coding standards
  • Added a downloads folder with an empty index.html
  • Replaced the top panel with the side panel on the downloads index
  • Added dynamic titles for better SEO and navigation
  • Added a download button next to the two tiny links (thanks Norke!)
  • Fix: comments and votes weren't removed when you deleted a file
  • Fixed wrongly recorded votes
  • Changed the two desc fields in the database to description (because of database backup problems with desc)

RS_Jelle 11-01-2007 01:52 PM

We just released version 5.0.6, which fixes a small XSS security issue and includes bugfixes for all known bugs (including the comment counter problem). For update instructions, read the Readme-Install.txt.

DownloadsII 5.0.6 Changelog

Jelle
  • Fixed XSS security issue with the WYSIWYG-editor on the file edit page
  • More code cleanup
  • *Really* fixed the update counters function (rerun the Update Counters after the upgrade to fix it)
  • Fixed the double slash in image URLs (strrpos() and strlen() have a different count method)
  • Fixed empty pages after taking actions using the Manage Files feature
  • Added the name parameter to the Content-Type header sent with a download (downloading using IE6 corrupted some files without this in rare cases)


All times are GMT. The time now is 06:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04606 seconds
  • Memory Usage 1,812KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete