2012-11-29, 10:28:54
in the non-Javascript-part, and in the part showing the graph there is a hardcoded domain "stats.simplicer.com" instead of the one specified in the plugin-options.
here is a fix:
Replace
by
and replace
by
greets
y
here is a fix:
Replace
Code:
<img src="http://stats.simplicer.com/piwik.php?idsite=<?php echo( $code ); ?>" style="border:0" alt="" />
Code:
<img src="http://<?php echo( $stats_url ); ?>/piwik.php?idsite=<?php echo( $code ); ?>" style="border:0" alt="" />
Code:
<img src="http://stats.simplicer.com/index.php?module=API&method=ImageGraph.get&idSite=<?php echo( (int) $piwik->code ); ?>&apiModule=VisitsSummary&apiAction=get&token_auth=<?php echo( (string) $piwik->token ); ?>&graphType=evolution&period=day&date=previous30&width=500&height=250" />
Code:
<img src="http://<?php echo( (string) $piwik->stats_url ); ?>/index.php?module=API&method=ImageGraph.get&idSite=<?php echo( (int) $piwik->code ); ?>&apiModule=VisitsSummary&apiAction=get&token_auth=<?php echo( (string) $piwik->token ); ?>&graphType=evolution&period=day&date=previous30&width=500&height=250" />
greets
y