xF1 Add-on - 410 Gone | NulledTeam UnderGround | The Best Scripts Site In The World
Resource icon

xF1 Add-on 410 Gone 1.0.0

No permission to download
Compatible XF Versions 1.x
1.0, 1.1, 1.2, 1.3, 1.4, 1.5
This is a relatively simple add-on that will change the response code of 404 responses to 410 if:
  • The item requested isn't in the database (so a 410 isn't returned for soft-deletes)
  • There is a row in the database with a greater ID than the one requested (so items that have yet to be created don't return 410).
This currently done for the following content:
  • Threads
  • Forums
  • Resources
  • Resource Categories
Adding a new type of content is simple, and add-on authors can add it themselves in their add-ons if they wish.

If you want me to add a type of data, I'll need the following:
  • The controller name
  • The table name
  • The primary key field name (this has to be an integer field)
This add-on is released under the MIT license, so feel free to contribute changes via the GitHub repo.

This add-on will add 2 extra queries to 404 error pages.
First release
Last update
0.00 star(s) 0 ratings

More resources from AnimeHaxor

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock