Views 3 patch and file. Defined the fields we want to report on.

CommentFileSizeAuthor
visitors_views.patch6.35 KBpeterx
visitors.views_.zip1.33 KBpeterx

Comments

peterx’s picture

I added a join to users in visitors_views_data.inc. This replaces the relationship section that makes views 3 explode on my systems. There is an issue open for the explosion. http://drupal.org/node/1365570

  $data['users']['table']['join']['visitors'] = array(
    'field' => 'uid',
    'left_field' => 'visitors_id',
  );
peterx’s picture

Should be:

$data['users']['table']['join']['visitors'] = array(
    'field' => 'uid',
    'left_field' => 'visitors_uid',
  );
gashev’s picture

Status: Active » Closed (won't fix)

This feature will not be added. Thank you.

peterx’s picture

The code is now in a module at http://drupal.org/sandbox/peter/1477888 for anyone wanting to list Visitors statistics through Views.