1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

xf_ip Log Cron 1.5

Prune xf_ip table via cron

  1. MattW
    Thought I'd have a go at a proper add-on for XF, so this is my first attempt.

    From this thread:
    http://xenforo.com/community/threads/oh-oh-my-xf_ip-table-is-so-big-14-2gb.45448/

    This will install a cron to truncate the xf_ip table on the first day of the month. You can change the cron date/time once installed.

    The current 1.4 version no longer truncates the table, but allows you to specify the number of days worth of entries you want to retain in the xf_ip table. Default value is 180 days worth of data.

    Nice and simple, and does what is says on the tin.

    (y)

    Installation
    1. Download the zip file.
    2. Extract its contents to your hard drive.
    3. Upload the contents of the upload folder to the root of your XenForo installation.
    4. Complete install via the Admin CP using the provided XML file.
    Point to note:
    Once this is installed and running, if you remove entries this table, you will end up with certain IP features returning 0.0.0.0
    truncate.PNG

Recent Reviews

  1. resonansER
    resonansER
    5/5,
    Version: 1.5
    Very useful plug-in for me. Thank YOU!
  2. Dinh Thanh
    Dinh Thanh
    5/5,
    Version: 1.5
    Simple but very useful addon!
  3. Chris D
    Chris D
    5/5,
    Version: 1.1
    Great first add-on MattW. Long may it continue!
    1. MattW
      Author's Response
      Thanks Chris :)
  4. BamBam
    BamBam
    5/5,
    Version: 1.0
    excellent