From 2488e77e86edc3bb2b24377b25e8439f35cc2343 Mon Sep 17 00:00:00 2001 From: Jano Slota Date: Sat, 5 Jul 2014 02:11:31 +0200 Subject: Second rework of the GeoIP code, now supporting cities! --- inc/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index 1dbec895..38b69aa2 100644 --- a/inc/config.php +++ b/inc/config.php @@ -776,10 +776,11 @@ // The default name (e.g. Anonymous). Can be an array - in that case it's picked randomly from the array. // Example: $config['anonymous'] = array('Bernd', 'Senpai', 'Jonne', 'ChanPro'); $config['anonymous'] = 'Anonymous'; - // Pick the default name based on the poster's country. Can contain subarrays and is picked randomly from the them. + // Pick the default name based on the poster's country or city. Can contain subarrays and is picked randomly from them. // If the user posts from a country you have not set a name for, his name is going to be whatever you set in $config['anonymous']. // Example 1: $config['country_anonymous'] = array('cz' => 'Pepik', 'pl' => 'Karol Wojtyla', 'de' => 'Bernd', 'fi' => 'Jonne'); // Example 2: $config['country_anonymous'] = array('cz' => array('Pepik', 'Bohus', 'Lada'), 'pl' => array('Karol Wojtyla', 'Demon Pedofyl'); + // Example 3: $config['country_anonymous'] = array('cz' => array('Prague' => 'Pepik', 'Ostrava' => array('Bohus', 'Lada')), 'pl' => array('Karol Wojtyla', 'Demon Pedofyl')); $config['country_anonymous'] = false; // Number of reports you can create at once. -- cgit v1.3