From 4efaf50c90fa4d7214f3d90bb7f3e5e8f004a4e1 Mon Sep 17 00:00:00 2001 From: Thalis Date: Sun, 23 Jul 2017 17:49:01 +0200 Subject: [PATCH 1/2] Board search content implementation you can search boards with this mod. --- templates/index.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/index.html b/templates/index.html index 1be614e3..e18279eb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -57,6 +57,17 @@ {% if config.global_message %}
{{ config.global_message }}
{% endif %}
+ + {% if config.board_search %} +
+

+ + + +

+
+ {% endif %} +
{% if mod %}{% endif %} From fe495fed642253117184f2e5bbffe487f2b5e1b4 Mon Sep 17 00:00:00 2001 From: Thalis Date: Sun, 23 Jul 2017 17:50:54 +0200 Subject: [PATCH 2/2] Update config.php --- inc/config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/config.php b/inc/config.php index db424e36..c206e167 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1641,6 +1641,9 @@ // Enable the search form $config['search']['enable'] = false; + // Enable search in the board index. + $config['board_search'] = false; + // Maximal number of queries per IP address per minutes $config['search']['queries_per_minutes'] = Array(15, 2);