Forum for users of JoomlaWatch / ExtraWatch for Joomla, Wordpress, Drupal, Magento, Prestashop

JoomlaWatch / ExtraWatch has following features: live real-time visitor statistics, location of your visitors on a map, blocking of users based on bad word list, front-end counters, click heat map, definition of goals and rules, graphs, directory size monitoring, monitoring of increase of database data in time, nightly email reports, interactive HTML5 chart of traffic flow within your website, SEO report with keyword statistics and keyword position trends

Welcome, Guest
Please Login or Register.    Lost Password?

JoomlaWatch offset in right panel
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: JoomlaWatch offset in right panel
#1314
JoomlaWatch offset in right panel 8 Years ago Karma: 0
JoomlaWatch is a great component, I love it

This minor problem with the time offset is the only thing that's annoying. My server shows the right date and time. My Joomla 1.5.7 needs locale settings -3 (Brazil) to set the right date and time on the articles. My JoomlaWatch needs timezone offset 0 to show the right date and time on the left panel where the latest visitors are shown. And now to the problem: although latest visitors are recorded with the right date and time (say 25.09.2008 15:43:06), the left panel is recording the weekly stats and daily stats a day before (24.09.2008). To be a little more specific, only at 9:00 PM the date is chaged.

I tried the solution given above, changed Joomla locale settings from -3 to 0 and watched JoomlaWatch again. The only thing that changed was the time recorded for the latest visitors. The problem on the right panel remained the same.

Could it be possible that the left and the right panel are looking for date and time in different places in the code? Or that some other calculation is made on the right panel?

Thanks for any help.<br><br>Post edited by: matto, at: 2008/09/26 16:04
vicki (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1322
Re:Still a problem 8 Years ago Karma: 31
That's a good question.

in class.joomlawatch.php

try to change:

function getIntValuesByName($name, $date, $expanded, $limit) {

if ($date == &quot;&quot;)
$date = floor((time() + JoomlaWatch :: getConfigValue('JOOMLAWATCH_DAY_OFFSET')) / 3600 / 24);


to
function getIntValuesByName($name, $date, $expanded, $limit) {

if ($date == &quot;&quot;)
$date = floor((JoomlaWatch :: getServerTime() + JoomlaWatch :: getConfigValue('JOOMLAWATCH_DAY_OFFSET')) / 3600 / 24);

and see whether it helps.
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2618
Re:Still a problem 6 Years, 4 Months ago Karma: 31
Please use version 1.2.11
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2751
Re:JoomlaWatch offset in right panel 6 Years, 1 Month ago Karma: 0
This is very boring!!!!!!!! Im getting this error two!! How can I solve???????????????????????????????
spiderboy_heavy (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2760
Re:JoomlaWatch offset in right panel 6 Years ago Karma: 0
My Joomlawatch (latest version) also has the correct date on left side (6th) but 5th on right side so when today is monday the stats are showing as being for Sunday 5th (today) ?????
timtecsa (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2807
Re:Still a problem 5 Years, 12 Months ago Karma: 0
in class.joomlawatch.php ??? no such code in mine.

entire content is

<?php


/**
* JoomlaWatch - A real-time ajax joomla monitor and live stats
* @version 1.2.0
* @package JoomlaWatch
* @license www.gnu.org/licenses/gpl-3.0.txt GNU General Public License v3
* @copyright (C) 2007 by Matej Koval - All rights reserved!
* @website www.codegravity.com
**/

/** ensure this file is being included by a parent file */
if (!defined('_JEXEC') && !defined('_VALID_MOS'))
die('Restricted access');

class JoomlaWatch {

var $database;

var $visit;
var $stat;
var $config;
var $helper;
var $goal;
var $block;
var $cache;

function JoomlaWatch() {
$this->stat = new JoomlaWatchStat();
$this->config = new JoomlaWatchConfig();
$this->helper = new JoomlaWatchHelper();
$this->goal = new JoomlaWatchGoal();
$this->block = new JoomlaWatchBlock();
$this->visit = new JoomlaWatchVisit();
$this->cache = new JoomlaWatchCache();
}





}
?>
timtecsa (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2821
Re:Still a problem 5 Years, 11 Months ago Karma: -1
I was also got this erro yet..
james911 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

Latest News

Get the latest freelance project announcements
Follow CodeGravity.com

Download ExtraWatch™

ExtraWatch™ FREE is Joomla, Wordpress, Prestashop, Magento plugin with following features: Live Stats, Nightly Email Reports, Goals, Graphs, Anti-spam, History and more