Bonjour et merci pour ce topic et mod.
Le lien du mod auto se trouve dans le tuto posté plus haut, ou ici :
http://support..org/Mod_UrlRewriting_V12-topic-68-0.html
Malheureusement ce mod auto ne marche pas pour SMF 1.1.5, je l'ai donc modifié à la main pour display.php et boardindex.php
Il ne me reste plus qu'a modifier messageindex.php, et là, quoi que je change sur cette page, j'obtiens une erreur de Syntax dans ce paragraphe (alors que je ne le modifie pas!)
Auriez vous une idée pourquoi ça me fait ça ?
// Aren't children wonderful things?
$result = db_query("
SELECT
b.ID_BOARD, b.name, b.description, b.numTopics, b.numPosts,
m.posterName, m.posterTime, m.subject, m.ID_MSG, m.ID_TOPIC,
IFNULL(mem.realName, m.posterName) AS realName, " . (!$user_info['is_guest'] ? "
(IFNULL(lb.ID_MSG, 0) >= b.ID_MSG_UPDATED) AS isRead," : "1 AS isRead,") . "
IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, IFNULL(mem2.ID_MEMBER, 0) AS ID_MODERATOR,
mem2.realName AS modRealName
FROM {$db_prefix}boards AS b
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = b.ID_LAST_MSG)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)" . (!$user_info['is_guest'] ? "
LEFT JOIN {$db_prefix}log_boards AS lb ON (lb.ID_BOARD = b.ID_BOARD AND lb.ID_MEMBER = $ID_MEMBER)" : '') . "
LEFT JOIN {$db_prefix}moderators AS mods ON (mods.ID_BOARD = b.ID_BOARD)
LEFT JOIN {$db_prefix}members AS mem2 ON (mem2.ID_MEMBER = mods.ID_MEMBER)
WHERE b.ID_PARENT = $board
AND $user_info[query_see_board]", __FILE__, __LINE__);
if (mysql_num_rows($result) != 0)