Support Forum

Simple:Press 5.0 Beta

74 Answers

New Answer

SP SPQC
SPQC
Member

Yellow Swordfish said

Actually hold that thought.

You got me thinking about this again and I may have just come up with a workaround. Going to need to do some testing in all browsers first though

Let me know, I will be happy to test!  It’s only related when using quotes?  It may explain why I often see it, because I quote a lot, just like now.  🙂

BL BlueDagger
BlueDagger
Member

My coding knowledge is limited sadly to visual basic and some C#, but I’m slowly picking up just enough to be dangerous on PHP.

 

While I don’t suspect it’s a bug caused directly by simple press I did notice that once I installed the plugin my time suddenly went all funky. Several portions of the website are showing as -7 hours (we are UTC-7 for Denver, CO) on top of the UTC adjectment already there. I did a temporary fix of setting the time to Casablanca time to offset the issue till I can find the culprit, but that is causing issues with other plugins that are not thinking we are Casablance time lol.

 

If WP is set correctly to Denver time (UTC – 7) then the forums and buddypress show all activity as either -25200 seconds (-7 hours in seconds) or just a flat 7 hours ago. No sure if you had seen this one or not.

YS Yellow Swordfish
Yellow Swordfish
Member

It would be useful if you could set the server timezone (WP general settings panel) to the actual city.
This will determine the date/time saved with your forum posts.
Then each user should really set their own timezone city in their forum profile. This will determine the post data and time that they see on the forum posts – adjusted for their timezone.

BL BlueDagger
BlueDagger
Member

Yeah there in lines the problem, when you set the time to the actual city all the posts show up as -seconds.

 

Example: http://img.photobucket.com/albums/v474/BlueDagger/Admin%20stuff/TimeError-1.png

PA patrick182
patrick182
Member

Likely an easy fix but after upgrading to SP5, all my black text turned to white again. White text on white background is basically a blank slate. Firebug fix? Thoughts? Thanks again. The new design looks silky smooth. Excellent work!

YS Yellow Swordfish
Yellow Swordfish
Member

So what were the actual timezone settings here for that user (in the image). What was the server set to (WP Settings) and that users profile?

And you mentioned an issue with other plugins. Do you have one that performs a timezone reset as we have found that that can cause issues and am not sure if we can work around that short of turning off the ‘nicedate’ display and reverting to standard date/time formats..

BL BlueDagger
BlueDagger
Member

Yellow Swordfish said

So what were the actual timezone settings here for that user (in the image). What was the server set to (WP Settings) and that users profile?

And you mentioned an issue with other plugins. Do you have one that performs a timezone reset as we have found that that can cause issues and am not sure if we can work around that short of turning off the ‘nicedate’ display and reverting to standard date/time formats..

In that pic WP Settings are turned to Denver and the location of the user is Denver. I’ve tested with my own account and 2 other user accounts with cleared cache, but same result. Buddypress is showing the same thing as well as Event Manager. Setting the time to Casablanca time is a workaround fix, however Event Manager gets a bit confused between it’s event time vs displayed event time.

YS Yellow Swordfish
Yellow Swordfish
Member

If one of those plugins is performing a reset of the php timezone then that could explain it.

So – one more question before we come up with a cure.

When you go to the topic view (posts) and the date and time of posts in the left hand side correct when the timezones are set correctly?

BL BlueDagger
BlueDagger
Member

Nope, it looks like they are showing up +7 hours.

YS Yellow Swordfish
Yellow Swordfish
Member

+7 with both timezones set to Denver?

BL BlueDagger
BlueDagger
Member

Not sure on the “both” part…

 

Ah gotcha, didn’t even see there was a user side option for timezone since I have the forum profile forwarding over to buddypress profile. Yes, it is when both are set to Denver I see the +7 time on posts occur. Did some more testing and now my head hurts lol.

 

Server: Denver + Forums: Denver = Post times show +7 hours – time passed since last post / Widget post times show as -14 hours + time passed since post

Server: Denver + Forums: Casablanca = Post times show +14 hours – time passed since last post / Widget post times show as -14 hours + time passed since post

Server: Casablanca + Forums: Denver = Post times show correct / Widget post times show show correct

Server: Casablanca + Forums: Casablanca = Post times show +7 hours / Widget post times show show correct

 

If you would like a test account to poke around for any valuable info just let me know.

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry – let’s just confirm… this is on NEW posts yes? made after the server time is changed?

If this is the case (WP set to Denver but posts being 7 hours off) then I would suggest you have some serious timezone conflict going on.

I don’t think a test account would help. Probably more a matter of finding what plugin(s) maybe restting timezones

BL BlueDagger
BlueDagger
Member

Nope, it’s all posts get changed. So it seems to be a WP wide modification. I’ll try to cycle off the plugins and see if I can find the culprit.

YS Yellow Swordfish
Yellow Swordfish
Member

Is this the case with blog posts as well? They use the same WP timezone setting after all.

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry everyone who may be in this thread but I am locking it.

It has meandered from one topic to another and they would have been far better served in new topics of their own. So if you need to continue any discussions started here can you please open a new topic.

Thanks