1
ghettonet
Garbled Date in CBB
  • 2006/5/11 3:01

  • ghettonet

  • Not too shy to talk

  • Posts: 176

  • Since: 2005/12/4


I am having a problem with the "Posted" date in CBB. It is showing up as "T2006day 23:45:33" in the "Recent Posts" block on the front page. It is also showing the "Joined" date as: YAmerica/New_YorkstAmerica/New_Yorkrday 18:27:20. Is this a template or a theme issue? I'm using a 3rd party theme (from turkxoops, it's perfect for RIT). Or am I just screwed? The date everywhere else shows up fine.

2
ghettonet
Re: Garbled Date in CBB
  • 2006/5/12 1:57

  • ghettonet

  • Not too shy to talk

  • Posts: 176

  • Since: 2005/12/4


Yeah...it's still broken. Hate to bump a post, but this shouldn't be doing this. I've been through the theme and through templates, and even through the code itself. I know I'm not the only one with this problem judging by this post on the authors thread: http://xoopsforge.com/modules/newbb/viewtopic.php?topic_id=497&forum=1

I'm sorry to bother everyone, but this is over my head it seems.

3
guinhill
Re: Garbled Date in CBB
  • 2006/12/19 11:14

  • guinhill

  • Just popping in

  • Posts: 17

  • Since: 2006/1/5 2


I encountered the problem to, moved to a new host, with PHP 5

http://xoopsforge.com/modules/newbb/viewtopic.php?post_id=1553#forumpost1553

this post gave me the solution.

$Xoops_root/language/english/global.php
( or your language "mine is dutch" )
find

the e and the o have become reserved chars in PHP, so they need a \ to \e and \o .

define("_TODAY", "\V\a\\n\d\a\a\g G:i:s");
define("_YESTERDAY", "\G\i\s\\t\e\\r\e\\n G:i:s");
define("_MONTHDAY", "j/n/Y G:i:s");
define("_YEARMONTHDAY", "j/n/Y G:i");

So If you see T2006day in your date time of posts ( or T2007day happy new year ) make shure the o gets a \ infront of it.
( added this so others searching might find sollution sooner )

4
showcase17
Re: Garbled Date in CBB
  • 2007/1/13 2:56

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


Thanks! This also works in newbb
- To Explore and Discover -

Login

Who's Online

449 user(s) are online (321 user(s) are browsing Support Forums)


Members: 0


Guests: 449


more...

Donat-O-Meter

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

Latest GitHub Commits