1
jimbofoxman
CBB Date Problem

Was running 3.07 and was getting dates like...

YAmerica/New_YorkstAmerica/New_Yorkrday

T2007day

So, poking around I found a post about someone updating their frameworks. So I updated to the latest, 1.22? But still got the same date issue. I updated the 3.07 via the Module Admin page, no luck. So I downloaded 3.08 and uploaded it. Still the same issue.

Has anyone had to deal with this issue?

2
iHackCode
Re: CBB Date Problem

in the newbb\language\english\main.php file

does it say
Quote:
define("_MD_TODAY", "\T\o\d\a\y G:i:s");
define("_MD_YESTERDAY", "\Y\e\s\\t\e\\r\d\a\y G:i:s");

*i had to use the quote tag. since the code tag got rid of some of the \


i'm believing it is the php5 date issue. issue being that reserved characters are in the date string.

note. fixed in 3.08 (i believe)
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
jimbofoxman
Re: CBB Date Problem

To me, it looks the same.

Quote:
define("_MD_TODAY", "\T\o\d\a\y G:i:s");
define("_MD_YESTERDAY", "\Y\e\s\\t\e\\r\d\a\y G:i:s");
define("_MD_MONTHDAY", "n/j G:i:s");
define("_MD_YEARMONTHDAY", "Y/n/j G:i");

4
iHackCode
Re: CBB Date Problem

k, that looks correct. i'm not sure what is wrong then.

have you ran the checksum.modules-newbb.php file to check the files? and can you also run the one for frameworks. just to make sure.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

5
jimbofoxman
Re: CBB Date Problem

Frameworks CheckSum.....

le="color: #000000"><?php There are 293 files checked. Please remove the file ./checksum.Frameworks.md5 and checksum.frameworks.php as soon as possible.


There's a checksum module for NewBB? I download the 3.08 twice now and don't see it. Am I blind, or am I missing something?

I wonder...

If the issue is because of this change by my provider?

le="color: #000000"><?php Following the PHP 4 end-of-life announcement made by the PHP development team, we are switching the default PHP interpreter on our servers from PHP 4 to PHP 5. On Dec 05, 2007, the change will come into effect for the following servers: server309-server345 s400-s423 Please make sure your PHP scripts are able to run properly under the PHP 5 interpreter. An alternative is to set PHP 4 as the default PHP interpreter via the use of .htaccess. Instructions on how to set the default PHP interpreter can be found here: https://www2.suresupport.com/faq/14/98/ Please, have in mind that the support for PHP 4 may be dropped completely after the end of 2007. If you have any questions or if you need any assistance, please contact us at our support site: http://www.suresupport.com/ Best Regards, SureSupport Team

6
iHackCode
Re: CBB Date Problem

sry i forgot 3.08 didnt have that.

check the \Frameworks\compat\language\english\local.php file.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

7
jimbofoxman
Re: CBB Date Problem

I re-uploaded that particular file just in case, but still the same. So I opened it up and looked for the same lines we looked at earlier. Other than not having the MD in there, it's the same.

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

8
iHackCode
Re: CBB Date Problem

the only other thing i can think of is that it is already being declared by another module or script.

are you using XOOPS 2.0x or 2.2x?


.. http://xoopsforge.com/modules/newbb/viewtopic.php?post_id=514#forumpost514
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

9
jimbofoxman
Re: CBB Date Problem

Ah Ha! Thanks for that other link! It was in the language\english\global.php file. There were a couple \'s missing. Fixed that and it's all set now.

Yes, I am using 2.2x

Thanks a bunch for sticken with me on that. Great!

10
allein
Re: CBB Date Problem
  • 2007/12/17 9:03

  • allein

  • Just popping in

  • Posts: 15

  • Since: 2006/12/13


On a similar note, I too have a question about the date in CBB.

Please look at the picture and tell me where and how I can change the display of the publish date and the date of the last post (captured in black and red squares)

[img=http://img177.imageshack.us/img177/6558/forumsadaji8.th.jpg]

I've spent an hour now trying to find the settings for these, but was unable. It would be great if smn here knows where I can tweak the look of these dates; I am trying to get smth like Y/M/D ie. 2007/11/5 16:14; like they have on this forum, coincidentally :)

I am using XOOPS 2.0.16 and CBB v. 3.08.
Thanx in advance.

Login

Donat-O-Meter

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

Latest GitHub Commits