Erstmal vielen Dank, dass Ihr Euch um mein Anliegen kümmert.
@Acid
Ja, richtig, von diesem Mod stammt dieses undurchsichtige "k_id" !!
Naja, ich bin zwar noch keine Leuchte in php aber ich vermute stark, dass das
rot Hervorgehobene dafür verantwortlich ist.
open includes/function_post.php
##------Find----
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length)
##----Change the end of row-----
&$poll_options, &$poll_length, &$k_id)
##-----------------------------
##----FIND in function submit_post------
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
##----Replace with----
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote,k_id) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote, $k_id)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . ", k_id=$k_id WHERE topic_id = $topic_id";
##--------------------
Save an close the function_post.php
##########################################
@Leuchte
Naja, ich könnte Dir natürlich die posting.php abspeichern, aber ich glaube, das bringt nichts. Hab das ganz rückgängig gemacht, obwohl ich diesen Kategorie-Hack wirklich brauchen könnte.
...oder gibts vielleicht doch noch Hoffnung?
Vielen Dank nochmal für Eure Mühe