Hallo zusammen....
ich hab es Frage zu den o. g. Addon....
ich hab ein Problem mit der forumsnewpost.php
In der Readme steht folgendes drin
Klapptext Inhalt anzeigen
|
PHP - Code Anfang: (38 Zeilen) | Code markieren
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
suche weiter:
$SQL->query("INSERT INTO ".pkSQLTAB_FORUM_THREAD."
(forumthread_autor,forumthread_autorid,forumthread_catid,
forumthread_icon,forumthread_title,forumthread_lastreply_time,
forumthread_lastreply_autor,forumthread_lastreply_autorid)
VALUES
('".$SQL->f($_POST['post_autor'])."',
'".$SQL->i(pkGetUservalue('id'))."',
'".$SQL->i($catid)."',
'".$SQL->f($_POST['post_icon'])."',
'".$SQL->f($_POST['post_title'])."',
'".pkTIME."',
'".$SQL->f($_POST['post_autor'])."',
'".$SQL->i(pkGetUservalue('id'))."')");
$threadid=$SQL->insert_id();
$update_threadcount=", forumcat_threadcount=forumcat_threadcount+1";
}
und ersetze mit:
##### Bot Anpassung burnerfm.de & pimpyourkit.de #####
$SQL->query("INSERT INTO ".pkSQLTAB_FORUM_THREAD."
(forumthread_autor,forumthread_autorid,forumthread_catid,
forumthread_icon,forumthread_title,forumthread_lastreply_time,
forumthread_lastreply_autor,forumthread_lastreply_autorid)
VALUES
('".$SQL->f($postnick)."',
'".$SQL->i($postnick_id)."',
'".$SQL->i($catid)."',
'".$SQL->f($_POST['post_icon'])."',
'".$SQL->f($_POST['post_title'])."',
'".pkTIME."',
'".$SQL->f($postnick)."',
'".$SQL->i($postnick_id)."')");
$threadid=$SQL->insert_id();
$update_threadcount=", forumcat_threadcount=forumcat_threadcount+1";
}
##### Bot Anpassung burnerfm.de & pimpyourkit.de #####
|
|
|
|
|
PHP - Code Ende: (38 Zeilen) | Code markieren
|
bei mir sieht aber dieser Teil der Datei so aus
Klapptext Inhalt anzeigen
|
PHP - Code Anfang: (27 Zeilen) | Code markieren
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
$SQL->query("INSERT INTO ".pkSQLTAB_FORUM_THREAD."
(forumthread_autor,forumthread_autorid,forumthread_catid,
forumthread_icon,forumthread_title,forumthread_lastreply_time,forumthread_praefix,
forumthread_lastreply_autor,
forumthread_votetitle,forumthread_votestatus,
forumthread_voterights,forumthread_votemultiple,
forumthread_votehideresult,forumthread_voteshowtoall,
forumthread_lastreply_autorid)
VALUES
('".$SQL->f($_POST['post_autor'])."',
'".$SQL->i(pkGetUservalue('id'))."',
'".$SQL->i($catid)."',
'".$SQL->f($_POST['post_icon'])."',
'".$SQL->f($_POST['post_title'])."',
'".pkTIME."',
'".$SQL->f($_POST['forum_praefix'])."',
'".$SQL->f($_POST['post_autor'])."',
'".$post_vote_title."',
'1',
'".$SQL->f($_POST['vote_rights'])."',
'".$SQL->i($_POST['post_vote_multiple'])."',
'".$SQL->i($_POST['post_vote_hideresult'])."',
'".$SQL->i($_POST['post_vote_showtoall'])."',
'".$SQL->i(pkGetUservalue('id'))."')");
$threadid=$SQL->insert_id();
$update_threadcount=", forumcat_threadcount=forumcat_threadcount+1";
|
|
|
|
|
PHP - Code Ende: (27 Zeilen) | Code markieren
|
jetzt ist die Frage wie ich dies einfügen soll....
wäre toll wenn mir jemand helfen könnte
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 30.05.2010 - 14:11 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.