Joomlander.Net

  • Increase font size
  • Default font size
  • Decrease font size
Welcome, Guest
Please Login or Register.    Lost Password?

Coolhits reporting odd numbers
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Coolhits reporting odd numbers
#140
Coolhits reporting odd numbers 3 Years, 5 Months ago  
Hey,

I like your module alot, but it gives me some multiplier of page hits instead of unique visitors, is there a way to change this?

Using latest versions of Joomla & joomla stats & coolhits.

Thanks in advance!
krugy
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#141
Re:Coolhits reporting odd numbers 3 Years, 5 Months ago  
Read some of the other posts in this very small forum. This is a bug in the integration of Jstats. I believe there is an easy fix described in an earlier post. I will not be able to address this for several more days. Sorry.
brucescherzinger
Admin
Posts: 369
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#142
Re:Coolhits reporting odd numbers 3 Years, 5 Months ago  
admin wrote:
Read some of the other posts in this very small forum.

I did read through the forum but found nothing addressing this.

This is a bug in the integration of Jstats. I believe there is an easy fix described in an earlier post. I will not be able to address this for several more days. Sorry.

Take your time

Thanks for the fast reply anyway, good work!
krugy
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#143
Re:Coolhits reporting odd numbers 3 Years, 5 Months ago  
You're right. Someone emailed me instead of posting here. Here's the change in a nutshell.

"It seems that in this version you should change the select statement from sum(id) to count(id)."

In other words, change this:

Code:

} else if ( $source == 'joomlastats') {
$query = "SELECT sum(id) FROM jos_jstats_visits";
}


to this:
Code:

} else if ( $source == 'joomlastats') {
$query = "SELECT count(id) FROM jos_jstats_visits";
}



Let me know if this cures the problem. This code was provided by someone who uses Jstats. I did not test it before releasing it (shame on me!).
brucescherzinger
Admin
Posts: 369
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#144
Re:Coolhits reporting odd numbers 3 Years, 5 Months ago  
That pretty much solved it, i believe it's giving me total hits now, not unique visitors, but this is ok.

I was digging through the mysql for the numbers so that i could decide myself what figures it is showing on the front page but couldn't fine the exact unique visitors field, mebbe i'm just blind but...

But thanks again, nice work, keep it up.

Btw., the site is at www.lostfiction.fi feel free to visit and comment it.
krugy
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: brucescherzinger

Member Access

Donations Accepted

Joomlander.Net is now accepting donations. Your donation, though not required to use this site or download files, will help to keep it online and keep the Joomla extensions coming. Donations are made through PayPal and are 100% secure. You can use your own PayPal account or any major credit card.