Hi,
I'm using 7.0.9 and I'm noticing that when a user views another user, it shows up in the wall 3 times sometimes more...
Is there any stop this from happening?
Thanks
Hi,
I'm using 7.0.9 and I'm noticing that when a user views another user, it shows up in the wall 3 times sometimes more...
Is there any stop this from happening?
Thanks |
Is this on the default spy module or a 3rd party module? |
Hi,
I'm using 7.0.9 and I'm noticing that when a user views another user, it shows up in the wall 3 times sometimes more...
Is there any stop this from happening?
Thanks Same here, that's been going on for me for a year. I just never mentioned it because it's hard to duplicate. Really interested if someone finds out why. ManOfTeal.COM a Proud UNA site, six years running strong! |
Are you using custom templates? or third party walls?
|
Are you using custom templates? or third party walls?
yes, hmm That's going to narrow it down. lol So, in other words, spy only works in default mode or a "basic" site. I just completely remove it, it's useless anyway for most installations. How many default UNI sites do you run across that actually are doing something? ManOfTeal.COM a Proud UNA site, six years running strong! |
we were having problems because of our custom template. we also had pproblems because we were trying to run the spy wall and the ibdw spywall at the same time - which is almost fatal.
I would hazzard a guess that something in the template css is causing issues. |
Yes I am using a custom template but only the standard boonex wall...
Maybe I'll ask the template creator to have a peek...
Thanks |
actually... I think what the problem is, is more related to the Spy module...
is there anyway to NOT spy on the feature for profile was viewed by such and such profile? |
I thought commenting out the following from modules/boonex/spy/classes/BxSpyProfilesActivity.php might do the trick but didn't make a difference... Is there something else I can comment out to stop the viewed profile events? 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; |
any idea how I can stop Spy from displaying all the "viewed profile by" stuff?
Thanks |
any idea's? |
Anyone? |
I ended up getting rid of the "user viewed profile" wall messages by commenting out the displayProfileView function in the file modules/boonex/wall/classes/BxWallTemplate.php
/* function displayProfileView($aEvent) { $aOwner = $this->_oDb->getUser($aEvent['owner_id']); $aFriend = $this->_oDb->getUser($aEvent['object_id']); if(empty($aOwner) || empty($aFriend)) return "";
return array( 'title' => $aOwner['username'] . ' ' . _t('_wall_viewed_profile') . ' ' . $aFriend['username'], 'description' => '', 'content' => $this->parseHtmlByName('p_extra.html', array( 'cpt_user_name' => $aOwner['username'], 'cpt_action' => _t('_wall_viewed_profile'), 'cpt_friend_url' => getProfileLink($aFriend['id']), 'cpt_friend_name' => $aFriend['username'], 'post_id' => $aEvent['id'] )) ); } */ |
This still isn't ideal... the wall doen't show them, but keeps inserting blank entries so sometimes the site wall can be blank if it is all views...
Is there anyway to stop spy & wall from recording profile views? |