[Contribution] Visitor Web Stats - Support Thread
#1
Posted 28 February 2006 - 04:42 PM
The contribution can be downloaded here:
http://www.oscommerce.com/community/contributions,4067
PLEASE NOTE: I'm happy to help people when I can, but I did not write this nor do I know enough about it to support this contribution! I only repackaged Ian-San's work and do not take credit for it any shape or form, so please don't PM/e-mail me asking for help.
#2
Posted 01 March 2006 - 03:22 PM
#3
Posted 02 March 2006 - 01:38 PM
http://www.oscommerce.com/community/contributions,4067
http://www.oscommerce.com/community/contributions,1063
Looking the same. Please what is the difference?
Akiko
#4
Posted 02 March 2006 - 02:32 PM
San, on Mar 2 2006, 02:38 PM, said:
http://www.oscommerce.com/community/contributions,4067
http://www.oscommerce.com/community/contributions,1063
Looking the same. Please what is the difference?
Akiko
#5
Posted 07 March 2006 - 07:03 PM
can anyone give me information about how to use the geoIP.dat" database.
I see there are several links on the "reports->visitors-page": "IPadress" leads to "www.myip.com" --> external service;
"hits today" opens a popup which shows IP-address, host, date and a link-list;
"browser language" shows language in statusbar.
So what is the geoip.dat - database for?
Thanks in advance.
blofeld
#6
Posted 07 March 2006 - 07:30 PM
problem solved!
It's used in the statistics-section!
blofeld
#7
Posted 17 March 2006 - 12:09 PM
3.i found some mistaken in the french and english language file
for instance
4. BUG for the moment it shows
Click Green to include Robots Click Green to only include customers
define('TABLE_HEADING_DATE', 'Derniers Clics');
should be :
define('TABLE_HEADING_DATE', 'Premier Clics');
define('TABLE_HEADING_LAST', 'Dernier Clics');
5. missing define of language :
image_empty manquant
STATISTICS_TYPE_REPORT_26
6. Hard coded language :
Search: is hard coded
Add more items or [Close Window] is hard coded
7. the admin page enlarge more than the widht of the screen, u got to use the horzontal window lift to see some element
8. in french language , i got a script erreur saying missing '('
9. i don't see where are the flag, is it desactivated somewhere ?
10. What do you think of moving to the admin all configuration taht we got to change in the php file for the moment
Phocea answer :
Quote
I think the sort for the time on server and click counter are reversed also !!
Flag was at my wife request, she likes a bit of color, but I think it tends to slow the things down a bit, so dont abuse it.
The flags are enable/disable at the top of the visitors.php file, check at the bottom of the install.htm file I think I added some explanations there.
For the include/exclude text I dont see what you mean.
In the french language file you should now have the following:
define('ROBOT_SWITCH_LIMITED', 'Cliquer sur le rouge pour exclure un robot');
define('ROBOT_SWITCH_FULL', 'Cliquer sur le vert pour inclure un robot');
define('GUEST_SWITCH_FULL', 'Cliquer sur le vert pour n\'inclure que les clients');
define('GUEST_SWITCH_LIMITED', 'Cliquer sur le rouge pour voir toutes les traces');
define('VISITOR_ICON_FULL_ACTIVE', 'Robots inclus');
define('VISITOR_ICON_LIMITED', 'Cliquer pour exclure un robot');
define('VISITOR_ICON_FULL', 'Cliquer pour inclure un robot');
define('VISITOR_ICON_LIMITED_ACTIVE', 'Robot exclus');
define('VISITOR_ICONG_FULL_ACTIVE', 'Clients inclus uniquement');
define('VISITOR_ICONG_LIMITED', 'Cliquer pour voir toutes les traces');
define('VISITOR_ICONG_FULL', 'Cliquer pour n\'inclure que les clients');
define('VISITOR_ICONG_LIMITED_ACTIVE', 'Toutes les traces sont inclues');
in english.php it is
define('ROBOT_SWITCH_LIMITED', 'Click Red to exclude Robots');
define('ROBOT_SWITCH_FULL', 'Click Green to include Robots');
define('VISITOR_ICON_FULL_ACTIVE', 'Robots included');
define('VISITOR_ICON_LIMITED', 'Click to exclude Robots');
define('VISITOR_ICON_FULL', 'Click to include Robots');
define('VISITOR_ICON_LIMITED_ACTIVE', 'Robots excluded');
define('GUEST_SWITCH_FULL', 'Click Green to only include customers');
define('GUEST_SWITCH_LIMITED', 'Click on Red to see all traces');
define('VISITOR_ICONG_FULL_ACTIVE', 'Customers only');
define('VISITOR_ICONG_LIMITED', 'Click to see all traces');
define('VISITOR_ICONG_FULL', 'Click to only include customers');
define('VISITOR_ICONG_LIMITED_ACTIVE', 'All traces Shown');
#8
Posted 17 March 2006 - 12:17 PM
define('ROBOT_SWITCH_LIMITED', 'Cliquer sur le rouge pour exclure un robot');
define('ROBOT_SWITCH_FULL', 'Cliquer sur le vert pour inclure un robot');
define('GUEST_SWITCH_FULL', 'Cliquer sur le vert pour n\'inclure que les clients');
define('GUEST_SWITCH_LIMITED', 'Cliquer sur le rouge pour voir toutes les traces');
define('VISITOR_ICON_FULL_ACTIVE', 'Robots inclus');
define('VISITOR_ICON_LIMITED', 'Cliquer pour exclure un robot');
define('VISITOR_ICON_FULL', 'Cliquer pour inclure un robot');
define('VISITOR_ICON_LIMITED_ACTIVE', 'Robot exclus');
define('VISITOR_ICONG_FULL_ACTIVE', 'Clients inclus uniquement');
define('VISITOR_ICONG_LIMITED', 'Cliquer pour voir toutes les traces');
define('VISITOR_ICONG_FULL', 'Cliquer pour n\'inclure que les clients');
define('VISITOR_ICONG_LIMITED_ACTIVE', 'Toutes les traces sont inclues');
in english.php it is
define('ROBOT_SWITCH_LIMITED', 'Click Red to exclude Robots');
define('ROBOT_SWITCH_FULL', 'Click Green to include Robots');
define('VISITOR_ICON_FULL_ACTIVE', 'Robots included');
define('VISITOR_ICON_LIMITED', 'Click to exclude Robots');
define('VISITOR_ICON_FULL', 'Click to include Robots');
define('VISITOR_ICON_LIMITED_ACTIVE', 'Robots excluded');
define('GUEST_SWITCH_FULL', 'Click Green to only include customers');
define('GUEST_SWITCH_LIMITED', 'Click on Red to see all traces');
define('VISITOR_ICONG_FULL_ACTIVE', 'Customers only');
define('VISITOR_ICONG_LIMITED', 'Click to see all traces');
define('VISITOR_ICONG_FULL', 'Click to only include customers');
define('VISITOR_ICONG_LIMITED_ACTIVE', 'All traces Shown'); Im sorry but that make no sens, i think the english and french transalation both contains mistakes
for instance why :
define('VISITOR_ICONG_LIMITED', 'Click to see all traces'); it make no sens no ?
please phocea could you check again !
#9
Posted 17 March 2006 - 09:50 PM
I followed all the instructions and added entry to admin_files so I can see the visitor link in admin. Everything looks ok except that it doesn't register anything, the visitor tables stay empty...
Anyone got an idea what I could have missed here?
#10
Posted 17 March 2006 - 10:25 PM
Great contrib btw
#11
Posted 18 March 2006 - 03:44 AM
i have installed 2.2 everything works fine, then i upgrade to Visitor Web Stats 3a i got this error in the admin if guest lamp is green
1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customers_id != '0'' at line 1
select count(*) as total from visitors AND customers_id != '0'
anyone can helpe me with this error ?
thans in advance
bg
Michael
#12
Posted 18 March 2006 - 01:42 PM
1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customers_id != '0'' at line 1
select count(*) as total from visitors AND customers_id != '0'
anyone can helpe me with this error ?
thans in advance
check if the error is the same in all the admin language ! and tell us , i got this eror only in french :-(
#13
Posted 18 March 2006 - 02:52 PM
azer, on Mar 18 2006, 10:42 PM, said:
1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customers_id != '0'' at line 1
select count(*) as total from visitors AND customers_id != '0'
anyone can helpe me with this error ?
thans in advance
check if the error is the same in all the admin language ! and tell us , i got this eror only in french :-(
Not language, I get same error using EUC - Ian-san confirmed code for 3a has error.
#14
Posted 19 March 2006 - 01:23 AM
I've just updated my "Visitors Web Stats" to the latest v3.1 by azer. There are no Country Flags and there is just Search Engine Keywords for past 90 Days table and under the table the message:
Quote
Thanks in advance,
Irina.
Edited by Irin, 19 March 2006 - 01:23 AM.
#15
Posted 19 March 2006 - 03:02 AM
Irin, on Mar 18 2006, 07:23 PM, said:
I've just updated my "Visitors Web Stats" to the latest v3.1 by azer. There are no Country Flags and there is just Search Engine Keywords for past 90 Days table and under the table the message:
I do have a GD support enabled on my server. Please advise on what might be wrong?
Thanks in advance,
Irina.
Quote
$use_cookie = '1'; // Set to 0 to disable use of cookie
$default_report = '2'; // Initial Chart to show
$trace_days = '30'; // Time in days for Visitors Trace Data to be available
$show_visitorhost = 'false'; // Set from true to false depending if you want to display the hostname under the visitor ip. Geo library is required for this to work
$show_countryflag = 'true'; // Set from true to false depending if you want to dsiplay the visitor Ip country of origin. This require to have GEOIP library installed
Quote
And regarding the Country Flags, I just changed false to true in the line below:
Quote
#16
Posted 19 March 2006 - 08:49 AM
#17
Posted 19 March 2006 - 09:05 AM
Quote
yes u should check on the sql file the new configuration taht we added in he admin :-)
#18
Posted 21 March 2006 - 06:41 AM
I read the install instruction a couple of times and also search the forums with no luck
It's probably someting with this note in the install doc., but I dont know where I should change in the reports.php
Note: In some versions of osCommerce, you may need to use this style of code instead:
tep_admin_files_boxes(FILENAME_XXXXXXX, BOX_REPORTS_XXXXXXX) .
tep_admin_files_boxes(FILENAME_VISITORS, BOX_VISITORS));
#19
Posted 21 March 2006 - 06:49 AM
#20
Posted 29 March 2006 - 03:53 PM
San, on Mar 18 2006, 06:52 AM, said:
---------------------------------------------------------------------------
Has this problem been solved? I got the same error at initial view, it disappeared when clicking refresh table.









