Download & Extend

How to limit to authenticated users?

Project:Radioactivity
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I do not want to count anonymous users. It looks like search engine robots are counted too. How can I limit the counting to logged in users? I could not see a option for this.

Comments

#1

Version:6.x-1.0-rc1» 6.x-1.x-dev
Category:support request» feature request

There's none. Next time I'm attacking Radioactivity again, I might consider adding support for this — shouldn't be a big job anyway. I'm busy at work (as always) and don't want to spend all my freetime on computers, so this could take some time. In the meantime, I you want to hack it, try changing the following line in radioactivity/plugins/radioactivity_node.module, function radioactivity_node_exit:
    radioactivity_node_user_node_view(arg(1));
into
    global $user; if ($user->uid) radioactivity_node_user_node_view(arg(1));

#2

+1 for this feature

I am pretty sure I am gonna use this module when this is implemented.

#3

Status:active» fixed

Implemented and committed, see http://drupal.org/cvs?commit=245406 .

The commit also includes a change for submitted comment, when the comment is approved automatically. In this case, comment gets submit + publish energy.

#4

Thanks

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.