View Shouts in log!

softtouch - April 17, 2008 - 14:32
Project:Shoutbox
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

How can I disable that "view shouts" gets added to the "Track Page Visits" log in the user profile?
Its filling the log if auto refresh is set...

#1

disterics - April 18, 2008 - 07:57

Can you elaborate? I have no idea what you mean by the "track page visits" log.

#2

softtouch - April 18, 2008 - 08:52

I meant, if you click a user profile (domain/user/1 for example), at top are tabs (or maybe links, dependent of the theme) like "view", "Edit" and "Track".
If you select "Track", you can then "Track Posts" or "Track Page Visits".
If you select "Track Page Visits", it lists the activity of that user.
Every time the shoutbox refresh, it add the entry "View shouts" for every single refresh, and that fills this "log" quickly...
Hard to explain what I mean, I know... English is not my native language...

#3

disterics - April 19, 2008 - 09:53

I was not referring to the language being confusing. I was asking for an explanation of how to reproduce. For example now I know that I need to enable the tracker module to reproduce your problem.

I enabled tracker and i am still unable to reproduce it. Can you provide more help? Is there maybe another module that is doing this?

#4

softtouch - April 19, 2008 - 13:06

No other "tracking" module installed.

Here is a screenshot: http://www.ssdnet.biz/tracking.jpg

It add that entries in the refresh interval, if I set 20 seconds, I get 3 entries/minute.

#5

stella - May 12, 2008 - 17:00

To reproduce you need to enable the "tracker" module along with the "statistics" module. You also need to enable the "Enable access log" option on admin/reports/settings - none of this was clear in the original report.

When you do this, then a lot of messages like the following get added to the log - one for every page refresh:

View Shouts
shoutbox/js/view

I'm not sure that there is a way to prevent this from happening (other than turning off auto-refresh) - perhaps a (optional) "refresh" button would be an acceptable solution?

Cheers,
Stella

#6

AppleBag - February 26, 2009 - 05:55

I have made a modification to prevent this from happening. It can be seen here: http://drupal.org/node/374688

 
 

Drupal is a registered trademark of Dries Buytaert.