1
psaxtiri
Date problem at newbb forum 3.01.
  • 2007/7/30 23:29

  • psaxtiri

  • Not too shy to talk

  • Posts: 185

  • Since: 2007/6/17


I run XOOPS 2.0.16 and when someone (or even me admin)submits a topic, the date of post appears like this _JulWed_Jul-0700NPDT08WedAM2007.

Have you ever have the same problem? what can i do to solve it?
Greece.
Xoops 2.0.18.12

2
vPASP
Re: Date problem at newbb forum 3.01.
  • 2007/10/7 17:46

  • vPASP

  • Just popping in

  • Posts: 12

  • Since: 2007/6/16


Hi my friend. I' m greek too, and I have the same problem...

Although, I didn't solve it, i saw that when i change the site language to english, the problem did not existed(although all the letters appeared very strange, bacause of the utf language format..).

I try to find the solution and I saw that some users have this problem, but I can't find them because there is not any search keyword effective to find these topics.
If anyone solved that, please tell us!

3
alfred
Re: Date problem at newbb forum 3.01.
  • 2007/10/7 17:57

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


add your
<XOOPS_ROOT>/language/<Your_Language>/global.php
the follow lines:

define("_DATESTRING","Y/n/j G:i:s");
define("_MEDIUMDATESTRING","Y/n/j G:i");
define("_SHORTDATESTRING","Y/n/j");
// !!IMPORTANT!! insert '' before any char among reserved chars: "a", "A","B","c","d","D","F","g","G","h","H","i","I","j","l","L","m","M","n","O","r","s","S","t","T","U","w","W","Y","y","z","Z"    
// insert double '' before 't', 'r', 'n'
define("_TODAY""Today G:i:s");
define("_YESTERDAY""Yes\te\rday G:i:s");
define("_MONTHDAY""n/j G:i:s");
define("_YEARMONTHDAY""Y/n/j G:i");


Alfred

4
AndyM
Re: Date problem at newbb forum 3.01.
  • 2007/10/7 17:58

  • AndyM

  • Quite a regular

  • Posts: 296

  • Since: 2003/8/31


The latest version of CBB (formerly newbb) is something like 3.08, so I'd suggest you update as the problem may already have been fixed...

5
vPASP
Re: Date problem at newbb forum 3.01.
  • 2007/10/8 14:20

  • vPASP

  • Just popping in

  • Posts: 12

  • Since: 2007/6/16


Well, with the help of the greek XOOPS community, the problem is solved.

you shall edit the main.php file at //xoops folder/modules/newbb/language/greek/

add the following lines:

define("_MD_TODAY", "\Σ\ή\μ\ε\ρ\α G:i:s");
define("_MD_YESTERDAY", "\Χ\θ\ε\ς G:i:s");
define("_MD_MONTHDAY", "j/n G:i:s");
define("_MD_YEARMONTHDAY", "d/M/Y G:i");

(it says "\s\h\m\e\r\a G:i:s" (meaning \t\o\d\a\y\, xthes....)
......

PS. I can understand the way the search machine works. I've searched with the keywords date problem, and it returned many other things. It does not sort the results by "how close they are of the keywords", it does not rate the results at all i think..

Login

Who's Online

182 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits