Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Timezone issue

UserPost

7:34 am
March 9, 2010


Gerhard

New Member

posts 2

Post edited 2:38 pm – March 9, 2010 by Gerhard


I'm using Twitter Widget Pro in the Netherlands, but all the tweets displayed are an hour behind the time Twitter displays. On the Twitter site and on my Wordpress blog, the timezone setting is correct. 
It looks like another Twitter widget pluging (WP Twitter by Catkick@) had the same issue, but it was solved in the last release. I really like Twitter Widget Pro though and want to continue using it. Here's some info from Catkick@ on the problem:
I checked my code and xml file which Twitter generated then found something. Maybe your hosted server does not configure properly or its time zone setting is missing. Here’s what it goes.
1) Twitter generate its time with GMT (default)
2) My php file get GMT time stamp from XML file which Twitter generated.
3) My php file uses date() function to generate local time stamp.
The function date() automatically pulls time zone information from configuration at its local server. I’ve checked XML file and its time stamps are as same as mine.
If you using PHP 5.0 or higher version, you can set timezone within my php file using with date_default_timezone_set(). Inset this function with your local time zone string between line 253 and 254. The code insert is:
date_default_timezone_set( ‘America/Los_Angeles’ );
He fixed it on the latest release:
Today, I’ve released 0.1.8 with fixing timezone issue. Now it’s reading Twitter’s timezone setting so you do not have to adjust it by yourself.
Is there some PHP code I can enter into the Widget Twitter Pro plugin to fix this plugin as well? If so, where do I put it?
Thanks in advance!

5:17 am
March 10, 2010


Gerhard

New Member

posts 2

Post edited 12:39 pm – March 10, 2010 by Gerhard


Never mind.. still have the problem


About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 792 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Iain – 8
Aaron Fineman – 8
checox7@yahoo.com – 6

Recent New Members: puckles@gmail.com, kwelx@kwelx.com, kaufmanauthor@gmail.com, meesfrenkelfrank@hotmail.com, heather@holmpage.com, mark@avantgarde-group.nl

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)



 
Stop Censorship