Module Vinaora Visitors Counter
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Thu Dec 10, 2009 12:45 pm
Re: Module Vinaora Visitors Counter
mskoczek,
I think you're on PHP 4 and you need PHP 5.
Just checked at my webhost: with PHP4 I get the same error for str_split(), with PHP5 I don't get the error. This function seems to be PHP5 only: http://php.net/manual/en/function.str-split.php. My webhost uses PHP4 unless I indicate I want to use PHP5 in my .htaccess file. Maybe yours does too?
I think you're on PHP 4 and you need PHP 5.
Just checked at my webhost: with PHP4 I get the same error for str_split(), with PHP5 I don't get the error. This function seems to be PHP5 only: http://php.net/manual/en/function.str-split.php. My webhost uses PHP4 unless I indicate I want to use PHP5 in my .htaccess file. Maybe yours does too?
-
- Joomla! Apprentice
- Posts: 18
- Joined: Thu Dec 10, 2009 12:45 pm
Re: Module Vinaora Visitors Counter
Even better: what to change for PHP4 is already in the helper.php file:
Find the code
and replace it with
I've attached the file for your convenience.
Find the code
Code: Select all
function &getDigits( $number, $length=0 )
{
$strlen = strlen($number);
$arr = array();
$diff = $length - $strlen;
// Push Leading Zeros
while ( $diff>0 ){
array_push( $arr,0 );
$diff--;
}
// For PHP 4.x
/*
$arrNumber = array();
for ($i = 0; $i < $strlen; $i++) {
$arrNumber[] = substr($number,$i,1);
}
*/
// For PHP 5.x:
$arrNumber = str_split( $number );
$arr = array_merge( $arr,$arrNumber );
return $arr;
}
Code: Select all
function &getDigits( $number, $length=0 )
{
$strlen = strlen($number);
$arr = array();
$diff = $length - $strlen;
// Push Leading Zeros
while ( $diff>0 ){
array_push( $arr,0 );
$diff--;
}
// For PHP 4.x
$arrNumber = array();
for ($i = 0; $i < $strlen; $i++) {
$arrNumber[] = substr($number,$i,1);
}
// For PHP 5.x:
//$arrNumber = str_split( $number );
$arr = array_merge( $arr,$arrNumber );
return $arr;
}
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 13
- Joined: Sun Feb 14, 2010 11:28 pm
-
- Joomla! Apprentice
- Posts: 26
- Joined: Mon Feb 15, 2010 9:13 am
Re: Module Vinaora Visitors Counter
would love to exclude bots and my IP .. this way statistics are not occurate
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Feb 04, 2010 4:34 am
Re: Module Vinaora Visitors Counter
I am having an issue with the Vinaora Visitors Counter, on install I get a error message -
Fatal error: Call to undefined function: str_split() in /home/content/j/p/m/*******/html/newjura/modules/mod_vvisit_counter/helper.php on line 84
If I uncheck the all option in Menu Assignment the error disappears but I dont get the module on any page, and even checking Select Menu Item(s) from the List I see no change.
I am new to Joomla and have succesfully installed many extensions with no problems, not that I have alot installed now, but I dont know how to remedy this error. At the moment have the module disabled.
Fatal error: Call to undefined function: str_split() in /home/content/j/p/m/*******/html/newjura/modules/mod_vvisit_counter/helper.php on line 84
If I uncheck the all option in Menu Assignment the error disappears but I dont get the module on any page, and even checking Select Menu Item(s) from the List I see no change.
I am new to Joomla and have succesfully installed many extensions with no problems, not that I have alot installed now, but I dont know how to remedy this error. At the moment have the module disabled.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Thu Dec 10, 2009 12:45 pm
Re: Module Vinaora Visitors Counter
TheDudeRulez, start with reading http://forum.joomla.org/viewtopic.php?p ... 1#p2024851, who had the same prolem, in this thread until you find the message with a solution: http://forum.joomla.org/viewtopic.php?p ... 3#p2025543.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Feb 04, 2010 4:34 am
Re: Module Vinaora Visitors Counter
Thank you Quodo, I contacted my host and the server is PHP4 and I ill have to upgrade my package to use this Vinaora, so it will have to wait.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Thu Dec 10, 2009 12:45 pm
Re: Module Vinaora Visitors Counter
TheDudeRulez,
or you just replace the file mentioned that is attached to my post...
or you just replace the file mentioned that is attached to my post...
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Feb 04, 2010 4:34 am
Re: Module Vinaora Visitors Counter
I am a newb, would I have to do that through FTP? cause I don't have FTP access on this host package just direct management access.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri May 15, 2009 9:13 am
Re: Module Vinaora Visitors Counter
Hi everyone,
how is it possible to translate : "Nous avons: 1 guests, 3 members online"
I haven't found these words in the "FR-fr" folder...
Thanks a million
how is it possible to translate : "Nous avons: 1 guests, 3 members online"
I haven't found these words in the "FR-fr" folder...
Thanks a million
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Feb 25, 2010 9:49 pm
Re: Module Vinaora Visitors Counter
Hi everyone,
I get "PHP Notice: Undefined variable:" Messages in error_log of Apache! It contains always the same variable names: yesterday_visits; lweek_visits; lmonth_visits on line 295,296 and 297 in /modules/mod_vvisit_counter/mod_vvisit_counter.php
Is this only my problem and what should I do then or is it because of missing declaration in code.
From mod_vvisit_counter.xml:
<install type="module" version="1.5" client="site">
<name>Vinaora Visitors Counter</name>
<creationDate>2009-12-05</creationDate>
<author>VINAORA</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://vinaora.com</authorUrl>
<copyright>Copyright (C) 2007 - 2009 VINAORA. All rights reserved.</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<version>2.0</version>
<description>DESC_VVISIT_COUNTER</description
I get "PHP Notice: Undefined variable:" Messages in error_log of Apache! It contains always the same variable names: yesterday_visits; lweek_visits; lmonth_visits on line 295,296 and 297 in /modules/mod_vvisit_counter/mod_vvisit_counter.php
Is this only my problem and what should I do then or is it because of missing declaration in code.
From mod_vvisit_counter.xml:
<install type="module" version="1.5" client="site">
<name>Vinaora Visitors Counter</name>
<creationDate>2009-12-05</creationDate>
<author>VINAORA</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://vinaora.com</authorUrl>
<copyright>Copyright (C) 2007 - 2009 VINAORA. All rights reserved.</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<version>2.0</version>
<description>DESC_VVISIT_COUNTER</description
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Apr 06, 2010 6:17 pm
Re: Module Vinaora Visitors Counter
Hi!
I've been using this great counter for almost 6 months now, but today I have noticed a sudden increase of accesses (from 50/60 to about 900!) to my site which supposingly are due to bots.
My Google Analytics account also leads me to the same conclusion since a number of visitors about the average shows there.
I have seen that this is a frequently asked question, yet I haven't found any reply: how could I exclude bots from "artificially" increase the visitors count?
I would very much appreciate your help..
Thanks
Nicola
I've been using this great counter for almost 6 months now, but today I have noticed a sudden increase of accesses (from 50/60 to about 900!) to my site which supposingly are due to bots.
My Google Analytics account also leads me to the same conclusion since a number of visitors about the average shows there.
I have seen that this is a frequently asked question, yet I haven't found any reply: how could I exclude bots from "artificially" increase the visitors count?
I would very much appreciate your help..
Thanks
Nicola
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Aug 24, 2008 2:55 pm
- Contact:
Re: Module Vinaora Visitors Counter
After installing Visit Counter 2.0 i am getting a mayor problem when going to my website
Fatal error: Call to undefined function: getdate() in /xxx/x/xxx/xxx/xxx/modules/mod_vvisit_counter/mod_vvisit_counter.php on line 299
and line 299 is:
$time = & JFactory::getDate( );
I am using PHP 5.2.6
What to do for getting my counter to work?
Fatal error: Call to undefined function: getdate() in /xxx/x/xxx/xxx/xxx/modules/mod_vvisit_counter/mod_vvisit_counter.php on line 299
and line 299 is:
$time = & JFactory::getDate( );
I am using PHP 5.2.6
What to do for getting my counter to work?
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Jun 17, 2010 1:58 pm
Re: Module Vinaora Visitors Counter
Hi,
I don't know if i send this request to the right place.
I just install the extention and it work well. How can i change the language. I want it to be in french
Can you help me!
Nath
I don't know if i send this request to the right place.
I just install the extention and it work well. How can i change the language. I want it to be in french
Can you help me!
Nath
-
- Joomla! Apprentice
- Posts: 18
- Joined: Thu Dec 10, 2009 12:45 pm
Re: Module Vinaora Visitors Counter
Hi Nath,whouffy wrote:How can i change the language. I want it to be in french
the module only has english language files (marked by en-GB). So you will have to translate the language files yourself... Some tips:
- Do that with an editor that save text files "UTF-8 without BOM" like Notepad ++ can do.
- The language files should have the correct name for the language, e.g. british english: en-GB.com_vvisit_counter.ini, or dutch: nl-NL.com_vvisit_counter.ini.
- The language file should be placed in the correct directory with the correct language code (this example en-GB): /JOOMLAROOT/language/en-GB/ and /JOOMLAROOT/administrator/language/en-GB/
I did that for the 1.7.3 version: http://forum.joomla.org/viewtopic.php?p ... 5#p1960395.
For help on how to make translations:
- general information: http://community.joomla.org/translations.html
- some specifics: http://docs.joomla.org/How_to_create_a_language_pack
That should get you started.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Jul 21, 2010 1:26 pm
Re: Module Vinaora Visitors Counter
I have a problem abaut the Vinaora Visitors Counter, can same one like to help me.
Fatal error: Call to undefined method: jdocumentrenderermodule->getdate() in /home/content/n/i/h/somepage/html/modules/mod_vvisit_counter/mod_vvisit_counter.php on line 299
Fatal error: Call to undefined method: jdocumentrenderermodule->getdate() in /home/content/n/i/h/somepage/html/modules/mod_vvisit_counter/mod_vvisit_counter.php on line 299
-
- Joomla! Enthusiast
- Posts: 100
- Joined: Fri Apr 23, 2010 1:17 pm
Re: Module Vinaora Visitors Counter
Dear Vinaora Visitors Counter Developer,
I'm using this module a long time and my visitors number are increasing day to day. now i need to see this module report. how can i see or make the report? is it possible ?
Regards,
I'm using this module a long time and my visitors number are increasing day to day. now i need to see this module report. how can i see or make the report? is it possible ?
Regards,
-
- Joomla! Intern
- Posts: 94
- Joined: Fri Dec 08, 2006 8:46 am
Re: Module Vinaora Visitors Counter
hi i installed this module into my site and to my surprise, the counting get really wrong. It shoot up to 4000++ in 3 days in my hosting server. i do not know why it happen.
when i installed in my localhost and intranet, the counting works correctly. But in Hosting server, it does not. Please advice.
when i installed in my localhost and intranet, the counting works correctly. But in Hosting server, it does not. Please advice.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Sep 07, 2010 12:51 am
Re: Module Vinaora Visitors Counter
Hi,
try to translate "We have X guests X members X bots online"
It does not work.
Words "guests" "memebers" "bots" are linked to array in PHP code.
Translation in langueage file does not work.
Please help!
Otherwise this module have no full translation.
Some strange: if I have "Who is online" modul in german translation on, then your modul translation works. If I disable "Whoisonline" then everything goes back to english...
try to translate "We have X guests X members X bots online"
It does not work.
Words "guests" "memebers" "bots" are linked to array in PHP code.
Translation in langueage file does not work.
Please help!
Otherwise this module have no full translation.
Some strange: if I have "Who is online" modul in german translation on, then your modul translation works. If I disable "Whoisonline" then everything goes back to english...
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Oct 10, 2010 12:01 pm
Re: Module Vinaora Visitors Counter
i have a problem
i want to install vinaora_visitors_counter_2.0
upload it to my host
i go that adress but show me an error
this is my error:
Restricted access
how can i solve it???
plz help
i want to install vinaora_visitors_counter_2.0
upload it to my host
i go that adress but show me an error
this is my error:
Restricted access
how can i solve it???
plz help
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Oct 15, 2010 4:16 pm
Re: Module Vinaora Visitors Counter
Hello!
I just upgraded to latest version of vinaora visitors counter 2.0 in Joomla, version 1.5.21. Before I was using older version. There was a problem where counter didn't show in IE 8. In all other browsers counter was loaded and shown (FF, Safari, Chrome). So I did an upgrade, but that didn't fix the problem. Site just load with blank space where counter should be. Any suggestions?
Thank you.
I just upgraded to latest version of vinaora visitors counter 2.0 in Joomla, version 1.5.21. Before I was using older version. There was a problem where counter didn't show in IE 8. In all other browsers counter was loaded and shown (FF, Safari, Chrome). So I did an upgrade, but that didn't fix the problem. Site just load with blank space where counter should be. Any suggestions?
Thank you.
-
- Joomla! Apprentice
- Posts: 17
- Joined: Fri Oct 09, 2009 11:27 am
Re: Module Vinaora Visitors Counter
i am having the same issue and i tried what u say but there is no line 252 inthegioiphatminh wrote:OK, I see.
Your language's direction is right to left, not left to right.
Open [Joomla]/modules/mod_vvisit_counter/helper.php, go to line 252, and replace by
Code: Select all
$content .= '<div style="text-align: center; dir: ltr;">';
[Joomla]/modules/mod_vvisit_counter/helper.php,
!!!
please help
-
- Joomla! Apprentice
- Posts: 30
- Joined: Mon Jun 28, 2010 4:45 pm
Re: Module Vinaora Visitors Counter
I just found this thread. So i copy n paste back as what i ask on others topic board - http://forum.joomla.org/viewtopic.php?f ... 3#p2293843
webxcrawler wrote:Hye all,
Ok my situation is like this. I download all Joomla file & database from my hosting n deploy it on my localhost. My localhost using XAMPP + windows xp as details:
###### ApacheFriends XAMPP (Basispaket) version 1.7.0 ######
+ Apache 2.2.11
+ MySQL 5.1.30 (Community Server)
+ PHP 5.2.8 + PEAR (Support for PHP 4 has been discontinued)
+ PHP-Switch win32 1.0 (use "php-switch.bat" in the xampp main directory)
+ XAMPP Control Version 2.5 from http://www.nat32.com
+ XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8i
+ phpMyAdmin 3.1.1
+ ADOdb 4.990
+ Mercury Mail Transport System v4.52
+ FileZilla FTP Server 0.9.29
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.3 für PHP 5.2.8 (but not activated in the php.ini)
My php.ini setting (C:\xampp\apache\bin\php.ini) for register globals is OFF (register_globals = Off)
And my Joomla version is Joomla_1.5.20-Stable-Full_Package (that's mean 1.5 right?) . Everything is fine no problem as can running on my localhost unless if i try to login as user or admin i get this error:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\sukandaily\v1\administrator\components\com_vvisit_counter\helpers\datetime.php:27) in C:\xampp\htdocs\v1\libraries\joomla\session\session.php on line 539
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\sukandaily\v1\administrator\components\com_vvisit_counter\helpers\datetime.php:27) in C:\xampp\htdocs\v1\libraries\joomla\session\session.php on line 539
Thanxs
webxcrawler wrote:Ok. Now i can login as user & admin after i turn off Vinaora Visitors Counter plugin at Extensions > Plugin Manager > System - Vinaora Visitors Counter . My Vinaora Visitors Counter on Joomla frontpage still running & collecting visitor data. So what i'm thinking is, what's pro & con if i just turn off permanetly Vinaora Visitors Counter plugin?
Thanxs
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Oct 24, 2010 6:07 pm
Re: Module Vinaora Visitors Counter
Hi! Vinaora Visitors Counter administrator,
I just installed Vinaora Visitors Counter (v2.0) on my new website. I have done many times test with IE and Firefox browsers togather and at different locations with different IP address to launch my website. When I launched website, the total counter hit was 3 times. On-line guest was increased 3. When I re-flashed browser. It hit two times. Online guest was increased 2 Please investigate this over estimated visitors number counter issue. Thanks.
I just installed Vinaora Visitors Counter (v2.0) on my new website. I have done many times test with IE and Firefox browsers togather and at different locations with different IP address to launch my website. When I launched website, the total counter hit was 3 times. On-line guest was increased 3. When I re-flashed browser. It hit two times. Online guest was increased 2 Please investigate this over estimated visitors number counter issue. Thanks.
- dhuelsmann
- Joomla! Master
- Posts: 19659
- Joined: Sun Oct 02, 2005 12:50 am
- Location: Omaha, NE
- Contact:
Re: Module Vinaora Visitors Counter
It counts page hits not actual individuals.protran wrote:Hi! Vinaora Visitors Counter administrator,
I just installed Vinaora Visitors Counter (v2.0) on my new website. I have done many times test with IE and Firefox browsers togather and at different locations with different IP address to launch my website. When I launched website, the total counter hit was 3 times. On-line guest was increased 3. When I re-flashed browser. It hit two times. Online guest was increased 2 Please investigate this over estimated visitors number counter issue. Thanks.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Nov 26, 2010 5:11 pm
Re: Module Vinaora Visitors Counter
Hi thegioiphatminh
Please I need your help in Right To Left Language , I tried to make changes you mentioned in your reply to DNG as counter shows the digits in revers !!
" Open [Joomla]/modules/mod_vvisit_counter/helper.php, go to line 252, and replace by
$content .= '<div style="text-align: center; dir: ltr;">';
but the helper.php for version 2.0.0 has no line number 252 & I you didn't mention the original line content !!
Thanks
Please I need your help in Right To Left Language , I tried to make changes you mentioned in your reply to DNG as counter shows the digits in revers !!
" Open [Joomla]/modules/mod_vvisit_counter/helper.php, go to line 252, and replace by
$content .= '<div style="text-align: center; dir: ltr;">';
but the helper.php for version 2.0.0 has no line number 252 & I you didn't mention the original line content !!
Thanks
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Nov 30, 2010 9:13 am
Re: Module Vinaora Visitors Counter
Hello
I have deleted tables in MSQL Database and now the Table seems to be empty - it´s wrong?
/What must be the value and function for table time,visits,guests, members, bots but now the visitor don´t save the number of visitors, every new day is the visitor with 0 value/.
Thx
I have deleted tables in MSQL Database and now the Table seems to be empty - it´s wrong?
/What must be the value and function for table time,visits,guests, members, bots but now the visitor don´t save the number of visitors, every new day is the visitor with 0 value/.
Thx
-
- Joomla! Apprentice
- Posts: 11
- Joined: Tue Feb 05, 2008 7:45 pm
Re: STOP COUNTING BOTS
can someone please show me how to block BOTS from showing to public and to stop them from being counted
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Nov 26, 2010 10:28 am
Re: Module Vinaora Visitors Counter
Is there some alternative of visitor counter?
i mean this one definitely DON'T count visitors - it count admins, redactors etc., bots, facebook, twitter etc. clicks and another fake things + of course real visits.
It is running on my website for 3 days and every day is like 1600 visits no way that is true.
So i am asking for alternative?
Kind of pity btw.
i mean this one definitely DON'T count visitors - it count admins, redactors etc., bots, facebook, twitter etc. clicks and another fake things + of course real visits.
It is running on my website for 3 days and every day is like 1600 visits no way that is true.
So i am asking for alternative?
Kind of pity btw.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jan 17, 2011 8:10 am
Re: Module Vinaora Visitors Counter
I got the same problem with v2.0. The number is growing so fast, it's not true.xxsuna wrote:Is there some alternative of visitor counter?
It is running on my website for 3 days and every day is like 1600 visits no way that is true.
I've let all setting as default (session lifetime = 15).
My site: http://www.dfashions.com.vn
Anyone can help?
Quang