Online customers in 1.8 version

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anni tempo fa
The online customers module in 1.8versions looks great...

1) Is it possible for admin to see number of online members ? Just like it says, Guest : 20,
Is it possible for admin to see Member : 20 ? or if admin wants to see number of online registered members, he/she has to count users in the listed table in online customer module ?

2) It is possible for admin to see total number of all the customers (guest + registered member) visiting the website ? Just like on nopCommerce website, on the top right side, it is showing "users online"...
13 anni tempo fa
Just query the CustomerSession table to handle both your requests above, should be easy to add the functionality with two simple queries to the database.

CustomerSession table holds information if it's a guest or registered customer as well as the last time they accessed a page, so all the information your need is there,

BR
Joakim
13 anni tempo fa
abcd_12345 wrote:
Is it possible for admin to see number of online members?

No, it's not possible. But it'll be added in the next release
13 anni tempo fa
jockesoft wrote:
Just query the CustomerSession table...

Joakim, online customers module doesn't use Nop_CustomerSession table due to performance optimization (we don't want to track all requests into Nop_CustomerSession table because database size will grow very fast)
13 anni tempo fa
Is this a change in 1.7 or 1.8 version? I use 1.6 and in this version SaveCustomerSession is called in Application_BeginRequest so is this different in the later versions?
13 anni tempo fa
jockesoft wrote:
Is this a change in 1.7 or 1.8 version? I use 1.6 and in this version SaveCustomerSession is called in Application_BeginRequest so is this different in the later versions?

Nop_CustomerSession is still the same since the first release. But 'Online Customers' module has been introduces in 1.80 release (Admin area > Customers > Online Customers)
13 anni tempo fa
nopCommerce team | a.m. wrote:
Is it possible for admin to see number of online members?
No, it's not possible. But it'll be added in the next release


Andrei, it will be great if you keep the current things in the next release and along with that just add 2 or 3 more things:

Just like, in 1.8 we have Guest: n numbers

in 1.9version:

Table that gives the details of online members/guest along with their I.P address, location, entry time, last visit,  last url etc

Guests: n Number
Registered Members: n Number
Total Visitors Online: n Number (Registered + Guest)

And make these last 3 things ( Guest, Reg Members & Total Visitors Online) Configurable for admin, so that if admin wants to make it public, it will be displayed on the website in one of the the side columns...
13 anni tempo fa
Sure. It'll be done in nopCommerce 1.90
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.