Autor: idiotnesia
Din phpmyadmin selectam baza de date ,selectam tab-ul SQL copy/paste la cod-ul SQL si RUN.
Cod:
INSERT INTO phpbb_config (config_name, config_value) VALUES
('joined_dateformat', '|F Y|');
Deschidem viewtopic.php si inlocuim urmatorul cod.
Cod:
joined' => $user->format_date($row['user_regdate']),
cu
Cod:
'joined' => $user->format_date($row['user_regdate'], $config['joined_dateformat']),
Deschidem includes/acp/acp_board.php si dupa urmatorul cod adaugam.
Cod:
'default_dateformat' => array('lang' => 'DEFAULT_DATE_FORMAT', 'validate' => 'string', 'type' => 'custom', 'method' => 'dateformat_select', 'explain' => true),
adaugam
Cod:
'joined_dateformat' => array('lang' => 'JOINED_DATE_FORMAT', 'validate' => 'string', 'type' => 'custom', 'method' => 'dateformat_select', 'explain' => true),
Deschidem language/en/common.php si inainte de urmatorul cod adaugam.
Citat:
'd M Y, H:i' => '01 Jan 2007, 13:37',
adaugam
Cod:
'M Y' => 'Jan 2008',
'F Y' => 'January 2008',
'd M Y' => '1 Jan 2008',
'd F Y' => '1 January 2008',
cautam iar:
Cod:
'|d M Y|, H:i' => 'Today, 13:37 / 01 Jan 2007, 13:37',
Si inainte de el adaugam:
Cod:
'|M Y|' => 'Today / Jan 2008',
'|F Y|' => 'Today / January 2008',
'|d M Y|' => 'Today / 1 Jan 2008',
'|d F Y|' => 'Today / 1 January 2008',
Deschidem language/en/acp/board.php cautam linia aceasta.
Cod:
'DISABLE_BOARD_EXPLAIN' => 'This will make the board unavailable to users. You can also enter a short (255 character) message to display if you wish.',
Si inainte dupa ea adaugam:
Cod:
'JOINED_DATE_FORMAT' => 'Joined Date format',
'JOINED_DATE_FORMAT_EXPLAIN' => 'Leave blank if you like to use the user/default date format',
Din phpmyadmin selectam baza de date ,selectam tab-ul SQL copy/paste la cod-ul SQL si RUN.
Cod:
INSERT INTO phpbb_config (config_name, config_value) VALUES
('joined_dateformat', '|F Y|');
Deschidem viewtopic.php si inlocuim urmatorul cod.
Cod:
joined' => $user->format_date($row['user_regdate']),
cu
Cod:
'joined' => $user->format_date($row['user_regdate'], $config['joined_dateformat']),
Deschidem includes/acp/acp_board.php si dupa urmatorul cod adaugam.
Cod:
'default_dateformat' => array('lang' => 'DEFAULT_DATE_FORMAT', 'validate' => 'string', 'type' => 'custom', 'method' => 'dateformat_select', 'explain' => true),
adaugam
Cod:
'joined_dateformat' => array('lang' => 'JOINED_DATE_FORMAT', 'validate' => 'string', 'type' => 'custom', 'method' => 'dateformat_select', 'explain' => true),
Deschidem language/en/common.php si inainte de urmatorul cod adaugam.
Citat:
'd M Y, H:i' => '01 Jan 2007, 13:37',
adaugam
Cod:
'M Y' => 'Jan 2008',
'F Y' => 'January 2008',
'd M Y' => '1 Jan 2008',
'd F Y' => '1 January 2008',
cautam iar:
Cod:
'|d M Y|, H:i' => 'Today, 13:37 / 01 Jan 2007, 13:37',
Si inainte de el adaugam:
Cod:
'|M Y|' => 'Today / Jan 2008',
'|F Y|' => 'Today / January 2008',
'|d M Y|' => 'Today / 1 Jan 2008',
'|d F Y|' => 'Today / 1 January 2008',
Deschidem language/en/acp/board.php cautam linia aceasta.
Cod:
'DISABLE_BOARD_EXPLAIN' => 'This will make the board unavailable to users. You can also enter a short (255 character) message to display if you wish.',
Si inainte dupa ea adaugam:
Cod:
'JOINED_DATE_FORMAT' => 'Joined Date format',
'JOINED_DATE_FORMAT_EXPLAIN' => 'Leave blank if you like to use the user/default date format',