diff --git a/htconfig.php b/htconfig.php index 89c226e9b4..4698e9a94b 100755 --- a/htconfig.php +++ b/htconfig.php @@ -69,3 +69,6 @@ $a->config['system']['rino_encrypt'] = true; $a->config['system']['theme'] = 'duepuntozero'; +// By default allow pseudonyms + +$a->config['system']['no_regfullname'] = true; diff --git a/update.php b/update.php index aac306a720..166602fb9c 100755 --- a/update.php +++ b/update.php @@ -992,6 +992,8 @@ INDEX ( `stat` ) } function update_1115() { - q("ALTER TABLE `item` ADD `moderated` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `pubmail`, + q("ALTER TABLE `item` ADD `moderated` + TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `pubmail`, ADD INDEX (`moderated`) "); -} \ No newline at end of file +} + diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index c535cefa68..3eb2da0704 100755 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -66,3 +66,6 @@ $a->config['system']['rino_encrypt'] = true; $a->config['system']['theme'] = 'duepuntozero'; +// By default allow pseudonyms + +$a->config['system']['no_regfullname'] = true;