Hotlisted/Blocked

In the My Contacts area, I would like to remove some of the boxes - Members You Were Blocked By & Members You Were Hotlisted By

Can someone tell me where and how I can do this.

Quote · 22 Apr 2010

Is this in D6?

 

Quote · 22 Apr 2010

Yes sorry, forgot to mention. Its Dolphin 6.1.6

Quote · 22 Apr 2010

Just go to member.php and find the following:

 


<tr class=table>
    <td class=c alt=top align="left"><? echo _t( "_Notify Hotlisting" ); ?>:</td>
    <td class=c alt=top align="left"><?
 if ( $hotlist )
     echo _t( "_ATT_HOTLIST", $sSiteUrl );
 else
     echo _t( "_ATT_HOTLIST_NONE", $sSiteUrl );?>
    </td>
    </tr>

    <tr class=table>
    <td class=c alt=top align="left"><? echo _t( "_Notify Blocked" ); ?>:</td>
    <td class=c alt=top align="left"><?
 if ( $blocked )
     echo _t( "_ATT_BLOCKLIST", $sSiteUrl );
 else
     echo _t( "_ATT_BLOCKLIST_NONE", $sSiteUrl );?>
    </td>
    </tr>

 

 

Just delete those, and who the hell broke the damn WYSIWYG in IE7?  This shit is taking forever to put up at this rate.

 

 

Quote · 22 Apr 2010

I think I'm missing something.

I opened member.php (from root folder) and I cannot find any of those lines.

Quote · 22 Apr 2010

Sorry about that, I just noticed you don't have those on the My Account Page under the Contacts, it's on your contacts.php file (My Contacts) page that you need this.  Open contacts.php and find the following.

To remove an item from the first half of the page (People I hotlisted) use the if( $_GET['list'] !='me')

To remove an item from the 2nd half of the page (People who hotlisted me) use the if($_GET['list'] !='i') items (those are the items below each and just comment out the ones you want gone.


case 'all':
 default:
  if( $_GET['list'] != 'me' )
  {
   $ret .= PageCompListMembers( 'i', 'HotList', 'ID', 'Profile', ', `ActionDate`', '', '`ActionDate` DESC, ' );
   $ret .= PageCompListMembers( 'i', 'FriendList', 'ID', 'Profile', '', 'AND `Check`=0' );
   $ret .= PageCompListMembers( 'i', 'BlockList', 'ID', 'Profile', ', `ActionDate`', '', '`ActionDate` DESC, ' );
   $ret .= PageCompListMembers( 'i', 'VKisses', 'ID', 'Member', ', `Arrived`, `Number`', '', '`Arrived` DESC, ' );
   $ret .= PageCompListMembers( 'i', 'ProfilesTrack', 'Member', 'Profile', ', `Arrived`', '', '`Arrived` DESC, ' );
  }
  
  if( $_GET['list'] != 'i' )
  {
   $ret .= PageCompListMembers( 'me', 'HotList', 'Profile', 'ID', ', `ActionDate`, `New`', '', '`ActionDate` DESC, ' );

   $ret .= PageCompListMembers( 'me', 'FriendList', 'Profile', 'ID', '', 'AND `Check`=0' );
   $ret .= PageCompListMembers( 'me', 'BlockList', 'Profile', 'ID', ', `ActionDate`, `New`', '', '`ActionDate` DESC, ' );
   $ret .= PageCompListMembers( 'me', 'VKisses', 'Member', 'ID', ', `Arrived`, `Number`, `New`', '', '`Arrived` DESC, ' );
   $ret .= PageCompListMembers( 'me', 'ProfilesTrack', 'Profile', 'Member', ', `Arrived`', '', '`Arrived` DESC, ' );
  }
  
  $ret .= PageCompListMembers( '', 'FriendList', 'Profile', 'ID', '', 'AND `Check`=1' );
}

 

Quote · 22 Apr 2010

Excellent. Worked

Thanks again for your help

Quote · 22 Apr 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.