Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 49
1 members and 48 guests
bescm9ttgamiiyr
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
Timezone in mods ~ nuke6.5 off by 6 hours.
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 97
Join Date: May 2003
Location: CT
Timezone in mods ~ nuke6.5 off by 6 hours. - 05-23-2003, 09:30 PM

I set the correct time zone, but so far, there has been a 6 hour difference b/t my time and the time it says it is in several mods, includeing: stats, news, reviews.....

Any of the mods that i guess go off of server time. I know that i can change this by editing the files that tell the page where to get the time from, but where would i look for this. The time is correct for profiles and forums, but not for news and stats, those are the ones i'd like to have accurate time on for now.
 Send a message via ICQ to watson Send a message via Yahoo to watson Send a message via AIM to watson Send a message via MSN to watson  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-23-2003, 09:37 PM

Do you knwo if your server where your website is hosted is in the same country where you are located. I have seen this problem when users have their websites hosted in Japan and they live in the US. The server is set to Japan time, but they are not on Japan time... :?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Apr 2003
Location: Ottawa
05-24-2003, 12:24 AM

I had this problem before, and found a fix in these forums. I can't remember where exactly but if you search a bit i'm sure you'll be able to find it. I

What you have to do is simply edit this 1 line on this 1 file and add the "off time". say its marked 6pm but really it was 9 when you posted, then you'd add "7200" 3 hours. 24x3=72. You get the point. Either a little search wouldn't hurt!
 Send a message via ICQ to GodsFury Send a message via AIM to GodsFury Send a message via MSN to GodsFury  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 10
Join Date: Mar 2003
Location: Australia
05-24-2003, 02:08 AM

to alter to time for posted news.

Open up mainfile.php and change the line:

Code:
    $datetime = strftime(""._DATESTRING."", mktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]));
in the function FormatTimeStamp to:

Code:
    $datetime = gmstrftime(""._DATESTRING."", gmmktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1])+36000);
replace the +36000 with your time offset from gmt.

Hope this helps.
You may also what to find the line '_DATESTRING' in the lang-english.php and change to %Z to your timezone name.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Apr 2003
Location: Ottawa
05-24-2003, 10:42 AM

Sweet Stuff! Thanks alot buddy! "D
 Send a message via ICQ to GodsFury Send a message via AIM to GodsFury Send a message via MSN to GodsFury  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 97
Join Date: May 2003
Location: CT
05-27-2003, 06:20 PM

thanks alot.
 Send a message via ICQ to watson Send a message via Yahoo to watson Send a message via AIM to watson Send a message via MSN to watson  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set default timezone for forums onishi Nuke 7.x - General 0 03-02-2005 12:37 PM
nuke6.7 Help pls nube Site design 0 08-11-2003 05:10 PM
moving nuke6 to an different URL under same domain(hosting) Kelu Purged Topics 2 04-01-2003 03:00 PM
TimeZone block/module request Kelu Purged Topics 2 03-09-2003 02:18 PM
So many Hours, So few Hits christian Purged Topics 4 02-16-2003 12:34 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31