Archive Site

Archive Site 2.2.3

No permission to download

Sim

Well-known member
Licensed customer
Sim submitted a new resource:

Archive Site - Put a site into archive mode and hide unnecessary features from guests

For a site that is no longer accepting new content, you might want to put it into "read only" mode, keeping the content available online for users but preventing users from logging in or posting new content.

You will also want to optimise the site to remove unnecessarily functionality for guests and to improve performance.

There are quite a few configuration changes you can make using the admin UI alone, but there are some elements you will need help to change - which is where this addon...

Read more about this resource...
 
I like the idea to remove unnecessarily functionality for guests and to improve performance. However I can't afford to archive my entire forum. What would be really cool is ability to archive old threads and improve their performance for guests. Is it possible?
 
What would be really cool is ability to archive old threads and improve their performance for guests. Is it possible?

This addon won't do that.

Archiving old threads won't really achieve anything if the rest of the site is still active. The thread content still gets served out of the database in exactly the same way, and if users can still log in and create new content, then nothing actually changes.

I don't think you'll achieve anything by partially archiving the site.

You may want to look into Guest page caching to try and improve performance for guests: https://xenforo.com/xf2-docs/manual/cache/#guest-page-caching ... although there are some gotchas which require care when configuring it.

This addon is specifically for cases where the site is no longer accepting new content and wants to prevent users from logging in.

I expect there to be very few people who might want to make use of this addon - I built it mostly for my own use. If anyone else gets value out of it, that's a bonus.
 
This addon won't do that.

I understand. that was more like a suggestion for another one. )

Archiving old threads won't really achieve anything if the rest of the site is still active. The thread content still gets served out of the database in exactly the same way, and if users can still log in and create new content, then nothing actually changes.

I mean no login/subscribe/reply/etc features and related js/css for archived threads. That should improve page speed.
 
This addon should work with XF 2.2b1 - I have not yet done full testing on it, but my code walk through shows nothing that should be of concern.
 
I just want to say thanks for this addon, I run it often on development versions of my main sites.
 
  • Like
Reactions: Sim
Sim updated Archive Site with a new update entry:

major upgrade to user archiving; XF 2.3 support

This new release includes a major change to the user archiving process.

Previously, we simply removed the passwords and removed the ability to set a new password, but didn't fully disable archived users. This was so they still showed up in member lists and didn't affect the member counts and so on.

Now, we do fully disable all archived users to prevent all forms of login or emails, etc - and we have modified the user lists so archived user still show. We use a table to store the previous...

Read the rest of this update entry...
 
Thanks for this addon. I'm thinking of using this, but i was looking for a more static solution so it would be low cost to run the site archived. Would it be possible to generate html pages from all guest accessible pages (would also simplify security issues, because I wont have to patch the software anymore)?
 
Thanks for this addon. I'm thinking of using this, but i was looking for a more static solution so it would be low cost to run the site archived. Would it be possible to generate html pages from all guest accessible pages (would also simplify security issues, because I wont have to patch the software anymore)?
wget it
 
  • Like
Reactions: Sim
Thanks for this addon. I'm thinking of using this, but i was looking for a more static solution so it would be low cost to run the site archived. Would it be possible to generate html pages from all guest accessible pages (would also simplify security issues, because I wont have to patch the software anymore)?

Sorry, no - that is well beyond the scope of this addon.

Your best bet is to point your favourite AI at your site and ask it to generate a HTML version of it for archival purposes.
 
Sim updated Archive Site with a new update entry:

v2.0.2 - bugfixes

2.0.2 (2026-09-22)​

  • security - a failed login by a member who still has a password now counts towards XenForo's brute-force limit, and they are told the password is incorrect; previously they were told the site was archived and the attempt was not counted. Only an archived account is now told the site is archived
  • now requires XenForo 2.2.0 or higher
  • bug fix - two template modifications had stopped applying on XenForo 2.3, which let guests see the What's...

Read the rest of this update entry...
 
Sim updated Archive Site with a new update entry:

v2.2.1 - lots of bugfixes including fixes to avoid clashes with other addons

2.2.1 (2026-10-10)​

  • bug fix - on XenForo 2.2, archive:archive-user and archive:restore-user archived or restored the account and then failed while printing their final message, and the other two commands failed the same way when a confirmation was declined. XenForo 2.3 was unaffected
  • archive:validate now reports how far the archiving has got, which it previously printed as a plain count. An account that is neither...

Read the rest of this update entry...
 
Sim updated Archive Site with a new update entry:

v2.2.2 - better warning about deprecated settings

2.2.2 (2026-10-10)​

  • archive:validate now warns when $config['archiveSite']['protectedUsers'] names fewer accounts than the deprecated $config['archiveSiteProtectedUsers'] it replaced, listing the ids that are no longer protected. Nothing else reports this: every super administrator stays protected either way, so no count reaches zero and an archive run proceeds
  • archive:config now says whether the...

Read the rest of this update entry...
 
Sim updated Archive Site with a new update entry:

v2.2.3 - some additional cleanup options

2.2.3 (2026-10-12)​

  • archiving an account now removes its passkeys, its two-step verification and its trusted devices, along with the password and the "stay logged in" records it already removed. An archived site keeps nothing that could log in to it. Restoring an account does not put them back - the owner sets two-step up again, as they do their password
  • a member who logged in with a passkey was refused access to an archived site, but saw XenForo's generic...

Read the rest of this update entry...
 
Back
Top Bottom