• 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

No permission to download
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
Author
MattW
Downloads
79
First release
Last update
Rating
5.00 star(s) 4 ratings

More resources from MattW

Latest updates

  1. Adds new option to keep Registration entries in the log

    New option added to allow you to keep the registration IP in the log Tested on 60 day limit...
  2. Reworked to allow option to keep number of days worth of entries

    This add-on no longer truncates the whole table, but allows you to specify the number of days...
  3. xf_ip Table Details Added

    This update adds an extra menu in ACP --> Tools that shows the current usage of the xf_ip table

Latest reviews

Very useful plug-in for me. Thank YOU!
Simple but very useful addon!
Great first add-on MattW. Long may it continue!
MattW
MattW
Thanks Chris :)
excellent