24.10.2007, 11:54
Ich finde es gut, dass du die Lösung postest.
Hier eine Lösung für die Zitat:
newreply.php:
Ersetze:durch:Füge nach:das ein:fidx wie immer anpassen.
Hier eine Lösung für die Zitat:
newreply.php:
Ersetze:
PHP-Code:
$query = $db->query("
SELECT p.subject, p.message, p.pid, p.tid, p.username, u.username AS userusername
FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid=p.tid)
LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=p.uid)
WHERE p.pid IN ($quoted_posts) {$unviewable_forums} {$visible_where}
");
PHP-Code:
$query = $db->query("
SELECT p.subject, p.message, p.pid, p.tid, p.username, u.username AS userusername, f.*
FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid=p.tid)
LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=p.uid)
LEFT JOIN ".TABLE_PREFIX."userfields f ON (f.ufid=u.uid)
WHERE p.pid IN ($quoted_posts) {$unviewable_forums} {$visible_where}
");
PHP-Code:
if($quoted_post['userusername'])
{
$quoted_post['username'] = $quoted_post['userusername'];
}
PHP-Code:
$quoted_post['username'] = "{$quoted_post['fid4']} {$quoted_post['fid5']}";