Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ecDownloads 3.2 Legacy Details »»
ecDownloads 3.2 Legacy
Version: 3.2 Legacy, by Ron1n Ron1n is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 01-26-2005 Last Update: 08-09-2005 Installs: 195
DB Changes Template Edits
Code Changes Additional Files  
No support by the author.

ecDownloads 3.2 Legacy (vBDownloads) is available for vBulletin 3.0.x

Talk about 3.2 here: https://vborg.vbsupport.ru/showthread.php?p=751766

What is ecDownloads?

It is a download database that integrates into vBulletin. It allows you to upload files, create folders, link to external files - and more. It is very flexible and has many options. Sorry, no screenshots. Maybe if someone is nice they will provide a link to the latest version of ecDownloads for everyone to view it.

Changes in 3.2

- Too many to list... its a whole new world

Known Bugs:

- Missing phrase in add file (on nav bar)
- No file protection, add it here if you want: https://vborg.vbsupport.ru/showpost....&postcount=174
- Missing phrases (ecdownloads_can_edit_all and ecdownloads_can_view_disabled) in admincp

Install

Make the file edits in ecDownloads.txt
Upload the contents of 'upload' to your forum directory
Run the downloadinstaller.php file in the admincp (install/rebuild styles and phrases)
Create a directory called 'downloads' (or whatever you put in your settings) and make it writeable and executable

Time: 5-6 Min

Addons

vBAdvanced Module: https://vborg.vbsupport.ru/showthread.php?t=93771

Want another addon? Request it.

Giving Back

Have you installed this mod? Click install.
Do you like this mod? Rate me 5/5.
Do you want to donate? Go to www.unicef.org and be generous!

To the community

Thanks for all your support, I hope you enjoy this. It will have 1-2 minor bugs, but nothing major. Have fun, and make suggestions.

IMPORTANT NOTICES

- Upgraders should remove the CRON that they originally set up
- Look at the fix list to the right -> see if it has been updated since you downloaded

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #812  
Old 08-18-2005, 02:38 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YodaTheCoda
it creates the entry in the downloads section of the forums, but when you click "download now" it just brings up a 404 and if i look in the directory by FTP the file is missing.
The ftp idea is the way to go for such a large file. One weakness of the code is that the upload entry is written to the database without confirming the file was successfully uploaded.

Ron1n - I sent you a PM (in case you don't normally check 'em).
Reply With Quote
  #813  
Old 08-18-2005, 03:15 AM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by westpointer
The ftp idea is the way to go for such a large file. One weakness of the code is that the upload entry is written to the database without confirming the file was successfully uploaded.

Ron1n - I sent you a PM (in case you don't normally check 'em).
so is there a way to fix this or is it IE timing out or something
Reply With Quote
  #814  
Old 08-18-2005, 03:43 AM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys, im wondering if there is a module to display latest downloads for FORUMSHOME?

Kindly let me know. thanks
Reply With Quote
  #815  
Old 08-18-2005, 04:02 AM
JMH11788 JMH11788 is offline
 
Join Date: Jan 2005
Location: Ohio
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Viks
Hi guys, im wondering if there is a module to display latest downloads for FORUMSHOME?

Kindly let me know. thanks
good question! ^^^^

Quote:
Originally Posted by YodaTheCoda
so is there a way to fix this or is it IE timing out or something
no, PHP is what actually 'times out' nothing you can do about it. just like how downloading large mysql databases through php wount work
Reply With Quote
  #816  
Old 08-18-2005, 08:49 AM
BioVader BioVader is offline
 
Join Date: Oct 2003
Location: Warren, PA
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thephonemall
For those of you still having trouble with usergroups being shown properly in AdminCP here is the way the modification should look in usergroups.php:
PHP Code:
    // ###### ELITECODERS DOWNLOAD HACK ######
    
print_table_header("Download Permissions");
print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]'$ug_bitfield['caneditallfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_download_files'], 'usergroup[candownloadfiles]'$ug_bitfield['candownloadfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_rate_files'], 'usergroup[canratefiles]'$ug_bitfield['canratefiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_upload_images'], 'usergroup[canuploadimages]'$ug_bitfield['canuploadimages']);
    
print_yes_no_row($vbphrase['ecdownloads_can_link_to_files'], 'usergroup[canlinktofiles]'$ug_bitfield['canlinktofiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_upload_files'], 'usergroup[canuploadfiles]'$ug_bitfield['canuploadfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_avoid_purgatory'], 'usergroup[canavoidpurgatory]'$ug_bitfield['canavoidpurgatory']);
    
print_yes_no_row($vbphrase['ecdownloads_can_manage_purgatory'], 'usergroup[canmanagepurgatory]'$ug_bitfield['canmanagepurgatory']);
    
print_yes_no_row($vbphrase['ecdownloads_can_edit_own_files'], 'usergroup[caneditownfiles]'$ug_bitfield['caneditownfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_view_disabled'], 'usergroup[canviewdisabled]'$ug_bitfield['canviewdisabled']);
    
print_yes_no_row($vbphrase['ecdownloads_can_view_files'], 'usergroup[canviewfiles]'$ug_bitfield['canviewfiles']);
    
print_table_break();
    
// ###### ELITECODERS DOWNLOAD HACK ###### 
Actually I think it should be like this just like westpoiter said.

PHP Code:
        // ###### ELITECODERS DOWNLOAD HACK ######
    
print_table_header("Download Permissions");
    
print_yes_no_row($vbphrase['ecdownloads_can_view_files'], 'usergroup[canviewfiles]'

$ug_bitfield['canviewfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_download_files'], 'usergroup[candownloadfiles]'

$ug_bitfield['candownloadfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_rate_files'], 'usergroup[canratefiles]'

$ug_bitfield['canratefiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_upload_images'], 'usergroup[canuploadimages]'

$ug_bitfield['canuploadimages']);
    
print_yes_no_row($vbphrase['ecdownloads_can_link_to_files'], 'usergroup[canlinktofiles]'

$ug_bitfield['canlinktofiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_upload_files'], 'usergroup[canuploadfiles]'

$ug_bitfield['canuploadfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_avoid_purgatory'], 'usergroup[canavoidpurgatory]'

$ug_bitfield['canavoidpurgatory']);
    
print_yes_no_row($vbphrase['ecdownloads_can_manage_purgatory'], 'usergroup[canmanagepurgatory]'

$ug_bitfield['canmanagepurgatory']);
    
print_yes_no_row($vbphrase['ecdownloads_can_edit_own_files'], 'usergroup[caneditownfiles]'

$ug_bitfield['caneditownfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]'

$ug_bitfield['caneditallfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_view_disabled'], 'usergroup[canviewdisabled]'

$ug_bitfield['canviewdisabled']);
    
print_table_break();
    
// ###### ELITECODERS DOWNLOAD HACK ###### 
Reply With Quote
  #817  
Old 08-18-2005, 09:31 AM
BioVader BioVader is offline
 
Join Date: Oct 2003
Location: Warren, PA
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: How do I disable needing to have an author? And is there a way to not change the name of the of the file when it's downloaded. It adds the author, short name and some number that end up at the end. Can this be removed and how.
Reply With Quote
  #818  
Old 08-18-2005, 11:50 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BioVader
Question: How do I disable needing to have an author? And is there a way to not change the name of the of the file when it's downloaded. It adds the author, short name and some number that end up at the end. Can this be removed and how.
All of this COULD be done but you are talking about editing downloads.php. If you know PHP, the change would be relatively simple. Look around line 511 for the text $newfilename to change how the file gets named. You'd also need to modify what happens when the author edits the entry.

As far as making the author optional, a better solution would be to change the submission form to automatically place the username in the author field. That would probably require a change in the template.
Reply With Quote
  #819  
Old 08-18-2005, 02:23 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you edit a download, the file extension is lost when you save the edit. To fix this, look for this around line 549 in downloads.php:
PHP Code:
            elseif($_GET['do'] == 'edit')
            {

                
$result $DB_site->query("UPDATE " TABLE_PREFIX "dl_files SET `name`=".$dl->prep($_POST['name']). 
add this line before the $result:
PHP Code:
$newfilename $newfilename.strtolower(substr($file['url'], strrpos($file['url'], '.')+1)); // fix ext dropping problem 
The final result should look like:
PHP Code:
            elseif($_GET['do'] == 'edit')
            {
                
$newfilename $newfilename.strtolower(substr($file['url'], strrpos($file['url'], '.')+1)); // fix ext dropping problem
                
$result $DB_site->query("UPDATE " TABLE_PREFIX "dl_files SET `name`=".$dl->prep($_POST['name']). 
Reply With Quote
  #820  
Old 08-19-2005, 09:50 AM
BioVader BioVader is offline
 
Join Date: Oct 2003
Location: Warren, PA
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhg.. Well as another users has stated, I'm having another problem with my uploaded files count. I have actually 1 file right now for download... I've been trying to get a video file to work. Yes I have added the extension in the setting like you supposed to but everytime I upload it and you click the download link you get a blank screen.. so I've tried uploading it about, oh 11 times and now the site says there are 12 downloads available.. How can this be fxed because it's not right.
Reply With Quote
  #821  
Old 08-19-2005, 11:01 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BioVader
Uhg.. Well as another users has stated, I'm having another problem with my uploaded files count. I have actually 1 file right now for download... I've been trying to get a video file to work. Yes I have added the extension in the setting like you supposed to but everytime I upload it and you click the download link you get a blank screen.. so I've tried uploading it about, oh 11 times and now the site says there are 12 downloads available.. How can this be fxed because it's not right.
It sounds like you have two problems 1) You upload the file but it doesn't download 2) you feel the file count is wrong.

As for #1, I'm not sure. Can you provide your site URL?

For #2, the file count is correct. Note that even if you upload the same file 12 times, the file gets renamed each time and will be counted as 12 uploads. Now, if you've deleted the file first, then uploaded it, and your count says 12 that is a problem.
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 09:12 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.05370 seconds
  • Memory Usage 2,361KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete