1
delavirtue
CBB date display
  • 2005/9/18 0:05

  • delavirtue

  • Just popping in

  • Posts: 4

  • Since: 2005/9/13


hello, n00b here,

after installing CBB the date and time did not displayed correctly. it shows _2005EthMYTERSatPM2005 instead of desired one. pls help.

topic_time => _Jul+0800NMYT00FriAM2005
topic_last_posttime => _Jul+0800NMYT00FriAM2005

...

2
stelian
Re: CBB date display
  • 2006/1/27 0:56

  • stelian

  • Just popping in

  • Posts: 87

  • Since: 2005/12/17


i have the same problem, but only when i switch to romanian language. I used newbb and update it to cbb. Can someone help us? please

3
incama
Re: CBB date display
  • 2006/1/27 11:37

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


Same problem here.

Using XOOPS 2.2.4 and cbb 2.3.2. I have copied the english language and renamed it Nederlands(dutch), because the rest of my site is dutch and is using dutch language files.

I have looked in the included functions.php and seem to find the file causing the problem, but I'm not a programmer. So, if any one has an idea?
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

4
svaha
Re: CBB date display
  • 2006/1/27 12:00

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I had the same problem on my testsite (english/dutch) The problem dissappeared after I installed xlanguage, now I have xlanguage and ml hack from marcan

edit : I have on my testsite XOOPS 2.2.4 and cb 2.32
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

5
incama
Re: Re: CBB date display
  • 2006/1/29 10:15

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


After digging some more, I have noticed the dutch global.php is not complete. I first have adjusted the Iso char set from
define('_CHARSET', 'ISO-8859-15');
to
define('_CHARSET', 'ISO-8859-1');.

Second, I have added the following lines:
define("_TODAY""Va\ndaag G:i:s");
define("_YESTERDAY""Yes\te\rday G:i:s");
define("_MONTHDAY""j-m G:i:s");
define("_YEARMONTHDAY""j-m-Y G:i");


Just have to wait till tomorrow so I can adjust the yesterday definition.
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

6
phppp
Re: Re: Re: CBB date display
  • 2006/1/29 13:25

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

incama wrote:

Second, I have added the following lines:

define("_TODAY", "\V\a\\n\d\a\a\g G:i:s");
...


Yes, that's the problem

7
incama
Re: Re: CBB date display
  • 2006/1/30 5:37

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


To finallize this thread the 'yesterday' definition
define("_YESTERDAY""Gis\te\re\n G:i:s");
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

Login

Who's Online

113 user(s) are online (49 user(s) are browsing Support Forums)


Members: 0


Guests: 113


more...

Donat-O-Meter

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

Latest GitHub Commits