From fa26f6e88f2124e57c6777e2361980b775f23e80 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Mon, 14 Oct 2024 23:11:47 +0200 Subject: [PATCH] config.php: update configuration documentation for ip_recentposts --- inc/config.php | 2 +- mod.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 20eaf03d..b12227c0 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1496,7 +1496,7 @@ // Do DNS lookups on IP addresses to get their hostname for the moderator IP pages (?/IP/x.x.x.x). $config['mod']['dns_lookup'] = true; - // How many recent posts, per board, to show in ?/IP/x.x.x.x. + // How many recent posts, per board, to show in each page of ?/IP/x.x.x.x. $config['mod']['ip_recentposts'] = 5; // Number of posts to display on the reports page. diff --git a/mod.php b/mod.php index c153b383..0851dfc6 100644 --- a/mod.php +++ b/mod.php @@ -65,6 +65,7 @@ $pages = array( '/reports/(\d+)/dismiss(all)?' => 'secure report_dismiss', // dismiss a report '/IP/([\w.:]+)' => 'secure_POST ip', // view ip address + '/IP/([\w.:]+)/cursor/([\w|-|_|.]+)' => 'secure_POST ip', // view ip address '/IP/([\w.:]+)/remove_note/(\d+)' => 'secure ip_remove_note', // remove note from ip address '/ban' => 'secure_POST ban', // new ban