|
| View previous topic :: View next topic |
| Author |
Message |
jadison Guest
|
Posted: Sat May 11, 2002 4:15 am Post subject: PHP-Nuke - Time not being displayed in news articles? |
|
|
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
|
Posted: Sat May 11, 2002 4:15 am Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
Lakario TweakNOOB
Joined: 23 Jul 2003 Posts: 3 Location: Massachusetts, USA
|
Posted: Wed Jul 23, 2003 5:44 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|