M
Madison Ricco
Посетитель
- Регистрация
- 3 Сен 2022
- Сообщения
- 3
- Реакции
- 3
Не понял где скачать
Нормальный не кривой модуль только для олдов на этом форуме. Вы ссылку не увидитеНе понял где скачать
RewriteRule ^([0-9]+)-(.*)/season/([0-9]+)/episode/([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/episode/([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/season-([0-9]+)/episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/([0-9]+)-season/([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/season-([0-9]+)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/([0-9]+)-season-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)-season-([0-9]+)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)-([0-9]+)-season-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/sezon/([0-9]+)/seriya/([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/seriya/([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/sezon-([0-9]+)/seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/([0-9]+)-sezon/([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)/sezon-([0-9]+)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)/([0-9]+)-sezon-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)-sezon-([0-9]+)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
RewriteRule ^([0-9]+)-(.*)-([0-9]+)-sezon-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L]
RewriteRule ^([0-9]+)-(.*)-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
Когда будет время сделаю и вкладиваю сюда! для DLE 17.1 или прям DLE 17.2 посмотрим!Подскажите как исправить правила для 17.1 , а то сейчас перекидывает на главную 301 редиректом вместо страниц серий
PHP:RewriteRule ^([0-9]+)-(.*)/season/([0-9]+)/episode/([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/episode/([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/season-([0-9]+)/episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-season/([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/season-([0-9]+)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-season-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-season-([0-9]+)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-season-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/sezon/([0-9]+)/seriya/([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/seriya/([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/sezon-([0-9]+)/seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-sezon/([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/sezon-([0-9]+)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-sezon-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-sezon-([0-9]+)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-sezon-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
Я правил но не у компа сейчас, глянь файл там просто кавычки одинарные поставить надо у этой фразы its_not_ok и its_okВсем привет, поставил модуль на Свежие версии DLE 17.1
В целом модуль работает на сайте
Но в админпанели настройки модуля есть ошибке
Посмотреть вложение 4413
У кого-то есть поправленный модуль на свежих версии DLE ?
В engine/engine.phpПодскажите как исправить правила для 17.1 , а то сейчас перекидывает на главную 301 редиректом вместо страниц серий
PHP:RewriteRule ^([0-9]+)-(.*)/season/([0-9]+)/episode/([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/episode/([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/season-([0-9]+)/episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-season/([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/season-([0-9]+)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-season-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-season-([0-9]+)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-episode-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-season-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-episode.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/sezon/([0-9]+)/seriya/([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/seriya/([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/sezon-([0-9]+)/seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-sezon/([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)/sezon-([0-9]+)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)/([0-9]+)-sezon-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-sezon-([0-9]+)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-seriya-([0-9]+).html$ index.php?newsid=$1&seourl=$2&episode=$3 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-sezon-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&season=$3&episode=$4 [L] RewriteRule ^([0-9]+)-(.*)-([0-9]+)-seriya.html$ index.php?newsid=$1&seourl=$2&episode=$3 [L]
// ################ Full News #################
if ($subaction != '' OR $newsid) {
if ( !$newsid ) $sql_news = "SELECT p.id, p.autor, p.date, p.short_story, p.full_story, p.xfields, p.title, p.descr, p.keywords, p.category, p.alt_name, p.comm_num, p.allow_comm, p.allow_main, p.approve, p.fixed, p.allow_br, p.symbol, p.tags, p.metatitle, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.disable_index, e.related_ids, e.access, e.editdate, e.editor, e.reason, e.user_id, e.disable_search, e.need_pass, e.allow_rss, e.allow_rss_turbo, e.allow_rss_dzen {$user_select}FROM " . PREFIX . "_post p LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id) {$user_join}WHERE alt_name ='{$news_name}' AND date >= '{$year}-{$month}-{$day}' AND date < '{$year}-{$month}-{$day}' + INTERVAL 24 HOUR LIMIT 1";
else $sql_news = "SELECT p.id, p.autor, p.date, p.short_story, p.full_story, p.xfields, p.title, p.descr, p.keywords, p.category, p.alt_name, p.comm_num, p.allow_comm, p.allow_main, p.approve, p.fixed, p.allow_br, p.symbol, p.tags, p.metatitle, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.disable_index, e.related_ids, e.access, e.editdate, e.editor, e.reason, e.user_id, e.disable_search, e.need_pass, e.allow_rss, e.allow_rss_turbo, e.allow_rss_dzen {$user_select}FROM " . PREFIX . "_post p LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id) {$user_join}WHERE p.id = '{$newsid}'";
// ################ Full News #################
if ($subaction != '' OR $newsid) {
if ( !$newsid ) $sql_news = "SELECT p.id, p.autor, p.date, p.short_story, p.full_story, p.xfields, p.title, p.descr, p.keywords, p.category, p.alt_name, p.comm_num, p.allow_comm, p.allow_main, p.approve, p.fixed, p.allow_br, p.symbol, p.tags, p.metatitle, p.dle_serials, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.disable_index, e.related_ids, e.access, e.editdate, e.editor, e.reason, e.user_id, e.disable_search, e.need_pass, e.allow_rss, e.allow_rss_turbo, e.allow_rss_dzen {$user_select}FROM " . PREFIX . "_post p LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id) {$user_join}WHERE alt_name ='{$news_name}' AND date >= '{$year}-{$month}-{$day}' AND date < '{$year}-{$month}-{$day}' + INTERVAL 24 HOUR LIMIT 1";
else $sql_news = "SELECT p.id, p.autor, p.date, p.short_story, p.full_story, p.xfields, p.title, p.descr, p.keywords, p.category, p.alt_name, p.comm_num, p.allow_comm, p.allow_main, p.approve, p.fixed, p.allow_br, p.symbol, p.tags, p.metatitle, p.dle_serials, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.disable_index, e.related_ids, e.access, e.editdate, e.editor, e.reason, e.user_id, e.disable_search, e.need_pass, e.allow_rss, e.allow_rss_turbo, e.allow_rss_dzen {$user_select}FROM " . PREFIX . "_post p LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id) {$user_join}WHERE p.id = '{$newsid}'";