FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 



PHP-Nuke - Time not being displayed in news articles?

 
Post new topic   Reply to topic    [TweakNews.net Forum] Forum Index -> PHP ,ASP ,MYSQL, HTML, DHTML
View previous topic :: View next topic  
Author Message
jadison
Guest





PostPosted: Sat May 11, 2002 4:15 am    Post subject: PHP-Nuke - Time not being displayed in news articles? Reply with quote

For those who actually run a PHP-Nuke site you may or may not have experienced this "bug". If you're running you're Nuke site on a WinNT platform (WinNT, Win2k, WinXP) then you may have come across this "bug": On your homepage, the news articles display the date but not the time when they were posted. Instead they may display the timezone (Central Daylight Time, etc) or something else.
To have your news articles display both the date AND the time when they were posted do the following:

Step 1 - Go to the directory on the computer where your Nuke site resides.

Step 2 - Go to the language folder and select the language-xxxx.php file (where -xxxx is your native language, i.e. I would select language-english.php)

Step 3 - Right-click this file and select Edit. This should bring up this file in Notepad.

Step 4 - Click on Edit then select Find. Enter this into the searchbox (without quotes): "define("_DATESTRING","%A, %B %d @ %T %Z");" and click Find next.

Step 5 - Replace that piece of code with this (without quotes): "define("_DATESTRING","%A, %B %d @ %I:%M%p %Z");". Then click on File and Save. Once saved close the document.

Now, every news article posted will include the date AND the time when it was posted.
Back to top
Google
Sponsor





PostPosted: Sat May 11, 2002 4:15 am    Post subject: Advertisement

Back to top
Lakario
TweakNOOB


Joined: 23 Jul 2003
Posts: 3
Location: Massachusetts, USA

PostPosted: Wed Jul 23, 2003 5:44 am    Post subject: Reply with quote

There is of course one other option, to not use *Nuke at all and for that matter, not running a server on Windows, it's just icky...
_________________
Lakario
ModDev.net
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    [TweakNews.net Forum] Forum Index -> PHP ,ASP ,MYSQL, HTML, DHTML All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB3 ©