StatPress Visitors
[resolved] Newest version disables javascript in plugin page (5 posts)

  1. Eckstein
    Posted 2 years ago #

    I have a few plugins that use javascript in the admin plugins page for their settings, so that the user doesn't have to leave that page to change them.

    It seems since I updated to the new StatPress V it for some reason kills this functionality.

    Everything else seems to be working fine (better actually!) it's just this little issue that I've found.

    One plugin, specifically, that this is affecting is WP Maintenance Mode


  2. Eckstein
    Posted 2 years ago #

    OK, after further using on the admin area, it seems like the plugin is also disabling the fly-out menus on the back end. That's a bigger problem.

    Thanks for listening!

  3. Bob33
    Posted 2 years ago #

    Yep, its also affecting some functions on post edit pages - word count not working, can't add new category etc.

    Great looking update to this plugin - thanks - but be good to see a fix for this.

  4. holospirit
    Posted 2 years ago #

    Error: TypeError: jQuery(".datepicker").datepicker is not a function

    possible reason:
    wp_enqueue_script('jquery-ui-datepicker', STATPRESS_V_PLUGIN_URL . '/js/jquery.ui.datepicker.min.js', array ('jquery', 'jquery-ui-core'));

    -> jquery.ui.datepicker.min.js is only enqued in stats-vis - but the function is called always

    add line ~177 admin/lic_admin.php:
    if (isset($_GET['page']) && strpos($_GET['page'], "statpress-visitors") !== false) {
    and a closing } after the script call

  5. Eckstein
    Posted 2 years ago #

    Thank you for the update today! This seems to have fixed the issue. This is a great plugin, thanks for all your hard work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • StatPress Visitors
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.