PhotoPost 8.0 URL Redirect Script

PhotoPost 8.0 URL Redirect Script 1

Нет прав на скачивание
Совместимость с XF
  1. 2.2.x
Краткое описание
Install photopost_redirect.php in XF root to redirect PhotoPost requests to XFMG, simplifying photo handling and navigation. Add .htaccess rules for seamless integration.
Simple redirect script that catches any requests to sendphoto.php or directly to your old PhotoPost data folder and redirects to the new XFMG location.

showphoto.php redirects will go to the media overview page, direct data folder links it will go to the full image or thumbnail.

Installing

Put the attached photopost_redirect.php file in your XF root, then add the following entries to your .htaccess file above the "# Here is the Xenforo stuff" part (changing the data file path accordingly, mine was in the /gallery folder)

Code:
# Rewrite PhotoPost URLs
RewriteCond %{QUERY_STRING} photo=(\d+)
RewriteRule ^gallery/showphoto.php photopost_redirect.php?s=detail&id=%1 [NC,L]
RewriteRule ^gallery/data/(\d+)/((medium|thumbs|mini)/)?([a-z0-9\-_\.]+) photopost_redirect.php?c=$1&s=$3&f=$4 [NC,L]

And that's it
Автор
axtona
Просмотры
576
Тип расширения
zip
Размер файла
861 байт
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Ссылка не работает? Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

Больше Ресурсов от axtona

 Thread Rating A
Плагин рейтинга тем добавляет чистый и понятный систему звезд рейтинга к темам в XenForo
Просмотры
3
Обновлено
 Aktieverketter A
Manager Asset дает администраторам XenForo видимый и организованный способ управлять изображениями
Просмотры
25
Обновлено
 Админская зона логов спамина Логи A
Простой модуль, который позволяет просматривать логи Spaminator из админ панели
Просмотры
254
Обновлено

Похожие ресурсы

Redirection Scripts for Invision IP Forums and Gallery A
All that is required is that you unzip these files and place them in the directory in which your IPB
Просмотры
502
Обновлено
Назад
Вверх