How to suppress the display of deleted account Spy

 

Hello,

I would like to know how can I suppress the display of deleted account on the module Spy

See Image

Thank you

1286838365.JPGHow to suppress the display of deleted account the module Spy

boonex_spy.JPG · 79.1K · 114 views
Free Dating Site on: http://coolonweb.com
Quote · 11 Oct 2010

Hello, open the modules/boonex/spy/classes/BxSpyProfileActivity.php

find and remove these strings :

case 'delete' :
$aParams = array(
'lang_key'  => '_bx_spy_profile_has_deleted',
'params'    => array(
'profile_link' => $sProfileLink,
'profile_nick' => $sNickName,
),
);
$iRecipientId = 0;
break;

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Oct 2010

Hello Sasha,

When I modify my code according to your suggestion I get these errors: (the error goes away when I put the original code back)

Warning: Invalid argument supplied for foreach() in /home/admin/domains/asia-connect-th.com/public_html/inc/classes/BxDolProfileFields.php on line 629

Warning: Cannot modify header information - headers already sent by (output started at /home/admin/domains/asia-connect-th.com/public_html/inc/classes/BxDolProfileFields.php:629) in /home/admin/domains/asia-connect-th.com/public_html/inc/design.inc.php on line 133
---------------------------
Warning: Invalid argument supplied for foreach() in /home/admin/domains/asia-connect-th.com/public_html/inc/classes/BxDolProfileFields.php on line 629

Warning: Division by zero in /home/admin/domains/asia-connect-th.com/public_html/templates/base/scripts/BxBaseProfileView.php on line 514
Error
Database query error

Any help would be great!

Stuart

Hello, open the modules/boonex/spy/classes/BxSpyProfileActivity.php

find and remove these strings :

case 'delete' :
$aParams = array(
'lang_key'  => '_bx_spy_profile_has_deleted',
'params'    => array(
'profile_link' => $sProfileLink,
'profile_nick' => $sNickName,
),
);
$iRecipientId = 0;
break;

 

There are none so blind as those that will not see.
Quote · 12 Oct 2010

 

Hello Sasha,

When I modify my code according to your suggestion I get these errors: (the error goes away when I put the original code back)

Warning: Invalid argument supplied for foreach() in /home/admin/domains/asia-connect-th.com/public_html/inc/classes/BxDolProfileFields.php on line 629

Warning: Cannot modify header information - headers already sent by (output started at /home/admin/domains/asia-connect-th.com/public_html/inc/classes/BxDolProfileFields.php:629) in /home/admin/domains/asia-connect-th.com/public_html/inc/design.inc.php on line 133
---------------------------
Warning: Invalid argument supplied for foreach() in /home/admin/domains/asia-connect-th.com/public_html/inc/classes/BxDolProfileFields.php on line 629

Warning: Division by zero in /home/admin/domains/asia-connect-th.com/public_html/templates/base/scripts/BxBaseProfileView.php on line 514
Error
Database query error

Any help would be great!

Stuart

Hello, open the modules/boonex/spy/classes/BxSpyProfileActivity.php

find and remove these strings :

case 'delete' :
$aParams = array(
'lang_key'  => '_bx_spy_profile_has_deleted',
'params'    => array(
'profile_link' => $sProfileLink,
'profile_nick' => $sNickName,
),
);
$iRecipientId = 0;
break;

 

very strange....

Try to remove end php's tag - ?>

 

from modules/boonex/spy/classes/BxSpyProfileActivity.php

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Oct 2010

Thank you SashaE it works correctly allocate

Free Dating Site on: http://coolonweb.com
Quote · 12 Oct 2010

Hi Sasha,

The closing php ?> tag was missing from the file. All works now!!

Many thanks

Stuart

There are none so blind as those that will not see.
Quote · 13 Oct 2010

you are welcome

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 Oct 2010

Also it will be fixed in upcoming version - http://www.boonex.com/trac/dolphin/ticket/2222

Rules → http://www.boonex.com/terms
Quote · 14 Oct 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.