The Ignore-Function of UddeIM is great, but doesn't really make sense, when Profilebook is enabled, because a blocked User can
1. still see the profile
2. flame the other one trough his guestbook
So i made a little hack to comprofiler.html.php:
ABOVE the line:
[code:1]if ( $showProfile == 1 ) {[/code:1]
this has to be added:
[code:1]##################################
######### BLACKLIST-HACK #########
##################################
global $my, $database;
if ($my->id) {
$database->setQuery("SELECT * FROM `#__uddeim_blocks` WHERE blocked = " . $my->id );
$rows = $database->loadObjectList();
if ($rows[0]->blocker == $user->id) {
echo '
<fieldset>
<legend>Ignore function</legend>
<label for="description">This user has restricted access to his profile. Go away and think about it ;«»)</label><br /><br />
<br />
</fieldset>
</form>';
$showProfile = 0;
}
}
##################################
######### BLACKLIST-HACK #########
################################## [/code:1]
A user, who has been blocked trough UddeIM does no longer have access to the profile now. Very peaceful.