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?

how to change the week start day?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: how to change the week start day?
#2961
how to change the week start day? 5 Years, 9 Months ago Karma: 0
hello,

in the my location week start day is saturday

what change need to my start day set to saturday?

plaese help!

thanks
islamicdoc (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3315
Re:how to change the week start day? 5 Years, 1 Month ago Karma: 1
me too. please help
eghtedar (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3318
Re:how to change the week start day? 5 Years, 1 Month ago Karma: 1
Apparently no one is accountable.


i searched and found a fix.
for frontend module stats fix for week start day be saturday, in 'components/com_joomlawatch/class.joomlawatch.stat.html.php' search (case 'THIS_WEEK' and replace below code for 'THIS_WEEK' and 'LAST_WEEK':

Code:


case 'THIS_WEEK': {
$value = $this->joomlaWatch->stat->getCountByKeyBetweenDates(DB_KEY_UNIQUE, $todayDate - $dow -2, $todayDate);
break;
}
case 'LAST_WEEK': {
$value = $this->joomlaWatch->stat->getCountByKeyBetweenDates(DB_KEY_UNIQUE, $todayDate - $dow -9, $todayDate - $dow -2);
break;




for week start day be sunday replace in abow code: 9 -> 8 and 2 -> 1
eghtedar (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/10/17 01:45 By eghtedar.
The administrator has disabled public write access.
 
#3319
Re:how to change the week start day? 5 Years, 1 Month ago Karma: 0
The above comment, was right. I searched it too from the internet and found the same answer. This thread has been answered.
____________________
My Green Web Hosting | Web hosting
jadegems12 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3320
Re:how to change the week start day? 5 Years, 1 Month ago Karma: 31
It would be a good idea to make it configurable. I will add this into the TODO list of next version. Thank you for this suggestion.
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3532
Re:how to change the week start day? 4 Years, 8 Months ago Karma: 0
eghtedar wrote:
Apparently no one is accountable.


i searched and found a fix.
for frontend module stats fix for week start day be saturday, in 'components/com_joomlawatch/class.joomlawatch.stat.html.php' search (case 'THIS_WEEK' and replace below code for 'THIS_WEEK' and 'LAST_WEEK':

Code:


case 'THIS_WEEK': {
$value = $this->joomlaWatch->stat->getCountByKeyBetweenDates(DB_KEY_UNIQUE, $todayDate - $dow -2, $todayDate);
break;
}
case 'LAST_WEEK': {
$value = $this->joomlaWatch->stat->getCountByKeyBetweenDates(DB_KEY_UNIQUE, $todayDate - $dow -9, $todayDate - $dow -2);
break;




for week start day be sunday replace in abow code: 9 -> 8 and 2 -> 1



yep, that helped me
galenvorgr (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 01/23
The administrator has disabled public write access.
 
#3592
Re:how to change the week start day? 4 Years, 6 Months ago Karma: 1
hi
when you add this fix to your component?
eghtedar (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3595
Re:how to change the week start day? 4 Years, 6 Months ago Karma: 0
hello dear " eghtedar "

i am see in my joomla watch 1.2.12 ver in joomla 1.5 in main page of this component (live stat), two line for any visits !!

have you same problem ??
islamicdoc (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1