Skip to content

Commit

Permalink
We won't implement $filter_topic.
Browse files Browse the repository at this point in the history
Perhaps, if somebody asks for that.
  • Loading branch information
automaciej committed Dec 3, 2016
1 parent 0e14749 commit f88453f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# TODO

1. Make $filter_topic usable
1. Usability: When pressing "Back" on the topic page, we go back to the top of
the list of topics, losing the position where we were.
6 changes: 3 additions & 3 deletions config.php-example
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ $db_pass = 'phpbb';
$db_name = 'phpbb';
$db_prefix = 'phpbb3_';

// Do not archive these forums and/or topics. The typical use case is if you
// have a private/hidden forum.
// Do not archive these forums. The typical use case is if you have a
// private/hidden forum. This script doesn't understand or process phpBB
// permissions system, you have to do it manually here.
$filter_forum = array();
$filter_topic = array();

$template_dir = 'templates/';
$target_dir = 'static/';
Expand Down
4 changes: 2 additions & 2 deletions convert.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function generate_topics() {
function generate_forums() {
global $db;
global $forums, $topics;
global $filter_forum, $filter_topic;
global $filter_forum;
global $db_prefix;
global $forum_name, $forum_description;

Expand Down Expand Up @@ -216,7 +216,7 @@ function generate_forums() {
function generate_main() {
global $db;
global $categories, $forums, $forums_tree;
global $filter_forum, $filter_topic;
global $filter_forum;
global $db_prefix;
global $forum_name, $forum_description;
global $phpbb_version;
Expand Down

0 comments on commit f88453f

Please sign in to comment.