DarkLane
24 Fev, 2024
997 Vues
45 Commentaires
{content}
[available=main] {show_last_forum} [/available]
<li>Sujets sur le forum: <b>{forum_topics}</b></li> <li>Messages sur le forum: <b>{forum_post}</b></li> <li>Voir les messages: <b>{forum_post_link}</b></li>
<li><div class="ui-c1 grey">Sujets sur le forum</div> <div class="ui-c2">{forum_topics}</div></li> <li><div class="ui-c1 grey">Messages sur le forum</div> <div class="ui-c2">{forum_post}</div></li> <li><div class="ui-c1 grey">Liens Forum</div> <div class="ui-c2">{forum_post_link}</div></li>
<a href="/index.php?do=forum&act=discuss&nid={news-id}">En discuter sur le forum</a>
DirectoryIndex index.php
DirectoryIndex index.php index.php?do=forum
RewriteEngine On
#Dle Forum RewriteRule ^forum(/?)+$ index.php?do=forum [L] ##type=1 RewriteRule ^forum/forum_([0-9]+)(/?)+$ index.php?do=forum&showforum=$1 [L] RewriteRule ^forum/forum_([0-9]+)/([0-9]+)(/?)+$ index.php?do=forum&showforum=$1&cstart=$2 [L] RewriteRule ^forum/topic_([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1 [L] RewriteRule ^forum/topic_([0-9]+)/page/([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2 [L] RewriteRule ^forum/topic_([0-9]+)/last(/?)+$ index.php?do=forum&showtopic=$1&lastpost=1#post-$2 [L] RewriteRule ^forum/topic_([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2#post-$3 [L] RewriteRule ^forum/topic_([0-9]+)/reply(/?)+$ index.php?do=forum&act=_topic&code=reply&tid=$1 [L] RewriteRule ^forum/forum_([0-9]+)/add(/?)+$ index.php?do=forum&act=add_topic&forum_id=$1 [L] RewriteRule ^forum/getforum_([^/]+)(/?)+$ index.php?do=forum&act=getforum&code=user&n=$1 [L] RewriteRule ^forum/getforum/user/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=forum&act=getforum&code=user&n=$1&cstart=$2 [L] RewriteRule ^forum/search(/?)+$ index.php?do=forum&act=search [L] RewriteRule ^forum/search/([0-9]+)-([^/]+)/page/([0-9]+)(/?)+$ index.php?do=forum&act=search&count_all=$1&search_text=$2&cstart=$3 [L] RewriteRule ^forum/subscription(/?)+$ index.php?do=forum&act=subscription [L] RewriteRule ^forum/getnew(/?)+$ index.php?do=forum&act=getnew [L] RewriteRule ^forum/getnew/page/([0-9]+)(/?)+$ index.php?do=forum&act=getnew&cstart=$1 [L] RewriteRule ^forum/warn/user-([^/]*)(/?)+$ index.php?do=forum&act=warn&user=$1 [L] RewriteRule ^forum/warn/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=forum&act=warn&user=$1&cstart=$2 [L] RewriteRule ^forum/reputation/([^/]*)(/?)+$ index.php?do=forum&act=reputation&user=$1 [L] RewriteRule ^forum/reputation/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=forum&act=reputation&user=$1&cstart=$2 [L] RewriteRule ^forum/whoonline(/?)+$ index.php?do=forum&act=whoonline [L] RewriteRule ^forum/faq(/?)+$ index.php?do=forum&act=faq [L] RewriteRule ^forum/user/post_([0-9]+)(/?)+$ index.php?do=forum&act=posts&user=$1 [L] RewriteRule ^forum/user/post_([^/]*)/page/([0-9]+)(/?)+$ index.php?do=forum&act=posts&user=$1&cstart=$1 [L] RewriteRule ^forum/members(/?)+$ index.php?do=forum&act=members [L] RewriteRule ^forum/members/page/([0-9]+)(/?)+$ index.php?do=forum&act=members&cstart=$1 [L] RewriteRule ^forum/friends(/?)+$ index.php?do=forum&act=friends [L] RewriteRule ^forum/friends/check(/?)+$ index.php?do=forum&act=friends&doaction=check [L] RewriteRule ^forum/friends/add(/?)+$ index.php?do=forum&act=friends&doaction=add_friend [L] RewriteRule ^forum/rss/forum_([1-9][0-9]*).xml$ index.php?do=forum&act=rss&fid=$1 [L] RewriteRule ^forum/user/([^/]*)/posts(/?)+$ index.php?do=forum&act=user_posts&name=$1 [L] RewriteRule ^forum/user/post_([^/]*)/page/([0-9]+)(/?)+$ index.php?do=forum&act=user_posts&name=$1&code=search&cstart=$2 [L] RewriteRule ^forum/faq(/?)+$ index.php?do=forum&act=faq [L] RewriteRule ^forum/topic_([0-9]+)/search/page/([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1&code=search&cstart=$2 [L] ##type=2 RewriteRule ^forum/showforum_([0-9]+).html$ index.php?do=forum&showforum=$1 [L] RewriteRule ^forum/showforum_([0-9]+)/page/([0-9]+).html$ index.php?do=forum&showforum=$1&cstart=$2 [L] RewriteRule ^forum/showforum_([0-9]+)/hidden/page/([0-9]+).html$ index.php?do=forum&showforum=$1&code=hidden&cstart=$2 [L] RewriteRule ^forum/showforum_([0-9]+)/today/page/([0-9]+).html$ index.php?do=forum&showforum=$1&code=today&cstart=$2 [L] RewriteRule ^forum/showforum_([0-9]+)/noreply/page/([0-9]+).html$ index.php?do=forum&showforum=$1&code=noreply&cstart=$2 [L] RewriteRule ^forum/forum_([0-9]+)/add.html$ index.php?do=forum&act=add_topic&forum_id=$1 [L] RewriteRule ^forum/topic_([0-9]+).html$ index.php?do=forum&showtopic=$1 [L] RewriteRule ^forum/topic_([0-9]+)/page/([0-9]+).html$ index.php?do=forum&showtopic=$1&cstart=$2 [L] RewriteRule ^forum/topic_([0-9]+)/([^/]*)/last.html$ index.php?do=forum&showtopic=$1&lastpost=1#post-$2 [L] RewriteRule ^forum/topic_([0-9]+)/([^/]*).html$ index.php?do=forum&showtopic=$1&cstart=$2#post-$3 [L] RewriteRule ^forum/topic_([0-9]+)/([^/]*)/reply.html$ index.php?do=forum&act=_topic&code=reply&tid=$1 [L] RewriteRule ^forum/([^/]*)/getforum.html$ index.php?do=forum&act=getforum&code=user&n=$1 [L] RewriteRule ^forum/getforum_([^/]*)/page/([0-9]+).html$ index.php?do=forum&act=getforum&code=user&n=$1&cstart=$2 RewriteRule ^forum/search.html$ index.php?do=forum&act=search [L] RewriteRule ^forum/search/([0-9]+)-([^/]+)/page/([0-9]+).html$ index.php?do=forum&act=search&count_all=$1&search_text=$2&cstart=$3 [L] RewriteRule ^forum/searchtopic_([0-9]+)/([^/]*)/page/([0-9]+).html$ index.php?do=forum&showtopic=$1&cstart=$2 [L] RewriteRule ^forum/getnew.html$ index.php?do=forum&act=getnew [L] RewriteRule ^forum/getnew/page/([0-9]+).html$ index.php?do=forum&act=getnew&cstart=$1 [L] RewriteRule ^forum/subscription.html$ index.php?do=forum&act=subscription [L] RewriteRule ^forum/faq.html$ index.php?do=forum&act=faq [L] RewriteRule ^forum/([^/]*)/posts.html$ index.php?do=forum&act=posts&user=$1 [L] RewriteRule ^forum/([^/]*)/posts/page/([0-9]+).html$ index.php?do=forum&act=posts&user=$1&cstart=$1 [L] RewriteRule ^forum/members.html$ index.php?do=forum&act=members [L] RewriteRule ^forum/members/page/([0-9]+).html$ index.php?do=forum&act=members&cstart=$1 [L] RewriteRule ^forum/friends.html$ index.php?do=forum&act=friends [L] RewriteRule ^forum/friends/check.html$ index.php?do=forum&act=friends&doaction=check [L] RewriteRule ^forum/friends/add.html$ index.php?do=forum&act=friends&doaction=add_friend [L] RewriteRule ^forum/rss/forum_([1-9][0-9]*).xml$ index.php?do=forum&act=rss&fid=$1 [L] RewriteRule ^forum/([^/]*)/posts/page/([0-9]+).html$ index.php?do=forum&act=user_posts&name=$1 [L] RewriteRule ^forum/([^/]*)/post/page/([0-9]+).html$ index.php?do=forum&act=user_posts&name=$1&code=search&cstart=$2 [L] RewriteRule ^forum/last_posts/([^/]*)/user.html$ index.php?do=forumact=last_posts&name=$1 [L] RewriteRule ^forum/warn/user-([^/]*).html$ index.php?do=forum&act=warn&user=$1 [L] RewriteRule ^forum/warn/user-([^/]*)/page/([0-9]+).html$ index.php?do=forum&act=warn&user=$1&cstart=$2 [L] RewriteRule ^forum/reputation/([^/]*)(/?).html$ index.php?do=forum&act=reputation&user=$1 [L] RewriteRule ^forum/reputation/([^/]*)/page/([0-9]+).html$ index.php?do=forum&act=reputation&user=$1&cstart=$2 [L] RewriteRule ^forum/whoonline.html$ index.php?do=forum&act=whoonline [L] RewriteRule ^forum/faq.html$ index.php?do=forum&act=faq [L]
Votre adresse électronique ne sera pas publiée. Les champs obligatoires sont marqués *
Les utilisateurs du Invités ne sont pas autorisés à ajouter des commentaires à cette publication.
03-02-2026 22:22
Bonjour DarkLane. Merci beaucoup pour votre travail sur le forum. Je ne suis pas très calé en PHP et JS, mais j'ai réussi à faire fonctionner le forum sur DLE 19.0. Il y a quelques problèmes avec JS et le nouveau TINYMCE, et il pourrait y avoir une faille de sécurité. Si vous avez le temps de le corriger, je peux partager mes correctifs. Dites-moi si cela vous intéresse.
06-10-2025 20:03
Sujets similaires - related_topic.php
trouver
$group_span = $forum_groups[$res['user_group']]['group_colour']; if ($setting['allow_rewrite_url'] = '1') { if ($setting['seo_type'] == 1){ $rel_full_link = "<a href=\"{$forum_url}/topic_{$res['tid']}\">{$res['title']}</a>"; }elseif ($setting['seo_type'] == 2){ $rel_full_link = "<a href=\"{$forum_url}/topic_{$res['tid']}.html\">{$res['title']}</a>"; } } else { $rel_full_link = "<a href=\"{$config['']}index.php?do=forum&showtopic={$res['tid']}\">{$res['title']}</a>"; }
$tpl->set( '{name}', $row['name_forum'] ); $tpl->set('{status}', topic_status($row['tid'], $last_date, $row['post'], $row['topic_status'], $row['frage'], $row['fixed'], $row['announce'])); $tpl->set( '{full_link}', $rel_full_link ); $tpl->set( '{author_topic}', "<span style=\"color:{$group_span}\">".$res['author_topic']."</span>" ); $tpl->set( '{topic_descr}', $row['topic_descr'] ); $tpl->set( '{post}', $row['post'] ); $tpl->set( '{show}', $row['views'] ); $tpl->set( '{last_author}', "<span style=\"color:{$group_span}\">".$row['last_poster_name']."</span>" );
remplacer par
Maintenant, tout fonctionne comme il se doit.
18-10-2025 14:53
Merci! Il est vrai que le forum n'a plus été suivi parce que je manque de temps. Et personne ne veux prendre le relais
06-07-2025 17:10
J'ai créé un thème changeant sombre/blanc, également adapté aux mobiles, car tous les thèmes actuels ne sont pas adaptés aux mobiles 😁 pour la version 4.02 et j'ai modifié l'installateur du forum pour ne pas rencontrer de problèmes d'encodage
https://imgur.com/a/3TcJ7su
https://i.imgur.com/4f30mwo.png
09-06-2025 20:00
J'ai changé un peu la mise en page
https://i.imgur.com/GO3i9LD.png
03-06-2025 21:04
Bonjour,
J'essaie d'installer ceci sur un 18. version 103.
J'obtiens l'erreur ci-dessous sur le site principal.
https://i.imgur.com/aWwm0yQ.png
et cette erreur lors de l'installation
https://i.imgur.com/P1eWRbk.png
07-06-2025 21:47
Ifixed this errors by submiting a sql query in the database:
ALTER TABLE dle_forum_email CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_forums CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_groups CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_images CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_moderators CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_plaints CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_poll_log CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_posts CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_reputation_log CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_sessions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_subscription CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_thanks CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_titles CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_topics CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_views CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ALTER TABLE dle_forum_warn_log CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
07-06-2025 21:51
https://i.imgur.com/ehdirhC.png
08-06-2025 09:55
Pour corriger cette erreur cela se passe dans phpmyadmin. En faites l'interclassement n'est pas identique avec le forum est ton site. Tu vas donc dans phpmyadmin tu selectionne la base de donnée de ton site et tout en haut dans les onglets tu clic sur opération!
Une fois arrivé tu va tout en bas jusqu'a interclassement, tu laisse celui par default par contre tu coche Changer les interclassements de toutes les tables et ensuite cette case s'affiche Changer les interclassements de toutes les colonnes de toutes les tables. Tu l'as coche aussi et tu clic sur exécuter. Maintenant le forum va fonctionner
02-10-2025 20:32
Installation initiale du forum. Erreurs rencontrées et résolution.
La colonne «reason_text» est manquante dans la table dle_forum_posts.
Le fichier usergroup.php affiche de manière incorrecte le nombre d'utilisateurs dans le panneau d'administration par groupe.
02-10-2025 20:35
Le fichier report.php est une faute de frappe provenant d'un module DLE.
engine\forum\sources\showposts.php - Dans l'original, il recherche le numéro du message, mais il a besoin de l'ID du message.
engine\forum\sources\modules\showallposts.php
02-10-2025 20:36
Le bouton insérer une image ne fonctionne pas.
\engine\forum\editor\bbcode.php -
\engine\forum\sources\modules\member.php - Le forum se bloque en raison d'un volume important de sujets et de messages
while ($res = $db->get_row($query)){ $topic = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_forum_topics WHERE author_topic = '{$res['post_author']}'"); $topic_num = $topic['count']; $post = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_forum_posts WHERE post_author = '{$res['post_author']}' and is_count"); $post_num = $post['count']; }
//while ($res = $db->get_row($query)){ $topic = $db->super_query("SELECT COUNT(*) as counta FROM " . PREFIX . "_forum_topics WHERE author_topic='{$row['name']}'"); $topic_num = $topic['counta']; $post = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_forum_posts WHERE post_author = '{$row['name']}' and is_count"); $post_num = $post['count']; //}
Plus...Les fichiers ne se chargent pas lors de l'ajout ou de la modification d'actualités.Le bouton «Merci» est manquant sur DLE16 et DLE17.Les boutons d'alerte ne fonctionnent pas (ils fonctionnent sur DLE15.3).
02-10-2025 20:41
Les fichiers addtopic.php, topic.php, showtopic.php et search.php n'affichent pas le code de sécurité. Remplacez l'adresse engine/modules/ par engine/modules/antibot/.
17-04-2025 15:32
bonjour,
essayez ceci :
Sinon faut regarder au niveau du htaccess
05-04-2025 15:47
@DarkLane Je ne comprends pas quel est le problème de supprimer les restrictions sur les messages privés pour les utilisateurs?
17-04-2025 16:53
Quelle restriction pour les MP????? cela a toujours été tel qu'ils sont depuis le début du site
29-03-2025 18:32
J'ai installé la version 18.0 sans problème, mais je n'arrive pas à accéder au /forum.
Oui il y a un soucis avec le forum je regarde en ce moment si j'arrive à faire quelque chose
29-03-2025 16:54
15-03-2025 10:00
15-03-2025 13:56
21-02-2025 21:50
08-02-2025 20:48
J'ai installé le forum. bien que je n'ai pas d'erreurs quand je l'applique {show_last_forum}, je n'affiche pas le forum.
Oui il y a pas mal d'erreurs qui apparaissent sur le forum!
07-02-2025 18:14
19-01-2025 23:07
19-01-2025 12:32
18-01-2025 20:02
18-01-2025 10:42
16-01-2025 17:37
13-01-2025 21:50
13-01-2025 17:36
12-01-2025 22:22
06-01-2025 15:40
06-01-2025 14:02
05-01-2025 17:50
$access_topic = check_access($row_forum['access_topic']);_f
$access_topic = check_access($row_forum['access_topic']);
05-01-2025 08:41
04-01-2025 21:52
$access_write = check_access($row_forum['access_write']); $access_topic = check_access($row_forum['access_topic']);_f $access_mod = check_access($row_forum['access_mod']); $access_upload = check_access($row_forum['access_upload']); $access_download = check_access($row_forum['access_download']);
04-01-2025 18:38
03-01-2025 15:03
02-01-2025 19:14
02-01-2025 18:20
07-03-2023 • Dle
Dle Forum V.3.5
26-12-2023 • Dle 17.0
Dle Forum V.4.0.1
22-01-2022 • Dle
Dle-Forum 2.7.5
19-01-2021 • Dle
Dle-Forum 2.7.1 rev1 dle 13.3
22-12-2020 • Dle
dle-forum 2.7 13.3 14.0 14.1
14-08-2022 • Dle 17.0
Dle Forum Version 3.1
15-03-2024 • Dle Forum
DleForum-blackgreen