The user track module allows the admin or users with appropriate permission to track the registered users of the site.

The function of the module.
This module creates a custom database table and stores following parameters of the registered users.

  1. Access Time
  2. IP Address
  3. Agent
  4. TimeZone

The admin or user with an appropriate permission can track the registered users of the site, by navigating to the user page.
For example: To track a user with uid 4, the admin would perform following steps.

  1. Navigate to http://example.com/user/4 which would show a tab called "track".
  2. Click the track tab. Clicking this tab would show all information in a tabular format which could be sorted on access time. To see the older details, the admin can use the pager.

Attached screenshot gives a better overview: Some of the rows of the table have been removed. Please ignore the screenshot.
Drupal Core Version: 7.x
Sandbox Link: http://drupal.org/sandbox/AshishThakur/1614582
To set up the repository please check: http://drupal.org/project/1614582/git-instructions

Reviews of other projects

  1. Content Reminder: http://drupal.org/node/1605798#comment-6059424, http://drupal.org/node/1605798#comment-6105920, http://drupal.org/node/1605798#comment-6185696
  2. Text Selection: http://drupal.org/node/1553456#comment-6179956
  3. File Replace: http://drupal.org/node/1301558#comment-6172066, http://drupal.org/node/1301558#comment-6176796
CommentFileSizeAuthor
Screenshot at 2012-06-11 16_19_03.png90.47 KBa_thakur

Comments

patrickd’s picture

Status: Needs review » Closed (duplicate)

welcome,

You are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.

As installation and usage instructions are quite important for us to review, please take a moment to make your project page follow the tips for a great project page. Also create a README.txt that follows the guidelines for in-project documentation.

An automated review of your project has found some issues with your code; As coding standards make sure projects are coded in a consistent style we please you to have a look at the report and try to fix them. Anyway, note that issues found are possibly false positives and fixing all issues is not a requirement for getting through the application process.
Report: http://ventral.org/pareview/httpgitdrupalorgsandboxashishthakur1614582git

You forgot to rename hook_install and hook_uninstall properly, therefore they wont work...
Also, if you don't do in a hook anything - don't implement it.

This project is too short to approve you as git vetted user. We are currently discussing how much code we need, but everything with less than 120 lines of code or less than 5 functions cannot be seriously reviewed. However, we can promote this single project manually to a full project.

It appears that there have been multiple project applications opened under your username:
https://drupal.org/node/1511276

As successful completion of the project application process results in the applicant being granted the ´Create Full Projects´ permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as ´closed(duplicate)´, with only the oldest application left open.

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the ´open´ application as a duplicate, and re-open one of the project applications which had been closed.

We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.

regards

a_thakur’s picture

Thanks for the feedback.

I would like this application to be reviewed first, so would open this application once I am done with issues raised and would close the older application which seems to be incorrect now as I was working on master branch there too.

I was wondering that once this application gets the permission of 'Create Full Projects', can I reopen the older application which I would close for the time being. I am reviewing http://drupal.org/node/1605798 and would try to review other projects too.

Regards.

a_thakur’s picture

Status: Closed (duplicate) » Needs review

Hi,

Updated the code and removed all the coding standard issues.
Report:http://ventral.org/pareview/httpgitdrupalorgsandboxashishthakur1614582git-7x-1x

The README.txt file has been added too. I understand the code is short, but the functionality I want to implement does not require more. It would be really great, in case more features to this module can be suggested.

The other project application:https://drupal.org/node/1511276 has been closed, would work on that once I finish this. Apologies for creating two projects simultaneously.

Thanks,
Ashish

nevets’s picture

Status: Needs review » Closed (duplicate)

The core tracker module already adds a "track" tab.

a_thakur’s picture

Status: Closed (duplicate) » Needs review

Hi,

The core tracker adds a "track" tab. But the functionality of both of these two module is entirely different.
The core tracker module enables tracking of recent content for users whereas this module enables tracking
following parameters:

  1. Access Time
  2. IP Address
  3. Agent
  4. TimeZone

Changing "track" tab to something more specific to this module like "User Track" won't create conflict with the core tracker module.

Thanks.

greggles’s picture

The login_history module provides a very similar feature to this module.

One of the 7 principles of the Drupal project is collaboration. Would you consider merging your project into that one and collaborating with it's authors?

Otherwise, it would be great if you could document on the project page what makes this module different and also link to that module so that people can make a good decision about which one to use.

rogical’s picture

Status: Needs review » Needs work

Yeah, you should stat difference of similar modules and consider if can merger together.

User Stats
Provides commonly requested user statistics for themers, IP address tracking and Views integration.

Login Activity
provide important user information about when and from where their user account was used to login to the website.

User IP Log
User IP Log is a simple module that logs the IP address of users on login event to table {uiplog}.

User Stats
Provides commonly requested user statistics for themers, IP address tracking and Views integration

Login History -- stated above

a_thakur’s picture

Priority: Normal » Major

The project page has been updated. I am working on some bug fixes. Would revert back soon for review.

a_thakur’s picture

Issue summary: View changes

Added git cloning instructions.

a_thakur’s picture

Status: Needs work » Needs review
Issue tags: +PAreview: review bonus

Hi,

The project page has been updated. Was reviewing couple of other modules from past few days and links to those have been added to the issue summary. It would be great in case this module can be reviewed. I would review more modules over next few days and have to review again the old reviews mentioned in the issue summary.

a_thakur’s picture

Priority: Major » Normal

Changing the status.

a_thakur’s picture

Issue summary: View changes

added review of other modules.

klausi’s picture

Status: Needs review » Postponed (maintainer needs more info)

Please provide information why you can't join forces with the existing modules. Creating yet another project for this purpose will only lead to more fragmentation and confused users. Thanks!

klausi’s picture

Issue summary: View changes

Screenshot

a_thakur’s picture

Issue summary: View changes

Added more reviews.

a_thakur’s picture

Status: Postponed (maintainer needs more info) » Needs review

Hi,

Sorry for the late response. Was reviewing more modules which have been listed in the Issue Summary. The closest functionality provided by this module matches to login_history and Login Activity. But the functionality provided by this module has features of both the modules along with some extra features like views based filtering.

Login Activity depends on external libraries but this module is easy to install and configure without any depedency on external librariers.

Rule integration is one another feature I am working upon and is described in the RoadMap of the module. Screenshots have been added to the project page which would make the functionality much clearer.

Thanks,
Ashish.

a_thakur’s picture

Hi,

I have added some more reviews to the main Issue summary. Would be great in case this one can be reviewed.

Thanks,
Ashish.

Enxebre’s picture

Status: Needs review » Needs work

Hi a_thakur,

In user_track.module in line 13 you make use of views_api_version() but as you can see in views.module in line 2380 this is not recommended.

In lines 34 and 87 you could consider to use EntityFieldQuery for reach more database abstraction

$query = new EntityFieldQuery;
$entities = $query->entityCondition('entity_type', 'node')
  ->entityCondition('bundle', 'my_type')
  ->fieldCondition('field_foo', 'value', $val)
  ->execute();

It would be useful for users that you added hook_help

/**
  * Implement hook_help()
  */
function yourmodulename_help($path, $arg) {
switch ($path) {
case 'admin/help#yourmodulename':
   $output = '';
   $output .= '<h3>' . t('About') . '</h3>';
   $output .= '<p>' . t("A helpful entry about your module") . '<p>';
return $output;
   }
}

Thank you!!!

patrickd’s picture

Status: Needs work » Needs review

recommendations are no major issues and therefore NO reason for needs work.

if you think there are no major issues that must be addressed set RTBC

klausi’s picture

Status: Needs review » Postponed (maintainer needs more info)

So it looks like you could easily enhance the existing modules? Please get in contact with the maintainer of one of the modules to discuss your ideas. I'm sure they are happy to accept your patches and/or an additional maintainer. If that fails for whatever reason and you absolutely have to push yet another acess tracking modul please get back to us and set this back to "needs review".

a_thakur’s picture

Hi,

I would contact one of the maintainers as suggested by you. I have a small doubt I have another project application https://drupal.org/node/1511276 which I had closed as it is not allowed to chase more than one project application simultaneously. I was wondering whether I could open it again and set it "needs review" till the time I get the reply from the maintainers of the module.

I am reviewing other module on a routinely basis and it is getting fun now :).

Thanks,
Ashish.

klausi’s picture

Sure, just close this one and re-open the other one. And thanks for helping!

klausi’s picture

Issue summary: View changes

added more reviews

a_thakur’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Closing the application. I have requested maintainers of Login Historty to merge this module into their module.

The status as set as "closed(duplicate)" as I have to open another project application http://drupal.org/node/1511276.

Thanks everybody for the reviews.

a_thakur’s picture

Issue summary: View changes

Removed reviewed project links

avpaderno’s picture

Title: User Track. » [D7] User Track
Related issues: +#1511276: [D7] Content Tab