- Uyumlu XF Sürümleri
- 2.2.X
- 2.3.X
- Türkçe Dil Dosyası
Eklenti, forumu arşiv moduna geçirir ve gereksiz özellikleri misafirlerden gizlemenize olanak tanır.
This addon provides the following functionality:
For example, to allow user_id 5 and 293 to retain login access, add the following line to your
Notes:
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
[B]config.php[/B]
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
[B]config.php[/B]
file:
PHP:
$config['archiveSiteProtectedUsers'] = [5, 293];
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.