Community Forums

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

Commercial Extensions can be listed here (Modules, payments, shipping, order totals, feeds)

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

Postby fido-x » Thu Feb 24, 2011 8:44 am

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".
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Thu Feb 24, 2011 8:49 am

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
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Thu Feb 24, 2011 9:02 am

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
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Thu Feb 24, 2011 9:12 am

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.
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Thu Feb 24, 2011 9:44 am

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.
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Thu Feb 24, 2011 9:51 am

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
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Thu Feb 24, 2011 10:08 am

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.
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Thu Feb 24, 2011 10:18 am

And make it so that if anyone, by accident, de-installs the module, the tables will be saved (not deleted).
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Thu Feb 24, 2011 10:28 am

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.
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Thu Feb 24, 2011 10:34 am

OK, even better :)
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Mon Feb 28, 2011 5:31 pm

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.
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Tue Mar 01, 2011 1:34 pm

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)
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby i2Paq » Tue Mar 01, 2011 2:54 pm

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?
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby i2Paq » Sat Mar 05, 2011 4:56 am

I would like to have to possibility to not show the module on my store-font at all ;)
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Sat Mar 05, 2011 5:41 am

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.
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Sat Mar 05, 2011 5:53 am

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)
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby i2Paq » Sat Mar 05, 2011 5:57 am

And maybe show the Shopping-cart in the dashboard as well?
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Sat Mar 05, 2011 6:27 am

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?
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

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

Postby i2Paq » Sat Mar 05, 2011 6:56 am

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)
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11231
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

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

Postby fido-x » Sat Mar 05, 2011 7:41 am

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.
Image
If you're not living on the edge ... you're taking up too much space!
User avatar
fido-x
 
Posts: 1979
Joined: Fri Jun 27, 2008 12:09 pm
Location: Tasmania, Australia

PreviousNext

Return to Extensions

Who is online

Users browsing this forum: No registered users and 11 guests

Hosted by Arvixe Web Hosting