vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   RSS on external page - problem with displaying correct time (https://vborg.vbsupport.ru/showthread.php?t=183127)

marin 06-21-2008 07:33 AM

RSS on external page - problem with displaying correct time
 
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

Quote:

Originally Posted by marin (Post 1557759)
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

Quote:

Originally Posted by KURTZ (Post 1557899)
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

Quote:

Originally Posted by Dismounted (Post 1558327)
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...


All times are GMT. The time now is 04:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01058 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete