Adds delete by IP excluded IP array, and config to exclude threads from delete by IP #71

Open
nonmakina wants to merge 1125 commits from block_mass_delete_threads into config
Collaborator

Before deploying, this needs to be added to inc/instance-config.php:


//  Exclude these IPs from "delete by IP", meaning clicking D+ or D++ won't affect these IPs.
$config['deletebyip_excluded_ips'] = array("127.0.0.1", "127.0.0.2");

// If true, D+ and D++ won't affect threads. This means threads will need to  be deleted manually (using D).
$config['deletebyip_exclude_threads'] = true;

In this section:


/*
 * Permissions
 */
//  Exclude these IPs from "delete by IP", meaning clicking D+ or D++ won't affect these IPs.
$config['deletebyip_excluded_ips'] = array("127.0.0.1", "127.0.0.2");

// If true, D+ and D++ won't affect threads. This means threads will need to  be deleted manually (using D).
$config['deletebyip_exclude_threads'] = true;

$config['mod']['move'] = MOD;
$config['mod']['editpost'] = MOD;
// Raw HTML posting
Before deploying, this needs to be added to `inc/instance-config.php`: ``` // Exclude these IPs from "delete by IP", meaning clicking D+ or D++ won't affect these IPs. $config['deletebyip_excluded_ips'] = array("127.0.0.1", "127.0.0.2"); // If true, D+ and D++ won't affect threads. This means threads will need to be deleted manually (using D). $config['deletebyip_exclude_threads'] = true; ``` In this section: ``` /* * Permissions */ // Exclude these IPs from "delete by IP", meaning clicking D+ or D++ won't affect these IPs. $config['deletebyip_excluded_ips'] = array("127.0.0.1", "127.0.0.2"); // If true, D+ and D++ won't affect threads. This means threads will need to be deleted manually (using D). $config['deletebyip_exclude_threads'] = true; $config['mod']['move'] = MOD; $config['mod']['editpost'] = MOD; // Raw HTML posting ```
nonmakina added 1 commit 2 years ago
nonmakina added 1 commit 2 years ago
This pull request has changes conflicting with the target branch.
banned.php
banners.php
composer.json
composer.lock
docker-compose.yml
.gitignore
.gitmodules
404.html
README.md
captcha.php
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.