Verfasst: 06.10.2006 21:27
Hallo mgutt
doch hab ich - aber ich hatte einen Fehler gemacht - jetzt ist alles ok!
sorry!
doch hab ich - aber ich hatte einen Fehler gemacht - jetzt ist alles ok!
sorry!
Auf der ersten Seite ist doch ein Link zu einer Anleitung zum Anpassen von MODs.Ttahl hat geschrieben:Hallo,
hat keiner eine Lösung zu meinem Problem auf Seite 121 ganz unten?
Code: Alles auswählen
$topic_url = append_sid("viewtopic.$phpEx?t=" . $rows['topic_id']);
$forum_url = append_sid("viewforum.$phpEx?f=" . $rows['forum_id']);
Code: Alles auswählen
$topic_url = append_sid("viewtopic.$phpEx?t=" . $rows['topic_id'], "", $rows['topic_title']);
$forum_url = append_sid("viewforum.$phpEx?f=" . $rows['forum_id'], "", $rows['forum_name']);
oderFussball-International :: Index - Mozilla Firefox
Leider steht aber wenn nich in meinen Forum in einem Forum gehe (*gg) bin dort keine datei, sprich nur:Antowrt schreiben :: phpbb.de - Aktuelle Version: phpbb2.0.21 - Mozilla Firefox
Beim Index etc. geht es....Fussball-International : - Mozilla Firefox
Code: Alles auswählen
$nextTopicLink = append_sid("viewtopic.php?t=" . $row['topic_id'] );
$prevTopicLink = append_sid("viewtopic.php?t=" . $row['topic_id'] );
Code: Alles auswählen
$nextTopicLink = append_sid("viewtopic.$phpEx?t=" . $rows['topic_id'], "", $rows['topic_title']);
$prevTopicLink = append_sid("viewtopic.$phpEx?t=" . $rows['topic_id'], "", $rows['topic_title']);
Code: Alles auswählen
$phpEx?t=
Code: Alles auswählen
php?t=
Code: Alles auswählen
$nextTopicText = $row['topic_title'];
Code: Alles auswählen
$sql = "SELECT t.topic_title, t.topic_id
FROM " . TOPICS_TABLE . " t, " . TOPICS_TABLE . " t2
WHERE
t2.topic_id = $topic_id
AND t.forum_id = t2.forum_id
AND t.topic_last_post_id > t2.topic_last_post_id
ORDER BY t.topic_last_post_id ASC
LIMIT 1";
if ( !($result = $db->sql_query($sql)) || $db->sql_numrows($result) != 1 )
{
$nextTopicText = $lang['No_newer_topics'];
$nextTopicLink = '#';
}
else
{
$row = $db->sql_fetchrow($result);
$nextTopicText = $row['topic_title'];
$nextTopicLink = append_sid("viewtopic.php?t=" . $rows['topic_id'], "", $rows['topic_title']);
}
$db->sql_freeresult($result);
$sql = "SELECT t.topic_title, t.topic_id
FROM " . TOPICS_TABLE . " t, " . TOPICS_TABLE . " t2
WHERE
t2.topic_id = $topic_id
AND t.forum_id = t2.forum_id
AND t.topic_last_post_id < t2.topic_last_post_id
ORDER BY t.topic_last_post_id DESC
LIMIT 1";
if ( !($result = $db->sql_query($sql)) || $db->sql_numrows($result) != 1 )
{
$prevTopicText = $lang['No_older_topics'];
$prevTopicLink = '#';
}
else
{
$row = $db->sql_fetchrow($result);
$prevTopicText = $row['topic_title'];
$prevTopicLink = append_sid("viewtopic.php?t=" . $rows['topic_id'], "", $rows['topic_title']);
}
$db->sql_freeresult($result);