WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Can I reset the GB time?

Version:
printPrint


Can I reset the GB time?
charles2smart
Member

Usergroup: Customer
Joined: Dec 01, 2003
Total Topics: 5
Total Posts: 11
Posted 12/28/04 - 05:51 AM:
quote post
#1
Hi, Paul:

I still believe that there is some method to change the server time (recorded in database) into a local presence, isn't it?

I call it [ time zone offset ], and I've modified it half-way through already! I mean, I can see the adjusted local time in PREVIEW mode, which is an option before you submit the post at WSN Guest. However, I am still looking for a proper variable/place for completing the modification!

In the scripts: sign.php and register.php, just set
$time = time() + $timeadjust;
And, it works fine for PREVIEW function! Although the final outcome after submission is still server time look, NOT local time though.

Paul, please could you kindly tell me where to make the adjustment properly! I'm just very novice to php!

And I hope I can carry out the modification of your WSN Guest and get it work for me as soon as possible, hence, I'll be able to concentrate and work on my purchased WSN Links & KB and get them up and running!

Thanks in advance!

Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5961
Posted 12/30/04 - 09:27 AM:
quote post
#2
Timezone adjustment is in WSN Links, KB, Gallery and Forum, but WSN Guest is an older code base so it doesn't have that. I don't know where guest sets the times, could be in classes/onelink.php and classes/member.php

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.