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:

    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.


    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

Recent Reviews

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