1. Приветствуем Вас на неофициальном форуме технической поддержки XenForo на русском языке. XenForo - коммерческий форумный движок от бывших создателей vBulletin, написанный на PHP.

1.1.x CloudFlare Detect by Solid Mean Technology

Тема в разделе "Плагины для XenForo [1.x]", создана пользователем nevskiy, 22.04.2013.

Загрузка
  1. nevskiy

    nevskiy Местный

    Регистрация:
    27.10.11
    Сообщения:
    30
    Симпатии:
    4
    CloudFlare Detect by Solid Mean Technology

    Тема на оф. сайте:
    HTML:
    http://xenforo.com/community/resources/cloudflare-detect-by-solid-mean-technology.1595/
    Автор: SneakyDave
    Версия плагина: 1.0.1
    Описание: This add-on, when enabled, will check to see if your site is being served by the CloudFlare system. If it is, it will check to see if the visitors's IP address matches one on CloudFlare's network. If it matches, the user's REMOTE_ADDR is set to the originating IP address (HTTP_CF_CONNECTING_IP).

    This is a port of CloudFlare's Wordpress add-on that reassigns a visitor's Cloudflare based IP address to their "true" IP address.

    You may choose to use this add-on if:
    1. Your host will not, or cannot, install a CloudFlare compatible add-on for your web server (i.e. HttpRealipModule for Nginx or mod_cloudflare for Apache).
    2. You don't want to add code suggested by CloudFlare to your config.php or index.php file to try to determine a user's originating/true IP address.
    This add-on supports both IPv4 and IPv6 addresses.

    This add-on will be updated with the current list of CloudFlare based IP's on a routine basis. Users who download this add-on can also manually update these IP addresses themselves in the administration options.

    This add-on includes a third party function named "ip_in_range" that is packaged with the CloudFlare WordPress add-on, provided by Paul Gregg, located at http://www.pgregg.com/projects/php/ip_in_range/

    If you have changed your config.php or index.php file to reassign HTTP_CF_CONECTING_IP to a visitor's IP address, that code can be removed after installing this add-on.


    solidmean_cloudflare_detect.png

    Установка:
    1. Залить файлы из папки Upload.
    2. Инсталлировать add-onSolidMean_CloudflareDetect.xml
    3. Перейдите в "Cloudflare Detect" в панели управления, и установите флажок "Включить CloudFlare"
     

    Вложения:

  2. infis

    infis Местный

    Регистрация:
    27.06.11
    Сообщения:
    5 966
    Симпатии:
    3 548
    Версия XF:
    1.5.9
    Держите, в первом сообщении.
     
    nevskiy нравится это.
  3. nevskiy

    nevskiy Местный

    Регистрация:
    27.10.11
    Сообщения:
    30
    Симпатии:
    4
    Спасибо за оперативность!
     

Поделиться этой страницей