funktioniert irgendwie nicht.
...dürfte aber wohl eher an mir liegen...
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Meinst Du, ich könnte Dir das Modul mal per PM senden?
Wäre klasse...
Code: Alles auswählen
[...]
/****** begin configuration ******/
[...]
$enable_br="true"; // true enables displaying <br/> within comment text, set to false to disable
[...]
Code: Alles auswählen
[...]
function datatransfer($commentname,$commentemail,$commentwebsite,$commentdate,$commenttime,$commenttext,$url,$main_url,$idart,$commentlevel,$comment_parent_id,$linktext,$id,$online,$reload_url,$has_child,$maximum_comment_level)
{
//echo 'reload_url: '.$reload_url.'<br/>';
global $array_displayed_comments,$contenido,$template_commentbox,$template_commentbox_no_more_comments,$enable_br;
if($enable_br=="true") $commenttext = nl2br($commenttext);// enables displaying <br/>
[...]
Code: Alles auswählen
// eMail-header:
$link_new_comment=$main_url.'?idart='.$idart;
Nachtrag: Habe den Link gefunden! Er befindet sich im Modul-Template und schaut wie folgt aus:
Code: Alles auswählen
<a class="c_sd_link" href="{main_url}?idart={idart}&show_form=true&parent_id={comment_parent_id}&level={commentlevel}" title="{linktext}">{linktext}</a>
Code: Alles auswählen
$main_url="http://www.MEINEDOMAIN.de/cms/front_content.php"; //needed for correct link in email-alert and link in comment-box
Code: Alles auswählen
$base_url="http://www.MEINEDOMAIN.de"; // die Webseite ohne abschließenden Slash
Code: Alles auswählen
$link_new_comment=$main_url.'?idart='.$idart;
Code: Alles auswählen
$link_new_comment = $base_url.$_SERVER["REQUEST_URI"];
Code: Alles auswählen
$commentdate=sprintf("%02d.%02d.%04d", $d[2], $d[1], $d[0]);
$margin_left=$commentlevel*20;
$commentlevel=$commentlevel+1;
Code: Alles auswählen
$serverurl = $_SERVER["REQUEST_URI"];
Code: Alles auswählen
$tpl->set('s', 'commenttext', $commenttext);
Code: Alles auswählen
$tpl->set('s', 'serverurl', $serverurl);
Code: Alles auswählen
{main_url}?idart={idart}&show_form=true&parent_id={comment_parent_id}&level={commentlevel}
Code: Alles auswählen
{serverurl}?&show_form=true&parent_id={comment_parent_id}&level={commentlevel}
Code: Alles auswählen
if($edit)
{
// ALLE KOMMENTARE FÜR DEN ADMIN IM BACKEND ZEIGEN
$query = "SELECT parent_id, id,level FROM comments_sd WHERE idart='$idart' ORDER by id ASC";}
else{
//ALLE FREIGEGEBENEN KOMMENTARE ZEIGEN
$query = "SELECT parent_id, id,level FROM comments_sd WHERE idart='$idart' AND online = '1' ORDER by id ASC";
}
Code: Alles auswählen
$main_url="http://www.MEINEDOMAIN.de/cms/front_content.php"; //needed for correct link in email-alert and link in comment-box