track profile views tick bug

Hi,

In advanced settings I've removed the tick from "Track all profile views. Later a member can manage these "views"", cleaned cache and cache_public but it continue to add in spy page the profile views.

Please add a trac and fix it!

Thanks

Quote · 1 Jan 2010

up

Quote · 2 Jan 2010

I have also had this issue in 7.0.4. I got around it by using the following code which I found in another thread in the forum.

1) Open up profile.php for editing
2) Near the bottom of the file find this code:

//--- Profile -> View unit for Alerts Engine ---//
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);
}
//--- Profile -> View unit for Alerts Engine ---//

3) For each of the lines in that block, prepend the linecomment code '//' so that it then looks like this:

//--- Profile -> View unit for Alerts Engine ---//
//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);
//}
//--- Profile -> View unit for Alerts Engine ---//

4) Save the file. You may need to recompile your cache.

 

I am a beginner so if someone more experienced finds a better solution or a reason not to use this one, I won't be offended if you post below,

Quote · 6 Dec 2010

 

Hi,

 

In advanced settings I've removed the tick from "Track all profile views. Later a member can manage these "views"", cleaned cache and cache_public but it continue to add in spy page the profile views.

 

Please add a trac and fix it!

 

Thanks

Hello you was wrong : In advanced settings you can disable only members views that you can view in member.php see attach image! If don't want use "members view" in a Spy module make changes that written above

Untitled-2.jpg · 27.1K · 108 views
PS: If possible do not write me personally, please try to ask on the forum first
Quote · 7 Dec 2010
 
 
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.