thanks in advance
'till waiting for 4.1 I'm trying to solve the thing
in comment.class.php I added plus two simple lines:
function isBlocked($ip)
{
$id = intval( mosGetParam( $_REQUEST, 'id', null ) );
if ( $id == "12555" ) return true;
if ($this->_ban != '') {
$ipList = split(',', $this->_ban);
foreach($ipList as $item) {
if (trim($item) == $ip) return true;
}
}
return false;
}
if I make an $id = "12555" it works on article with id 12555.
but something wrong with first line, I unable to get actual content's id
((
EDITED
$closed = $this->_content_id;
if ( $closed == '12555' ) return true;
now I need an array with content ids and I almost done