Post by fido-x » Thu Feb 24, 2011 9:44 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Thu Feb 24, 2011 9:49 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Thu Feb 24, 2011 10:02 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Thu Feb 24, 2011 10:12 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Thu Feb 24, 2011 10:44 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Thu Feb 24, 2011 10:51 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Thu Feb 24, 2011 11:08 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Thu Feb 24, 2011 11:18 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Thu Feb 24, 2011 11:28 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Thu Feb 24, 2011 11:34 pm

OK, even better :)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Tue Mar 01, 2011 6:31 am

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Wed Mar 02, 2011 2:34 am

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Wed Mar 02, 2011 3:54 am

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Sat Mar 05, 2011 5:56 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Sat Mar 05, 2011 6:41 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Sat Mar 05, 2011 6:53 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Sat Mar 05, 2011 6:57 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Sat Mar 05, 2011 7:27 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Sat Mar 05, 2011 7:56 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Sat Mar 05, 2011 8:41 pm

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
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 23 guests