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)

Moosehunter 07-31-2006 12:47 AM

Is there anyway to get this download manager to intergrate into the newattachments.php file so that when a user goes to add an attachment to a post that instead of it going through vb's standard upload manager that it uses this file managers upload manager and add's a link to the file to the post the user is creating.

DementedMindz 07-31-2006 08:51 PM

I see you merged ecdownloads buddy with this (The Buddy's features are now integrated into DownloadsII.) but when on the downloads page if I dont use a username it says Unknown (Uploaded by Demented) any way to just have it show the uploader instead of Unknown...

CyberRanger 07-31-2006 11:31 PM

Quote:

Originally Posted by DementedMindz
I see you merged ecdownloads buddy with this (The Buddy's features are now integrated into DownloadsII.) but when on the downloads page if I dont use a username it says Unknown (Uploaded by Demented) any way to just have it show the uploader instead of Unknown...

I need to look at this closer. The Author feature was changed in ecDownloads ver 4.1 causing the Unknown to appear. I'll see what we can do about that on the next release.

cookiepants 08-01-2006 12:14 AM

I am very happy to have found this! EXACTLY what my site needed! Much more straight forward than the other ones I tried. I am having one problem though.

When I browse to import a bunch of files, then press "import files" I get this message:

Code:

Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 366
I did it on my computer upstairs and it worked, but I wanted to change it a little bit so I deleted all the downloads and now can't get them back in. I searched this thread but didn't see anything.

If it helps, I did chmod the downloadadmin.php to 777.

Thanks much!

Megan

cookiepants 08-01-2006 12:22 AM

okay, nevermind. Apparently I forgot to check the little 'upload' boxes. Sorry.... :confused:

HappyPike 08-01-2006 04:38 PM

On the Stats page, the Bandwidth value maxed out at 4294967 KB. Apparently this is a data type problem.

Right now it's int(10) unsigned:

INT( ) -2,147,483,648 to 2,147,483,647 normal
0 to 4,294,967,295 UNSIGNED.

CyberRanger 08-01-2006 04:49 PM

Quote:

Originally Posted by HappyPike
On the Stats page, the Bandwidth value maxed out at 4294967 KB. Apparently this is a data type problem.

Right now it's int(10) unsigned:

INT( ) -2,147,483,648 to 2,147,483,647 normal
0 to 4,294,967,295 UNSIGNED.

ah ... crap. hugh_ told me about that bug and I forgot. I'll add that to the list.

CyberRanger 08-01-2006 05:14 PM

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

I found this occurs when clicking on the on the download link located on the page that lists a summary of the files in the category but not when looking at the detailed listing for one file.

To fix it, in downloads.php around line 300 -

FIND:
PHP Code:

    if ($db->num_rows($result) > 0)
    {
        while (
$file $db->fetch_array($result))
        {
            
$date vbdate($vbulletin->options['dateformat'],$file['date'],true);        
            
$downloads vb_number_format($file['downloads']); 

BELOW that ADD:
PHP Code:

            // added to open links in a new window Aug 1, 06
            
if ($file['link'] == 1)
            {
                
$target 'target="_blank"';
            }
            else
            {
                
$target 'target="_self"';
            } 


HappyPike 08-01-2006 05:44 PM

Any idea when the next version would come out? ;) Hope you could add a few other features in (like showing the file's category on My Files page and Member Files section in profiles) besides the multiple mirrors...

Also, on the file details page, it would be nice to add a "Last Update" info to show when the file was last updated (like they have here on the forum). perhaps there could be a new "Latest Updates" list besides the Latest Files, Most Popular Files, and Top Contributors lists.

NiTRoN 08-01-2006 05:47 PM

Hey westpointer.. I just though something you might want to include in the installation file. When I did the upgrade/install it dropped all of the ecdownloads 4.x tables. Had to start from scratch.. Don't know if that what it suppose to do. In my case I had old backup of SQL file and had to modify backup to reinsert the proper tables with all my links back in.


All times are GMT. The time now is 06:33 PM.

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.03685 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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