Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter emzquem

    (@emzquem)

    Et voila.

    Thanks for quick response.

    The site is back up.

    Thread Starter emzquem

    (@emzquem)

    /**
    		 * Register the external JS libraries that may be enqueued in either the frontend or admin.
    		 *
    		 * @return NULL
    		 */
    		public function registerScripts()
    		{
    if ( $this->options->getGoogleMapsAPI() ) wp_register_script('cn-google-maps-api', 'https://maps.google.com/maps/api/js?sensor=false', array( 'jquery' ), CN_CURRENT_VERSION, $this->options->getJavaScriptFooter() );
    wp_register_script('jquery-gomap-min', WP_PLUGIN_URL . '/connections/js/jquery.gomap-1.3.2.min.js', array('jquery' , 'cn-google-maps-api' ), '1.3.2', $this->options->getJavaScriptFooter() );
    			wp_register_script('jquery-markerclusterer-min', WP_PLUGIN_URL . '/connections/js/jquery.markerclusterer-2.0.10.min.js', array('jquery' , 'cn-google-maps-api' , 'jquery-gomap-min' ), '2.0.10', $this->options->getJavaScriptFooter() );
    
    			wp_register_script('jquery-qtip', WP_PLUGIN_URL . '/connections/js/jquery.qtip.min.js', array('jquery'), 'nightly', $this->options->getJavaScriptFooter() );
    			wp_register_script('jquery-preloader', WP_PLUGIN_URL . '/connections/js/jquery.preloader.js', array('jquery'), '1.1', $this->options->getJavaScriptFooter() );
    			wp_register_script('jquery-spin', WP_PLUGIN_URL . '/connections/js/jquery.spin.js', array('jquery'), '1.2.5', $this->options->getJavaScriptFooter() );
    			wp_register_script('jquery-chosen-min', WP_PLUGIN_URL . '/connections/js/jquery.chosen-0.9.8.min.js', array('jquery'), '0.9.8', $this->options->getJavaScriptFooter() );
    			wp_register_script('jquery-validate' , WP_PLUGIN_URL . '/connections/js/jquery.validate.min.js', array('jquery', 'jquery-form') , '1.9.0' , $this->options->getJavaScriptFooter() );
    		}
    
    		/**
    Thread Starter emzquem

    (@emzquem)

    As an update: The points_plus and points_minus fields remain as 0 (in fact, having just done an update matches for the previous season it has updated the aforementioned columns to zero, suggesting it is updating zero rather than not updating at all).

    Also I’ve noticed that in the preferences, the default points rule is German Ice Hockey and no matter what I change it to… it reverts immediately back to German Ice Hockey.

    Help

    Thread Starter emzquem

    (@emzquem)

    I’ve sorted it. A serious hack to the admin.php file but it works a treat.

    Thread Starter emzquem

    (@emzquem)

    It’s actually more complex than that…

    Losing Bonus (within 5 points of opposing team)=2
    Losing Bonus (score half goals of opposing team) =1

    Nothing for Losing badly.

    Thoughts welcome ??

    Perfect – thanks for sharing. Just solved my problem!

Viewing 6 replies - 1 through 6 (of 6 total)