Hallo allesamt,
kurze Meldung:Siehe: Galerie-Einstellungen - Coppermine Photo Gallery 1.4.10 (stable)Einstellungen Kommentaren Obwohl:
- Maximale Zeilenzahl eines Kommentars und
- Maximale Länge eines Kommentars
auf Null=0 gesetzt wurden, lassen sich Kommentaren mit dem
Browser Opera eingeben.
Mit Firefox und IE gib es kein Problem.
Diese Lücke wird ausgenutzt,
um Besucher zu fremden bzw. rechtswidrigen Inhalten weiterzuleiten.
Ich habe einen Besucher der nicht müde wird, das immer wieder es zu nutzen.
Siehe: Zeile 782 - 784 includes\themes.inc.php
Zitat
<div id="cbody{MSG_ID}" style="display:block">
{MSG_BODY}
</div>
Gib es die Möglichkeit die Eingabe von Links
in dem {MSG_BODY} zu verweigern?
Gruß
gabin
Hi
wenn ich dich richtig verstehe willst du die Kommentare deaktivieren, bzw. Gäste dürfen keine Kommentare schreiben?
Dann geh auf Gruppen-Einstellungen (Die 3 Typen im Icon)
Und stell bei Anonymous Kommentare auf Nein. Dann solltest du dort Ruhe haben. Registrierte Benutzer dürfen dann weiterhin Kommentare schreiben.
Genau so :thumbup:
Wobei da trotzdem noch ein Bug in den Kommentaren ist.
Bin da gerade am testen und suchen. Ist aber auch ein Problem der standallone Version....
Danke für den Tipp!
Ich habe Anonyme Kommentare vorübergehend deaktiviert.
Danke noch Mal
Gruß
gabin
Hi :)
ich habe das mal ans Coppermine Team weitergereicht:
Zitat von: Andi
Hi :)
long time to be here.... :D
I can't answer on this thread:
http://coppermine-gallery.net/forum/index.php?topic=41681.0
In our board we have the same discussion and i'm searching for a solution before i find this thread here...
http://www.pragmamx.org/Forum-topic-21791.html
The setting 'Maximum length of a comment' is only effected in the max_length Attribut of the input tag. There is no check by saving the data in the database.
Here is my idea for a solution:
---------------------
file db_input.php
Coppermine version: 1.4.10
$Revision: 3275 $
$Author: gaugau $
$Date: 2006-09-03 12:10:47 +0200 (So, 03 Sep 2006) $
---------------------
in function check_comment() after this line
global $CONFIG, $lang_bad_words, $queries;
add the following code
// convert some entities
$str = str_replace(array('&', '"', '<', '>', ' ', '''), array('&', '"', '<', '>', ' ', "'"), $str);
// strip tags and cut to max allowed length
$str = trim(substr(strip_tags($str), 0, $CONFIG['max_com_size']));
// re convert some entities
$str = str_replace(array('"', '<', '>', "'"), array('"', '<', '>', '''), $str);
And a other question:
There is no effect for the setting 'Max number of lines in a comment'.
What was the original sense for this setting? Is it only to prepare the output, or maybe for the input field as textarea?
Oh Gott, verzeiht mir mein englisch....
(http://coppermine-gallery.net/forum/index.php?topic=44398.0 den könnt ihr nicht sehen, weil im dev-Forum)
Anbei mal vorab die geänderte Datei für unsere Bridge 1.4.10.1