Disabling profile view tracking

I've been trying to disable profile view tracking on our site which runs Dolphin 7.0.4, and I edited the 'Profiles' entry in the sys_objects_views table so that the 'is_on' value is 0, which according to the code should disable profile view tracking. I cleared every conceivable cache I could think of (the ones on the admin site in addition to clearing the /cache & /cache_public directories), but no matter what, profile view tracking isn't disabled. That doesn't seem to make sense since the only place the sys_profile_views_track table is referenced is in the sys_objects_views_table.

 

Is there anything that I'm overlooking?

Quote · 1 Feb 2011

If want disable the spy notification window. You should to do these:

1. Open the modules\boonex\spy\classes\BxSpyProfilesActivity.php

2. Find and remove these code lines:

case 'view' :
if($iSenderId != $iRecipientId) {
$aSenderInfo          = $this -> _getSenderInfo($iSenderId);
$sSenderNickName      = $aSenderInfo['NickName'];
$sSenderProfileLink   = $aSenderInfo['Link'];

$aParams = array(
'lang_key'  => '_bx_spy_profile_has_viewed',
'params'    => array(
'sender_p_link' => $sSenderProfileLink,
'sender_p_nick' => $sSenderNickName,

'recipient_p_link' => $sProfileLink,
'recipient_p_nick' => $sNickName,
),
);
}
break;

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 1 Feb 2011

That didn't do it, but I'm also using derartmedia's "Biggi" template. Didn't think that would make a difference, but it apparently does.

Quote · 1 Feb 2011

I figured it out in the Biggi template. Needed to edit BxWallDB.php and exclude profile views when selecting from the bx_wall_events table.

Quote · 2 Feb 2011

can you tell us the easy instruction how to remove it.. i want to remove it too specially the appearance in spy wall.. its look spam to me..

 

thank you in advancve

Quote · 8 Feb 2011

 

Thanks for the instruction sir

 

If want disable the spy notification window. You should to do these:

1. Open the modules\boonex\spy\classes\BxSpyProfilesActivity.php

2. Find and remove these code lines:

case 'view' :
if($iSenderId != $iRecipientId) {
$aSenderInfo          = $this -> _getSenderInfo($iSenderId);
$sSenderNickName      = $aSenderInfo['NickName'];
$sSenderProfileLink   = $aSenderInfo['Link'];

$aParams = array(
'lang_key'  => '_bx_spy_profile_has_viewed',
'params'    => array(
'sender_p_link' => $sSenderProfileLink,
'sender_p_nick' => $sSenderNickName,

'recipient_p_link' => $sProfileLink,
'recipient_p_nick' => $sNickName,
),
);
}
break;

 

Quote · 8 Feb 2011

 

I figured it out in the Biggi template. Needed to edit BxWallDB.php and exclude profile views when selecting from the bx_wall_events table.

What exactly did you do?

Quote · 1 May 2011

Start following sql-query in your database (via phpmyadmin)


SET @iAlertHandler = (SELECT `id` FROM `sys_alerts_handlers` WHERE `name` = 'bx_wall' ORDER BY `id` DESC LIMIT 1);
DELETE FROM `sys_alerts` WHERE `action` = 'view' AND `handler_id` = @iAlertHandler ;

 

This will fix these notifications... Wink

Quote · 4 May 2011

thank you all guys.. it helps a lot for me.... 

Quote · 16 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.