DLE — Модуль форума | DLE Forum
Распечатать

DLE — Модуль форума | DLE Forum 3.5

DLE — Модуль форума | DLE Forum DarkLane" />
Сегодня ни один хороший новостной ресурс не обходится без форума. Ведь с помощью форумов можно обсуждать различные вопросы и он также является отличным подспорьем для технической службы блога. DLE Forum представляет собой лучшее средство общения с пользователями вашего сайта. В то же время он прост в установке и настройке. Его особенностью является отличная возможность интеграции с сайтом.
 
Dle Forum 3.5 является бесплатным и не имеет ничего общего с различными модулями. Кроме того, форум имеет отзывчивый дизайн, основанный на стилях PHPBB 3.2.
 
У вас есть выбор между двумя версиями:
  • Dle Edition Forum - это форум интегрированный в DLE
  • Full Edition Forum - это форум которая выводится отдельно полной страницей.
 
Основные исправления этой версии:
  • Исправление для версии PHP 8.2.
  • Исправлена проблема с сортировкой форумов в админ центре.
  • Исправлена проблема между перенаправлением форума и категорий, если оба имеют одинаковое название (избегайте этого).
  • Исправлена проблема с загрузкой файлов.
  • Изменен способ отображения сообщения во время написания ответа.
  • Улучшена фильтрация некоторых входящих данных.
  • Улучшена функциональность поиска по форуму.
  • Исправлен запрос в модуле на отображение всех сообщений пользователя.
  • Добавлен новый SEO-тип, в котором ваши ссылки могут заканчиваться на *.html.
  • Исправлены опросы.
  • Исправлены ошибки в XML-файле.
  • Новый дизайн для опросов.
 
В этот список не входят изменения в скрипте, мелкие модификации и исправления ошибок.

Установка:

  1. Загрузить все содержимое архива к себе на сайт.
  2. Перейти в Администрирование > Утилиты > Управление плагинами и загрузить плагин с расширением xml.
  3. Для вывода на сайте последних сообщений с форума, при использовании Полной версии форума следует в main.tpl найти:
    {content}
  4. Добавить выше:
    [available=main]{show_last_forum}[/available]
  5. Для вывода информации в профиле, следует в profile_popup.tpl добавить:
    <li>Темы форума: <b>{forum_topics}</b></li>
    <li>Сообщения на форуме: <b>{forum_post}</b></li>
    <li>Просмотреть сообщения: <b>{forum_post_link}</b></li>
  6. В нужное место userinfo.tpl добавьте:
    <li><div class="ui-c1 grey">Темы форума</div> <div class="ui-c2">{forum_topics}</div></li>
    <li><div class="ui-c1 grey">Сообщения на форуме</div> <div class="ui-c2">{forum_post}</div></li>
    <li><div class="ui-c1 grey">Ссылки на форум</div> <div class="ui-c2">{forum_post_link}</div></li>
  7. Если хотите использовать кнопку справки форума, которая появляется внизу ваших сообщений, то в нужное место fullstory.tpl следует добавить:
    <a href="/?do=forum&act=discuss&nid={news-id}">Обсудить на форуме</a>
  8. Открыть в корне вашего сайта .htaccess и найти:
    DirectoryIndex index.php
  9. Заменить на:
    DirectoryIndex index.php index.php?do=forum
  10. Там же найти:
    RewriteEngine On
  11. Добавить ниже:
    #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]+)/last(/?)+$ index.php?do=forum&showtopic=$1&lastpost=1#post-$2 [L]
    RewriteRule ^forum/topic_([0-9]+)/lastpost(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2#post-$3 [L]
    RewriteRule ^forum/topic_([0-9]+)/([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2 [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/search(/?)+$ index.php?do=forum&act=search [L]
    RewriteRule ^forum/search/([0-9]+)-([^/]+)/([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/([0-9]+)(/?)+$ index.php?do=forum&act=getnew&cstart=$1 [L]
    RewriteRule ^forum/warn/([^/]*)(/?)+$ index.php?do=forum&act=warn&user=$1 [L]
    RewriteRule ^forum/warn/([^/]*)/([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/([^/]*)/([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/members(/?)+$ index.php?do=forum&act=members [L]
    RewriteRule ^forum/members/([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/([^/]*)/posts/page([0-9]+)(/?)+$ index.php?do=forum&act=user_posts&name=$1&cstart=$2 [L]
    RewriteRule ^forum/faq(/?)+$ index.php?do=forum&act=faq [L]
    
    ##type=2
    RewriteRule ^forum/forum_([0-9]+)/add.html$ index.php?do=forum&act=add_topic&forum_id=$1 [L]
    RewriteRule ^forum/thanks_([0-9]+)/lastpost([0-9]+).html$ index.php?do=forum&showtopic=$1 [L]
    RewriteRule ^forum/topic_([0-9]+).html$ index.php?do=forum&showtopic=$1 [L]
    RewriteRule ^forum/showforum_([0-9]+).html$ index.php?do=forum&showforum=$1 [L]
    RewriteRule ^forum/topic_([0-9]+)/([^/]*)/lastpost.html$ index.php?do=forum&showtopic=$1&lastpost=$2#post-$3 [L]
    RewriteRule ^forum/topic_([0-9]+)/([^/]*)/page([0-9]+)/([0-9]+).html$ index.php?do=forum&showtopic=$1&cstart=$2 [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/search.html$ index.php?do=forum&act=search [L]
    RewriteRule ^forum/searchtopic_([0-9]+)/([^/]*)/([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/subscription.html$ index.php?do=forum&act=subscription [L]
    RewriteRule ^forum/faq.html$ index.php?do=forum&act=faq [L]
    RewriteRule ^forum/members.html$ index.php?do=forum&act=members [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/([^/]*)/posts.html$ index.php?do=forum&act=user_posts&name=$1 [L]
    RewriteRule ^forum/last_posts/([^/]*)/user.html$ index.php?do=forumact=last_posts&name=$1 [L]
    RewriteRule ^forum/whoonline.html$ index.php?do=forum&act=whoonline [L]
    RewriteRule ^forum/faq.html$ index.php?do=forum&act=faq [L]
  12. Зайти в Админ панель форума и создать свои категории и форумы.
  13. Зайти в Управление обсуждениями и выбрать каждую категорию DLE для кнопки помощи, которая будет отображаться в ваших статьях.

 

Приятного использования!


CMS: DLE

Категория: Модули

Версия движка: 14.x-16.0

Версия php: 7.4 - 8.2

Кодировка: utf-8

Автор: DarkLane

Источник: Перейти

Опубликовал: Дмитрий


Дополнительные Скриншоты - DLE — Модуль форума | DLE Forum

Подождите, сейчас файл будет подготовлен, через
секунд Вы получите ссылку на скачивание,
а сейчас может Зарегистрируемся? wink это быстро!

Имя:*
E-Mail:
Кликните на изображение чтобы обновить код, если он неразборчив

Copyright © 2023 | Проект GiG-LiFe.ru
Материалы на этом сайте взяты из общедоступных источников и могут быть удалены по просьбе авторов, при наличии доказательства авторства.
Materials on this site are taken from public sources and may be deleted at the request of their authors when there is evidence of authorship.