Nyxcherry Sorry fuer meine spaete Antwort. Aber irgendwie habe ich keine Notification von Deinem Update bekommen.
Die Datei ist richtig und auch die Methode. Darin habe ich folgendes dazugefuegt:
Code
if ($comment->comment == '') {
self::showErrorMessage(JText::_('ERROR_EMPTY_COMMENT'), 'comment');
return $response;
}
$pt_pos = strpos($comment->comment, 'http');
if ($pt_pos !== false) {
self::showErrorMessage(JText::_('ERROR_YOU_HAVE_NO_RIGHTS_TO_USE_THIS_TAG'), 'comment');
return $response;
}
Alles anzeigen
Deine Aenderung verstehe ich nicht so ganz