Ich benutze den Mod um die letzten Themen auf einer nicht phpBB-Seite anzeigen zu lassen. Wie mache ich es am besten, dass dort auch die Links umgeschrieben werden (siehe hier) ?
Würde mich über Hilfe sehr freuen

lg
Code: Alles auswählen
[...]
$sql = "SELECT t.*, f.forum_id, f.forum_name, u.username AS first_poster, u.user_id AS first_poster_id, u2.username AS last_poster, u2.user_id AS last_poster_id, p.post_username AS first_poster_name, p2.post_username AS last_poster_name, p2.post_time, pt.*
FROM ". TOPICS_TABLE ." t, ". FORUMS_TABLE ." f, ". USERS_TABLE ." u, ". POSTS_TABLE ." p, ". POSTS_TABLE ." p2, ". USERS_TABLE ." u2, ". POSTS_TEXT_TABLE ." pt
WHERE $where_forums AND t.topic_poster = u.user_id AND f.forum_id = t.forum_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND t.topic_last_post_id = pt.post_id
ORDER BY t.topic_last_post_id DESC LIMIT $topic_limit";
}
else
{
$sql = "SELECT p.post_id, pt.post_subject FROM ". POSTS_TABLE ." p, ". POSTS_TEXT_TABLE ." pt
WHERE p.topic_id IN ($topic_id) AND p.post_id = pt.post_id ORDER BY p.post_id DESC LIMIT $topic_limit";
}
if( !$result = $db->sql_query($sql) )
[...]
Code: Alles auswählen
<html>
<body>
<? include('http://www.meine-domain.de/forum/recent.php'); ?>
</body>
</html>
Code: Alles auswählen
// ############ Edit below ########################################
$topic_length = '30'; // length of topic title
$topic_limit = '10'; // limit of displayed topics
$special_forums = '0'; // specify forums ('0' = no; '1' = yes)
$forum_ids = ''; // IDs of forums; separate them with a comma
$config_path = '/forum/'; // path to config.php
$root_path = '/forum/'; // link path
// ############ Edit above ########################################