How can i delete the profile viewed by ... from Boonex Spy?
How can i delete the profile viewed by ... from Boonex Spy? |
Does someone know? |
Open /profile.php and look for this:
// make profile view alert and record profile view event if ($profileID != $memberID) { require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php'); $oAlert = new BxDolAlerts('profile', 'view', $profileID, $memberID); $oAlert->alert();
bx_import ('BxDolViews'); new BxDolViews('profiles', $profileID); }
If you remove that whole block it shouldn't record it in the spy. Try it out and let me know. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Hi, I have just the oposit question - how to enable this function in D7.1? I created a topic a few days ago but no answer...: http://www.boonex.com/forums/topic/-bx-spy-profile-has-viewed.htm Regards Mayki "When things get tough the tough get going..." |
Ok completely disregard my first answer...I was looking at 7.1 and after reading Mayki's post I realized that it looks like they did remove the "viewed" spy notification in 7.1 Soooo bellhophil if you ARE using 7.09 then open /modules/boonex/spy/classes/BxSpyProfilesActivity.php and look for this:
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;
If you remove that whole snippet you should be ok.
@Mayki, looks like it's gone completely from 7.1. You could code it back in but it would probably be headache in the future. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
@Mayki, looks like it's gone completely from 7.1. You could code it back in but it would probably be headache in the future.
Code it back in, I would give it a try if I only new how.... As I mentioned on my topic, it is strange why this function was removed due to the fact Dolphin is mostly used as Dating platform..., so why not let users see hwo has view their profile....; Rather strange that it's gone. Mayki "When things get tough the tough get going..." |