View Full Version : RSS on external page - problem with displaying correct time
marin
06-21-2008, 07:33 AM
Hello
I use this code: http://www.vbulletin.com/forum/showthread.php?t=159044 to display my latest posts on an external page.
But the problem is, that the time displayed is always in GMT, not in my time zone. You can check my rss at http://forum.potopisnik.si/external.php?type=rss , than go to www.potopisnik.si and you will see, that there is a two hours difference.
My server and forum time are set correctly, GMT+2, but still the time displayed on the external page is always GMT.
Any ideas?
Thanks, Marin
Dismounted
06-21-2008, 08:59 AM
You will probably have to modify the modification slightly to account for the difference.
marin
06-21-2008, 10:04 AM
I looked at the code, but as i am not a coder, i didn't find the solution. Can you please give me a hint ? :)
Thanks, Marin
Marco van Herwaarden
06-23-2008, 09:36 AM
I suggest you start by asking in the vB.com thread that has the code you are using.
KURTZ
06-23-2008, 09:43 AM
this is mine ... http://www.fniv.it/board/external.php?type=RSS2 and it's correct :)
Marin, i don't use the code from .com that you posted ...
marin
06-24-2008, 01:14 PM
KURTZ: Which code do you use?
KURTZ
06-24-2008, 04:45 PM
KURTZ: Which code do you use?
nothing mate :) just used the default vB features ... i've only modified some templates cause i need a different feed for every forum ... but the 'core' of the external data is the original made by Jelsoft ...
Dismounted
06-25-2008, 06:59 AM
nothing mate :) just used the default vB features ... i've only modified some templates cause i need a different feed for every forum ... but the 'core' of the external data is the original made by Jelsoft ...
The method posted on vBulletin is also using data output by external.php - it is using the Javascript way.
KURTZ
06-25-2008, 09:35 AM
The method posted on vBulletin is also using data output by external.php - it is using the Javascript way.
obviously Hanson, but the question is: why onto my board runs w/out any modification, and onto Marin's with those modifications not?
Dismounted
06-25-2008, 11:53 AM
No one's suggesting making any modifications to external.php, we are suggesting making modifications to the code that displays it...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.