Seite 3 von 4

Verfasst: 05.06.2005 22:40
von doormaster
kann keiner helfen?

Verfasst: 06.06.2005 20:07
von doormaster
bitte helft mir

Verfasst: 07.06.2005 17:43
von doormaster
*hochpusch*

Verfasst: 08.06.2005 13:59
von doormaster
*nochmalpusch* :roll:

Verfasst: 10.06.2005 18:54
von doormaster
hat denn echt keiner ne Idee? :roll:

Verfasst: 11.06.2005 10:20
von netzmeister
doormaster hat geschrieben:hat denn echt keiner ne Idee? :roll:
Hallo,
also ich schau mir die Sache nochmal an.
Welche phpBB-Version verwendest Du ?

Gruß netzmeister

Verfasst: 11.06.2005 10:38
von Max
Hi,


das ist ja klasse :)

Falls es interessiert, ich verwende phpBB 2.0.15

Extra den unread post to database wollte ich nämlich nicht installieren.
Wäre also genial, wenn Du da eine funktionierende Lösung hinbekommst.


Gruß Max

Verfasst: 11.06.2005 10:44
von doormaster
netzmeister hat geschrieben:
doormaster hat geschrieben:hat denn echt keiner ne Idee? :roll:
Hallo,
also ich schau mir die Sache nochmal an.
Welche phpBB-Version verwendest Du ?

Gruß netzmeister
ich verwende version 2.0.13

Verfasst: 11.06.2005 11:25
von netzmeister
Hallo,

prüft nochmal anhand dieser Anleitung ob es nun korrekt ist..
http://www.source-code.de/phpbb/viewtop ... =3527#3527

Gruß netzmeister

Verfasst: 11.06.2005 11:47
von maximus Caesar
netzmeister hat geschrieben:Hallo,
hier mal eine Anleitung, ist aber nicht getestet.

Code: Alles auswählen

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/functions_post.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$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) 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_time = $current_time, topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES ($topic_id, $forum_id, " . $userdata['user_id'] . ", '$post_username', $current_time, '$user_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id";

#
#-----[ REPLACE WITH ]-------------------------------------------
#
$sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES ($topic_id, $forum_id, " . $userdata['user_id'] . ", '$post_username', $current_time, '$user_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', post_time = $current_time, enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id";

#
#-----[ SAVE/UPLOAD ]------------------------------------------------
#
# EoM

Probier es mal aus und gib bescheid falls es noch nicht funktioniert.
Aber wie gesagt keine Gewähr. Habe es nicht getestet.

Gruß Matthias

PS: Acid oder PhillipK falls Ihr einen Fehler entdeckt bitte sagen.. ;-)
Funktioniert bei mir einwandfrei!
Hab phpbb 2.0.15
Editierte Beiträge werden automatisch als neu markiert!