-
- 21 Posts
Hello,
Is it possible to for the visitors now browsing page in the manager to:
A.) have it’s data accessible on the home page of the site
and
B.) be available as JSON?
I’m trying to make a little blurb display the current users visiting the site who are from .EDU servers. I plan on adding this code to the repository.
Thanks!
-
- 1,097 Posts
This is largely the same query as you made on
want to make ".EDU’s looking at this site now!" chunk on page, only with added buzz-tech.
This depends on the stats module you are using. You will either need to write a routine that creates such a list, or find a stats package that outputs one. Are you using the stats that came with 0.9.2.1?
If you are using the default stats that come with 0.9.2.1, there’s already a snippet to do something similar, getstats. There are seven tables in the database that maintain visitor logs:
log_access
log_hosts
log_operating_systems
log_referers
log_totals
log_user_agents
log_visitors