The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
*new* Download Manager plugin
#22
Hi,
I am trying to install/use this plugin but have some problems with the naming of my files.

The plugin is indexing everything and tries to just use the filename to create the reference. In my case I will have a lot of files with identical names like README.txt in different subdirectories.

I tested just by putting test1.txt in two directores dir-1 and dir-2. When I create some links like below, the first line give the file from dir-1 and the second line give the file from dir-2.

Code:
<a href="download?f=test1.txt">download?f=test1.txt</a>
<a href="download?f=dir-2/test1.txt">download?f=dir-2/test1.txt</a>
The first link is "fragile", if I create another directory called dir (which comes before dir-1 and dir-2) and put another test1.txt file in there, then the first link will deliver this one...
Another problem is that all the "shortcuts" do not work if I specifiy the name together with a directory
Code:
(% dlm test1.txt button %)
This will work and create a download link, but this
Code:
(% dlm dir-2/test1.txt link %)
will just be copied in the page... I have tested with different qoutes around the name, also with a slash and a backslash, can't get it to work...

Renaming all the files to have unique name is NOT an option...

Last reaction / login from the author here was around January 2015... Sad I don't know I there will be any feedback...

I might still use the direct method (and always specify the path), but the shortcuts seems to be quite handy and I would like to use them.

I will continue looking for other solutions and are open for suggestions.

Best regards,
 Andreas.
Reply


Messages In This Thread
*new* Download Manager plugin - by dennis_maassen - 2015-01-04, 07:25:28
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-10, 06:18:23
RE: *new* Download Manager plugin - by shawn_a - 2015-01-10, 07:56:30
RE: *new* Download Manager plugin - by shawn_a - 2015-01-10, 08:19:24
RE: *new* Download Manager plugin - by shawn_a - 2015-01-10, 08:41:56
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-10, 17:36:14
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-11, 04:09:15
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-11, 08:41:10
RE: *new* Download Manager plugin - by Eckhart - 2015-01-25, 08:11:51
Error: 'Not allowed file type' - by Mark - 2015-07-07, 18:58:17
RE: *new* Download Manager plugin - by inteq - 2015-10-06, 10:38:07
RE: *new* Download Manager plugin - by Tyblitz - 2015-10-06, 11:20:19
Download Manager plugin - BUG - by angelo - 2016-02-27, 15:11:56
RE: *new* Download Manager plugin - by ufopera - 2016-10-16, 23:17:21
RE: *new* Download Manager plugin - by A.Harrenberg - 2017-06-26, 23:48:49
RE: *new* Download Manager plugin - by tarzan - 2019-02-06, 00:47:32
RE: *new* Download Manager plugin - by Timbow - 2019-02-06, 07:48:30



Users browsing this thread: 2 Guest(s)