How to limit to authenticated users?

mcload - May 3, 2009 - 15:44
Project:Radioactivity
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

skiminki - May 3, 2009 - 19:03
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

dddave - May 9, 2009 - 08:13

+1 for this feature

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

#3

skiminki - July 31, 2009 - 15:23
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

mcload - July 31, 2009 - 18:30

Thanks

#5

System Message - August 14, 2009 - 18:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.