• Resolved jockebq

    (@jockebq)


    Hi,

    Just found this fantastic plugin, does exactly what I want.
    I have found three small issues that I would like to deal with if possible.
    1. If I make a folder or a file with a special character, like ??? (???) which are very common in Swedish. They are displayed as ?
    This only happens inside this plugin, everywhere else on WordPress these characters work.
    Any small adjustment I can make?

    2. Many of the folders and files have a forward slash in their name, and I would love if it is possible to keep this. Like if I used some shortcode on the files/folders and this was translated to a forward slash.

    3. When clicking around in the plugin, going in and out of folders I notice that everything moves sideways, like if I go in to a folder it will not keep everything in the same place, it offsets by a couple of pixels. Which looks quite weird.

    Other than that, fantastic plugin, and if you can help me out with this it would be amazing!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter jockebq

    (@jockebq)

    Another thing, when I upload new files and folders, they will not show up if I donโ€™t clear my cache in the browser or clear WP Super Cacheโ€™s cache. Is it possible to make something that clears this cache automatically when files and folders are uploaded?

    Plugin Author maennchen1.de

    (@maennchen1de)

    Hi!
    Thank you. Iโ€™ll try to answer you:

    1) What server software and version are you using?
    Are you able to test it on another server?

    2) Foreward slashes are filesystem delimiters. Not our rule. ??

    3) It seem to be a problem with your theme. Try to reproduce it with another theme.

    4) If you want to display dynamic content on your sites, try to disable caching-mechanism on it.

    Regards

    Thread Starter jockebq

    (@jockebq)

    1. Apache, PHP 5.6.21, MySQL 5.5.30, it is all I can see, it is a paid web hotel. I have no chance to try another server.
    But is there any change that can be made to the plugin, I see the first lines are something with utf8.

    2. Understand that ?? just thought you could use some shortcode.

    3. Iโ€™ll try this, weird thing is sometimes it doesnโ€™t happen.

    4. Solved the caching issue, excluded the page from caching. Thank you!

    Plugin Author maennchen1.de

    (@maennchen1de)

    Hi!

    Could you please edit wp-content/plugins/m1downloadlist/index.php an replace:

    function m1dll_utf8_encode ($f)
    {
        
    	if (@mb_check_encoding($f) == "1") return $f;
        else return utf8_decode($f);
        
    } // m1dll_utf8_encode()

    with:

    function m1dll_utf8_encode ($f)
    {
        
    	if (@mb_check_encoding($f, "UTF-8") == "1") return $f;
        else return utf8_encode($f);
        
    } // m1dll_utf8_encode()

    And try again?

    Thread Starter jockebq

    (@jockebq)

    Wow, works fantastic!
    Thank you so much! Awesome plugin!

    Plugin Author maennchen1.de

    (@maennchen1de)

    Thanks a lot!
    It would give us great pleasure, if you give us 5 stars. :o)
    The update will come immediately.

    hi.
    i cannot use utf8 character and error is:
    m1downloadlist\index.php on line 225

    Plugin Author maennchen1.de

    (@maennchen1de)

    Hi wordpress5452071!
    Could you please tell us more about your error?
    Please tell us:
    โ€“ m1.DownloadList version number
    โ€“ whole error message
    โ€“ used shortcode syntax

    โ€“ m1.DownloadList version number
    0.11
    โ€“ whole error message

    Warning: filesize(): stat failed for I:\mysite123456/m96//New folder/?? ??? ?????? ??? ???? ???? ???? ?????? ??????.docx in I:\mysite123456\wp-content\plugins\m1downloadlist\index.php on line 225

    Call Stack

    #

    Time

    Memory

    Function

    Location

    1 0.0003 240904 {main}( ) โ€ฆ\index.php:0
    2 0.0005 243976 require( โ€˜I:\mysite123456\wp-blog-header.phpโ€™ ) โ€ฆ\index.php:17
    3 0.3143 27979072 require_once( โ€˜I:\mysite123456\wp-includes\template-loader.phpโ€™ ) โ€ฆ\wp-blog-header.php:19
    4 0.3312 28410752 include( โ€˜I:\mysite123456\wp-content\themes\explorer\index.phpโ€™ ) โ€ฆ\template-loader.php:74
    5 0.3636 28498952 tamatebako_get_template( ) โ€ฆ\index.php:35
    6 0.3641 28507896 include( โ€˜I:\mysite123456\wp-content\themes\explorer\content\post-singular.phpโ€™ ) โ€ฆ\general.php:86
    7 0.3711 28512984 the_content( ) โ€ฆ\post-singular.php:20
    8 0.3715 28514160 apply_filters( ) โ€ฆ\post-template.php:240
    9 0.3715 28514528 WP_Hook->apply_filters( ) โ€ฆ\plugin.php:203
    10 0.3751 28518704 call_user_func_array:{I:\mysite123456\wp-includes\class-wp-hook.php:298} ( ) โ€ฆ\class-wp-hook.php:298
    11 0.3751 28519024 do_shortcode( ) โ€ฆ\class-wp-hook.php:298
    12 0.3753 28522120 preg_replace_callback ( ) โ€ฆ\shortcodes.php:223
    13 0.3755 28525696 do_shortcode_tag( ) โ€ฆ\shortcodes.php:223
    14 0.3758 28526304 call_user_func:{I:\mysite123456\wp-includes\shortcodes.php:345} ( ) โ€ฆ\shortcodes.php:345
    15 0.3758 28527112 m1dll_shortcode( ) โ€ฆ\shortcodes.php:345
    16 0.4053 28590192 filesize ( ) โ€ฆ\index.php:225

    โ€“ used shortcode syntax
    [m1dll path=โ€m96/โ€]

    Plugin Author maennchen1.de

    (@maennchen1de)

    Thank you!
    This message mean, that the script has nor permissions to read your file.
    Could you please tell us the right name of the DOCX?
    Did it work with other filenames?

    right name of the DOCX :
    it contain utf character.
    its just only different with other files.

    Plugin Author maennchen1.de

    (@maennchen1de)

    What is the name of the DOCX?
    Did it display you other files? And what is the difference?
    What about the file permissions? Could you try to make it read/writeable?

    ?????.DOCX
    it run on wamp server

    Plugin Author maennchen1.de

    (@maennchen1de)

    What about the file permissions? Could you try to make it read/writeable?
    Is the WAMP your dev-server? What about the live-server? Same problem here?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic โ€˜Special characters displayed as ?โ€™ is closed to new replies.