Hotlink Converter

Hotlink Converter 1.0.0

Нет прав на скачивание
Совместимость с XF
  1. 2.3.x
Краткое описание
an admin tool that batch-converts externally hotlinked images in XFRM resource descriptions
Hotlink Converter is an admin tool that batch-converts externally hotlinked images in XFRM resource descriptions into locally-stored XenForo attachments. It scans
Код:
[IMG]https://external.com/pic.jpg[/IMG]
BB code tags, downloads the images, creates proper XF attachments, and replaces the BB code with .

Built as a one-time migration tool for forums with legacy resource content that hotlinks images from external hosts that may go offline at any time.



  • Admin Dashboard - Shows how many resource updates contain hotlinked images, conversion statistics (converted/failed/skipped/pending), and action buttons.
  • Dry Run Mode - Preview what will be converted without downloading anything. Results appear in the conversion log as "pending" entries.
  • Live Conversion - Downloads external images, creates XF attachments, and replaces tags with
    [/CODE]
    The image is now stored locally as a proper XF attachment, associated with the resource update. It will survive even if the external host goes offline.


    • Architecture: Service + Job + Repository pattern. One database table (xf_qubn_hlc_conversion_log) for audit logging.
    • Downloads: Uses XF's built-in getUntrusted() HTTP reader with SSRF protection. 15-second timeout, 10MB file size limit per image.
    • Supported formats: JPG, JPEG, PNG, GIF, WebP, BMP
    • Attachment creation: Uses XF's native PreparerService - same API as manual uploads. Properly updates attach_count on the resource update.
    • Job processing: Cursor-based resumable job. Processes 50 resource updates per batch with time-limit checks. Can be cancelled from the AdminCP job queue.
    • Compatibility: Requires XenForo 2.3.0+ and XF Resource Manager 2.3.0+
    • Code Quality: PHPStan level 3 clean. No class extensions - completely self-contained.


    1. Download and extract the ZIP file
    2. Upload the Qubn/HotlinkConverter/ folder to src/addons/
    3. Go to AdminCP > Add-ons > Install from archive (or Install/upgrade)
    4. Navigate to AdminCP > Tools > Hotlink Converter
  • 01-dashboard-clean.webp
    01-dashboard-clean.webp
    43.2 КБ · Просмотры: 0
  • 02-dashboard-after-dryrun.webp
    02-dashboard-after-dryrun.webp
    43.3 КБ · Просмотры: 0
  • 03-log-dryrun-entries.webp
    03-log-dryrun-entries.webp
    48.8 КБ · Просмотры: 0
  • 04-log-filtered-pending.webp
    04-log-filtered-pending.webp
    43.9 КБ · Просмотры: 0
  • 05-confirmation-overlay.webp
    05-confirmation-overlay.webp
    26.6 КБ · Просмотры: 0
  • 06-dashboard-after-conversion.webp
    06-dashboard-after-conversion.webp
    43.8 КБ · Просмотры: 0
  • 07-log-all-statuses.webp
    07-log-all-statuses.webp
    48.4 КБ · Просмотры: 0
  • 08-navigation-sidebar.webp
    08-navigation-sidebar.webp
    15.7 КБ · Просмотры: 0
Автор
axtona
Просмотры
26
Тип расширения
zip
Размер файла
22.1 КБ
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Link was Broken? Please Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

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

Brazilian Language [PT-BR] A
Like the other available Brazilian Portuguese translation
Просмотры
15
Обновлено
SEO Audit A
SEO Audit 1.1.0
A comprehensive SEO auditing dashboard for XenForo administrators.
Просмотры
32
Обновлено
XenForo Медиа Галерея / XFMG A
Галерея Media XenForo является официальным расширением XenForo, которое позволяет добавить галерею на ваш XF2
Просмотры
572
Обновлено

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

[OGRU] DataTables BB Code converter A
This resource can convert old [TH] DataTables BB Code to native XenForo 2.x tables.
Просмотры
387
Обновлено
Вверх