4en3rgY Romania
[Tutorial] JoinDate 2z8bv910
Welcome To 4EN3RGY Romania
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

4en3rgY Romania


Nu sunteti conectat. Conectați-vă sau înregistrați-vă

[Tutorial] JoinDate

Vezi subiectul anterior Vezi subiectul urmator In jos  Mesaj [Pagina 1 din 1]

1[Tutorial] JoinDate Empty [Tutorial] JoinDate Vin 03 Feb 2012, 17:15

KiddOx <3.

KiddOx <3.Membru

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',

Vezi subiectul anterior Vezi subiectul urmator Sus  Mesaj [Pagina 1 din 1]

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum

 

Copyright @ 2010-2024 by 4en3rgY ~> All rights reserved.