OK, I start with phpMyAdmin, if you don't have a clue what phpMyadmin is or what it can do, stop here. If you do something bad, you can damage your board.With phpMyAdmin open your forum db and click on phpbb_config.
Now you see the structure of that table. At the top you can see a browse button. After click in that you can see all config names and values. You can sort them by clicking on config_name.
Now browse down and if you dont see default_dateformat click on the next button until you find it. In the config_value collum you can see the value of default_dateformat.
Next in /includes/functions.php find:
- Code: Select all
function init_userprefs($userdata)
This function starts, after a bunch of global variables, with this] if ( $userdata['user_id'] != ANONYMOUS ) { if ( !empty($userdata['user_lang'])) { $default_lang = phpbb_ltrim(basename(phpbb_rtrim($userdata['user_lang'])), "'"); } if ( !empty($userdata['user_dateformat']) ) { $board_config['default_dateformat'] = $userdata['user_dateformat']; } if ( isset($userdata['user_timezone']) ) { $board_config['real_board_timezone'] = $board_config['board_timezone']; // copy real timezone for board2usertime $board_config['board_timezone'] = $userdata['user_timezone']; } if ( isset($userdata['user_fdow']) ) { $board_config['board_fdow'] = $userdata['user_fdow']; } } else { $default_lang = phpbb_ltrim(basename(phpbb_rtrim($board_config['default_lang'])), "'"); } [/code]
This will determine what time format is used for every user.