• eperatopoulos

    (@eperatopoulos)


    Ditty Ticker plugin is generating unique IDs constantly:

    The issue is caused by the fact that your Ditty Ticker plugin is generating unique IDs constantly in JS, which causes our plugin to believe that they are separate and results in accumulating a large amount of combines JS files.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Thanks for reaching out. I’m going to need more information on this to help you out.

    Ditty is using data attributes for all ids and other settings and does not set actual id attributes. On each page load the Ditty will have a unique data-id, but it doesn’t change after page load. But, again this is a data attribute and not an actual element id.

    What is your plugin and what does it do? Can you provide some insight on what the combined js files you mention and why data attributes of Ditty would be affecting what your plugin does?

    Thread Starter eperatopoulos

    (@eperatopoulos)

    The plugin is called Speed Optimizer by Siteground. I had to turn off Minify JavaScript Files because it was creating a very large file from the News Ticker plugin, and eventually, it overloaded the system.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Interesting, thanks for the info. I’ll check it out. I use the same plugin on my site, but I usually tend to stay away from minifying so I don’t have it enabled. I’ll turn it on for a bit and see what happens and have a discussion with SiteGround support if I see the same thing.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Where are you seeing this file at and what is the file name? I turned minify on since yesterday and am not seeing anything related to Ditty in the wp-content/uploads/siteground-optimizer-assets directory.

    Also, just to check… Are you using the legacy Ditty News Ticker post type or the current Ditty post type for your news tickers?

    Thanks!

    Thread Starter eperatopoulos

    (@eperatopoulos)

    I am back because the problem happened again with the Ditty News Ticker. I think I might have more information for you to test with this time.

    It looks like the “Combine JavaScript Files” option is actually causing the issue as the Ditty News plugins generate new timestamps in a javascript file quite often and once there’s a change to a javascript file, our plugin creates a new combined javascript file.

    Are you able to disable the timestamp feature that generates new JS code, or if you know what should be excluded exactly from the Combine JavaScript Files feature so that it won’t generate new files upon the changes to the JS code of the Ditty plugin?

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Thanks for the follow up. It sounds like you have WP_DEBUG enabled on your site. When this is enabled the scripts load with the time appended to it as opposed the static version number.

    I have just released an update that modifies this behavior so even with WP_DEBUG enabled the scripts will use the plugin version number. Please try turning WP_DEBUG off or upgrading to the latest version and let me know if this resolves your issue.

    Thread Starter eperatopoulos

    (@eperatopoulos)

    I updated the plugin to version 3.1.32. I went into the WP_config.php the the debug was set to false already. I will let you know how everything turns out. Thanks for your help on the matter.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Sounds good, I look forward to hearing the results!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Ditty Ticker plugin is generating unique IDs constantly’ is closed to new replies.