Archive Site

Archive Site 2.0.1

Нет прав на скачивание
Совместимость с XF
  1. 2.2.x
  2. 2.3.x
Краткое описание
Archive your site with ease using this addon. It removes passwords for archived users, hides guest-specific UI elements like new posts button and follows list, and provides meaningful login messages. Setup includes configuring protected users and hiding unnecessary admin settings.
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 comes in (see notes at the bottom of this page for limitations).
This addon provides the following functionality:
  • a UI and CLI tool to remove passwords from users to prevent them logging in and to minimise the risk of credential leakage if your site ever gets hacked (selected users can retain login rights for maintenance and testing purposes)
  • prevents emails from being sent to archived users
  • provides a meaningful message to users if they try to log in, informing them that the site has been archived
  • prevents archived users from resetting their passwords using the forgot password link
  • show a message to users below the title on the home page
  • replace the "you must log in to post" message below content on thread pages with a custom message and optionally a link (eg to a new site)
  • hides UI elements from guests:
    • New posts button on forum home page
    • What's new link in header on mobile devices
    • Followers list on member profile pages
    • Following list on member profile pages
    • Lock symbol on locked threads in thread list
    • Link to latest member from forum statistics widget
    • Gallery BB Code link on media pages
    • Members online widget
Setup instructions
The process to archive users works on all users except the following:
  • super admins
  • any other user_id listed in the $config['archiveSiteProtectedUsers'] setting
Any user you wish to maintain login access for should either be promoted to super-admin status, or add their user_id to the array in your config.php file:

PHP:
// all superadmins are automatically protected
// add the user_id of any additional users who will be permitted to log in to the archived site
$config['archiveSiteProtectedUsers'] = [];
For example, to allow user_id 5 and 293 to retain login access, add the following line to your config.php file:
PHP:
           $config['archiveSiteProtectedUsers'] = [5, 293];
XenForo will not allow you to remove all super admin users, so you will always retain the ability to log in from at least one user account, even if the config option is not set.
Important: if you have any super admin users who you no longer wish to have login rights to your site, be sure to demote them from super admin status.
Once the addon is installed, review the options to set your message on the home page or at the end of content pages (remove the messages from the options to hide them).


Archiving users
After you have configured your super admins and any other protected users and installed the addon, you should visit the Archive Site functions in the User section of the admin UI.
The List Protected Users screen shows all users who will retain login access:
To archive users, use the Archive Users screen, validate your protected and active users, check the confirmation box and click Archive:
To restore access for a users, simply generate a new password for them and add their user_id to the protected users list in the config.php file.
UI elements hidden for guests by this addon:
Notes
:
  • other UI elements can be hidden using admin settings - follow the tutorial for full instructions
  • template modifications are designed to work with the default theme and UI elements might not be hidden correctly on customised themes - some additional work might be required
  • I have not yet implemented any changes for XF Resource Manager - that is on my todo list.
Todo list:
  • look at UI elements for Resource Manager and hide any which don't make sense for guests
  • consider an option to automate the bulk removal of user conversations
  • consider a tool to remove deleted posts made by deleted users (you can't search for the posts because they are "guest" posts, nobody can see them because they are deleted, and it won't affect the overall post count)
  • consider a tool to make bulk changes to user date of birth (personal information) and other profile fields such as location
  • 1720449218284.webp
    1720449218284.webp
    12.7 КБ · Просмотры: 0
  • 1720449228330.webp
    1720449228330.webp
    12.4 КБ · Просмотры: 0
  • 1720449237311.webp
    1720449237311.webp
    15.5 КБ · Просмотры: 0
  • 1720449256576.webp
    1720449256576.webp
    11.2 КБ · Просмотры: 0
  • 1720449273563.webp
    1720449273563.webp
    36.6 КБ · Просмотры: 0
  • 1720449288303.webp
    1720449288303.webp
    13 КБ · Просмотры: 0
  • 1720449298768.webp
    1720449298768.webp
    18.2 КБ · Просмотры: 0
  • 1720449308471.webp
    1720449308471.webp
    17.5 КБ · Просмотры: 0
  • 1720449317030.webp
    1720449317030.webp
    12.7 КБ · Просмотры: 0
  • 1720449326423.webp
    1720449326423.webp
    18 КБ · Просмотры: 0
  • Нравится
Реакции: alghadirshop
Автор
newimage
Просмотры
652
Тип расширения
zip
Размер файла
35.8 КБ
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Ссылка не работает? Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

Последние обновления

  1. 2.0.1 - changelog
    bugfix: make declaration of setToUser compatible with parent in extension of Mail class for both XF v2.2 and v2.3
  2. 2.0.0 - changelog
    This new release includes a major change to the user archiving process. Previously, we simply removed the passwords and removed the ability to...

Больше Ресурсов от newimage

- Klassifizierungssoftware für Joomla! N
Создайте успешный страницу объявления с помощью скрипта DJ-Classifieds объявлений
SalePro - Система управления запасами с POS, HRM, бухгалтерией N
laravel-(php)-базированный систему управления запасами и складом, которая позволяет управлять вашими запасами и товарами и так далее
Просмотры
1,593
Обновлено

Похожие ресурсы

[cXF] Remove Location, Website and About you field A
This add-on removes location and website fields from member profile and account details page.
Просмотры
588
Обновлено
[MDV] Archive Comment A
The addon only works with .zip archives and does not add comments to empty archives for technical re
Просмотры
537
Обновлено
[AndyB] Remove website A
Removes the Website text box from Account details.
Просмотры
325
Обновлено
Назад
Вверх