Page 4 of 6

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 9:44 pm
by fido-x
i2Paq wrote:The new package works OK, even in IE8 the dashboard shows up. Thanks! :)
Well, I guess that confirms the corruption of the file at extensions. Question is: do I re-upload and risk the file being corrupted again, or what?
I discovered one glitch, it sees guest-visitors also as a BOT.
Is that for all guest-visitors, or just some? If a bot is not in the list, it will show as a "guest".

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 9:49 pm
by i2Paq
fido-x wrote:Well, I guess that confirms the corruption of the file at extensions. Question is: do I re-upload and risk the file being corrupted again, or what?
I would just re-upload.
Is that for all guest-visitors, or just some? If a bot is not in the list, it will show as a "guest".
It is just some, and no, they are not bots as it sees my IP as..., bot :o

Ow my god! I'm am a bot, I'm a forum spammer *switching off* ;D

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 10:02 pm
by fido-x
i2Paq wrote:I would just re-upload.
OK, done.
It is just some, and no, they are not bots as it sees my IP as..., bot :o
If you log in to the admin before viewing the front-end, you shouldn't be counted at all.
Ow my god! I'm am a bot, I'm a forum spammer *switching off* ;D
LOL

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 10:12 pm
by i2Paq
fido-x wrote: If you log in to the admin before viewing the front-end, you shouldn't be counted at all.
I logged on before viewing the store front....

Is it possible to still see the Bots, I see that they are hidden now from dashboard but would like to see them in the Who's Online page.
This so I can block them if they are bots you do not want on your site.

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 10:44 pm
by fido-x
i2Paq wrote:I logged on before viewing the store front....
Hmmm, strange. Haven't seen this myself in my own testing. It uses the same method to detect an admin user as the maintenance mode uses.

Having a quick look through the model (in the front-end), I've just noticed that I've "doubled up" on some code in the checkAdminUser() function (the first 2 lines are repeated), which might cause a problem.
Is it possible to still see the Bots, I see that they are hidden now from dashboard but would like to see them in the Who's Online page.
This so I can block them if they are bots you do not want on your site.
Although the visitor and page view counters don't count bots, the who's online component does. If you look at the information at the bottom of the who's online page, you will see a count of the total number of visitors (less bots), followed by a breakdown into customers and guests. It also shows the number of bots online (but doesn't display them or count them as "visitors").

I did think about including an option in the module for turning the display of bots "on" and "off" (so to speak) for the who's online page. I'll add that in for the next release. In the meantime, to enable the display of bots on the who's online page, you will need to edit the model in the admin. In the "getOnlineVisitors()", changing the query by removing the "WHERE customer_id >= '0'" will re-enable the display of bots (but not count them as "visitors"). This will also display them on the dashboard page, since the same query is used.

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 10:51 pm
by i2Paq
I'll just wait on the next release ;)

btw. I think that the Reset Counter button should be in another place, it would be better to have it in the Extensions -> Modules -> Earthball module

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 11:08 pm
by fido-x
i2Paq wrote:I'll just wait on the next release ;)
No worries.
btw. I think that the Reset Counter button should be in another place, it would be better to have it in the Extensions -> Modules -> Earthball module
Yeah, you're probably right about that. I'll move it.

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 11:18 pm
by i2Paq
And make it so that if anyone, by accident, de-installs the module, the tables will be saved (not deleted).

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 11:28 pm
by fido-x
i2Paq wrote:And make it so that if anyone, by accident, de-installs the module, the tables will be saved (not deleted).
That's already what happens. Uninstalling the module doesn't delete the database tables.

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Thu Feb 24, 2011 11:34 pm
by i2Paq
OK, even better :)

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Tue Mar 01, 2011 6:31 am
by fido-x
Another update. This is the "e" release.

Changes
Counter reset moved to module (still redirects to counter stats page after resetting).
Added option to display (or not) bots on the who's online page in the admin (will also show in dashboard if selected).
Added "bingbot" to list of bots.

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Wed Mar 02, 2011 2:34 am
by i2Paq
fido-x wrote:Another update. This is the "e" release.

Changes
Counter reset moved to module (still redirects to counter stats page after resetting).
Added option to display (or not) bots on the who's online page in the admin (will also show in dashboard if selected).
Added "bingbot" to list of bots.
Downloaded it from Extensions, uploaded it to my test site: works like a charm.

Now running smooth on my production site.

Thanks!


(added Dutch language for the "e" release to previous post)

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Wed Mar 02, 2011 3:54 am
by i2Paq
Suggestion:

On/In the dashboard: Only show real user/visitors, no Bots.
Then:
Currently On-line (less Bots): 3
Bots: 2

When clicking on: View Who's Online
Show
Visitor
Bot
Visitor
Vistor
Bot

Do I make any sense?

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 5:56 pm
by i2Paq
I would like to have to possibility to not show the module on my store-font at all ;)

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 6:41 pm
by fido-x
i2Paq wrote:Suggestion:

On/In the dashboard: Only show real user/visitors, no Bots.
Then:
Currently On-line (less Bots): 3
Bots: 2
Since the dashboard and who's online page use the same query, I'd have to write another query specifically for the dashboard. Can be done.
When clicking on: View Who's Online
Show
Visitor
Bot
Visitor
Vistor
Bot
The order they're displayed in is based on their entry time.
Do I make any sense?
Do you really want me to answer that? ;D :bang:
i2Paq wrote:I would like to have to possibility to not show the module on my store-font at all ;)
Yeah, can be done.

Looks like I'll have to make an "f" release, as in: f-me, I've got more to do. ;D

Give me a couple of days.

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 6:53 pm
by i2Paq
fido-x wrote:
i2Paq wrote:Suggestion:

On/In the dashboard: Only show real user/visitors, no Bots.
Then:
Currently On-line (less Bots): 3
Bots: 2
Since the dashboard and who's online page use the same query, I'd have to write another query specifically for the dashboard. Can be done.
Do I make any sense?
Do you really want me to answer that? ;D :bang:
Ehmm, better not ;D

i2Paq wrote:I would like to have to possibility to not show the module on my store-font at all ;)
Yeah, can be done.

Looks like I'll have to make an "f" release, as in: f-me, I've got more to do. ;D

Give me a couple of days.
F as in Finally ready :D

I've added the Footer mod you made for this and set the module to show in my footer. As there is no code there it is not showing atm. 8)

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 6:57 pm
by i2Paq
And maybe show the Shopping-cart in the dashboard as well?

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 7:27 pm
by fido-x
OK, so let's get this "mapped out". We want:
  • No bots in dashboard "who's online" display.
    Shopping cart in dashboard "who's online" display.
    Show or not show module on front-end.
    Sort order on "who's online" page based on page last clicked rather than entry time?
Ummh, is there anything else?

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 7:56 pm
by i2Paq
fido-x wrote:OK, so let's get this "mapped out". We want:
  • No bots in dashboard "who's online" display.
    Shopping cart in dashboard "who's online" display.
    Show or not show module on front-end.
    Sort order on "who's online" page based on page last clicked rather than entry time?
Ummh, is there anything else?
Sort of:

In the dashboard show:
Currently on-line (less bots): 4
Current bots: 3

and: Shopping cart next to last url column.

When clicking on: View "Who's Online" it will show visitors, customers and bots as it currently is.

Also:
Show or not show module on front-end. (Yes)
Sort order on "who's online" (dashboard and page) based on page last clicked rather than entry time. (Yes)

Re: [RELEASED] Earthball (Who's Online/Visitor Counter)

Posted: Sat Mar 05, 2011 8:41 pm
by fido-x
OK, since I've had "f" all else to do ;D , I've been doing a bit of fiddling about in my localhost build. So far:
  • No bots in dashboard "who's online" display. done
    Shopping cart in dashboard "who's online" display (next to last url column). done
    Show or not show module on front-end. done
    Sort order on "who's online" and dashboard page based on page last clicked rather than entry time. done
The only other additions appear to be:
i2Paq wrote:In the dashboard show:
Currently on-line (less bots): 4
Current bots: 3
Those aren't done yet. Working on it.