Support » Plugin: Delightful Downloads » In post-new page, ADD Download button does not function

  • Resolved gdgd@hirahira

    (@gdgdhirahira)


    Hello
    I use Delightful Downloads from yesterday.
    Thank you for a splendid plug in.
    I use it in Japanese environment (ja), and there is it, but, in post-new page, ADD Download button does not function.
    The ADD Media button does not function at the same time, too.
    In addition, the menu is not developed in mouse over, too.
    A problem is not taking place in post-new.php?post_type=page.
    It is saved if I have you teach a measure method.

    I make it and a Japanese translation file, but I wonder if the name of the translation file should have been able to stick how
    Because it is not reflected, I am troubled.

    http://wordpress.org/plugins/delightful-downloads/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author A5hleyRich

    (@a5hleyrich)

    Hi,

    Thanks for the feedback. The buttons not working will usually caused by a plugin conflict. Is there any chance I can get access the admin area to take a look?

    As for the language file, where are you uploading it?

    Ashley

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Hello
    At first I put the translation file in “language” Folder.
    translation file
    ja.mo or (recognize that do not have any problem in plug in excellent )-ja.mo.

    Because it is WordPress which I use in individuals, about the site, I cannot register a user.
    I register a user if I have you teach a mail address by some kind of methods.
    Is the authority all right in “editors?”

    Thank you for quick correspondence.

    Plugin Author A5hleyRich

    (@a5hleyrich)

    Hi,

    The email address is hello[at]ashleyrich.com

    Ashley

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Hello
    I did a user registration.
    I think that a password is notified of in a mail, but please inform it if I do not arrive.
    Thank you in advance for your help.

    Plugin Author A5hleyRich

    (@a5hleyrich)

    Got it and logged in. I thought you were having issues with the buttons not working but it is just that the language file is not being applied.

    Can you try adding the ja.mo file to wp-content/plugins/delightful-downloads/languages/ directory and see if that works?

    Also, is there any chance you can email me the ja.mo file so I can test locally?

    Ashley

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Ashley, hello
    Because it seemed to be a factor that a translation file was not reflected, I deleted the translation file which was finished with an upload, but the situation did not change.
    Not finished still making the translation file, but dispatch it in a mail.
    Sequentially thanking you in advance.
    gdgd@hirahira

    Plugin Author A5hleyRich

    (@a5hleyrich)

    Hi,

    The issue should be resolved in the update I have just pushed out.

    The language files should be placed in wp-content/languages/delightful-downloads/

    You also need to rename the ja.mo file to delightful-downloads-ja.mo

    Therefore the file path should be: wp-content/languages/delightful-downloads/delightful-downloads-ja.mo

    You can safely remove the ja.mo from wp-content/plugins/delightful-downloads/languages/

    That should hopefully resolve your issue. If you could let me know how you get on that would be appreciated.

    Ashley

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Ashley, hello
    The translation file was reflected by a method of “wp-content/languages/delightful-downloads/delightful-downloads-ja.mo”.
    I seem to interfere it about the problem that a button does not function somehow or other with “WordTwit Twitter Plugin”.
    Because widget of “WordTwit Twitter Plugin” was not displayed in post-new?post_type=page, a problem does not seem to have occurred.
    Because behavior was different, I did not realize it in post-new and post-new?post_type=page and it is earlier and should have noticed it, and I’m sorry.
    I make a translation file, and I was interested, and one is the 299th line of “page-settings.php”, but,
    echo ‘<p class=”description”>’ . __( sprintf( ‘Set the time in minutes to cache database queries.
    Then there do not be it,
    echo ‘<p class=”description”>’ . sprintf( __( ‘Set the time in minutes to cache database queries.
    Then I wonder if there is not it.
    I do not seem to cope in poedit.
    Thank you for having you cope quickly.

    Plugin Author A5hleyRich

    (@a5hleyrich)

    Sorry I missed that originally. It is WordTwit that is causing the errors with the buttons not loading due to a javascript error it is generating. You’ll notice that the default WordPress media button is also not working. You may wish to raise a support request for that plugin.

    As for the language file. I have tested it using the ja.mo file that you sent me and it works fine in my development site.

    I see no reason why it wouldn’t work if you have update Delightful Downloads to version 1.3.1.1 and you have the language file located as wp-content/languages/delightful-downloads/delightful-downloads-ja.mo.

    I presume your wp-config.php has:

    define('WPLANG', 'ja');

    Ashley

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Ashley, hello
    The problem of the translation file was settled.
    I do not understand why it was not reflected first.
    In wp-config.php, it was described “ja”.

    When WordTwit is effective and sets Delightful Downloads for invalidity in my environment, the Media button functions normally.
    On the contrary, WordTwit is invalid, and both the Media button and the Download button function normally when they set Delightful Downloads effectively.
    I am different from the test environment of Ashley in behavior.
    There may be a factor for others.
    I try even this one elsewhere.

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Ashley, hello
    Because I do not know a lot, I am my fantasy.
    Both WordTwit and Delightful Downloads use “add_action( ‘admin_footer’,”.
    I seem to be in condition “add_action( ‘admin_footer’,” of WordTwit does not function when I validate both WordTwit and Delightful Downloads or to be overwritten in “add_action( ‘admin_footer’,” of Delightful Downloads.
    I cannot think admin_footer to be the specification that only one request permits, but feel it so that possibly such a malfunction may lie hidden.
    An output of WordTwit completely lacked in a block of wpfooter when I watched a html source of post_new.
    I cannot judge it whether it is status of the malfunction whether behavior of admin_footer is according to specification.

    Plugin Author A5hleyRich

    (@a5hleyrich)

    Good spot, however why TwitWord generates an error is beyond me. To fix the problem you can change the Delightful Downloads file includes/admin/media-button.php file, line 121 to:

    add_action( 'admin_footer', 'dedo_media_modal', 100 );

    I will push the fix out in the next update.

    Ashley

    Thread Starter gdgd@hirahira

    (@gdgdhirahira)

    Ashley, hello
    Thank you.
    Both the Media button and the Download button worked without a problem with the status that WordTwit became effective.
    Thank you for having you help it.
    I can use it in this without reserve.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘In post-new page, ADD Download button does not function’ is closed to new replies.