![]() |
I've tried all the methods posted on here but can't get OpenX to work with 3.8.1 without getting a parse syntax error. Any ideas?
|
I have localmode calls working well (very fast page loads) but I am getting time skew despite the vb clock, server clock and all other services being correctly set. whenever I do a
<ad what="zone:1" /> The post bit timestamps are all back in time by the amount of the GMT offset... (+10) very strange. If I take the invocation out the times go back to normal. Interestingly enough the time stamp at the bottom of the board is correct. I wonder if the plugin is writing a UTC time to a local variable that then is built into the post bit... Any one with any idea on help would be appreciated in the mean time I will continue to hack away at it - I am on 3.8.2. Man, its sooo fast! I have to get it working! I notice that if I use "detailed" as a time setting in the vB options I get a correct result... Must be a variable getting reset somehow... Any ideas? |
OK I think I can see where this is happening but just don't know how to track it down - it is possible that this is specific to 3.8.2 and I would be very willing to write up my method for getting it to work if I can get this time issue sorted.
The Time skew occurs if and only if there is a local mode invocation called using the <ad /> code. I can put <ad what="zone:1" /> in the footer or header, refer to it from an ad location or whatever but so long as there is a reference to this tag the time jumps back 10 hours. So when I look at the plugin called Ad tag callback I see that its hook is at the template_compile and this tells me that it is a likely cause of elements of the time being rewritten... Interestingly the time statement at the bottom of the board is always correctly displayed and if I switch the time mode to "detailed" I get the correct time (ie 1 minute ago) for a post just made instead of a 10 hour shift into the past... BUT in the PM inbox the time shift is still evident. This is the plugin code: Code:
if (!function_exists('_tag_callback')) Does anyone think I am on the right track or is it futile troubleshooting this wonderful but rather antiquated (for 3.5) implementation now?> |
Guys, I am not sure how much interest there is for this mod to be adapted to work with 3.8.2 but I for one have spent some considerable time getting it to work with only one issue - the clock is set back to UTC during the callout to the ad server when using local mode. I can't see any reason why it will not work as advertised with vB3.8.2 using javascript invocation.
It is a great mod and one that with a little patience rewards the effort to implement. Much thanks to the developer, not just for the hack but also the inspiration and opportunity to learn so miuch more about plugin integration while trying to fix what is a bug with openx - not a problem with this great hack. If The M.I.P is still monitoring this thread I would offer, in exchange for some tips to work around the UTC problem (I have many threads about posing possible work arounds but have not got any workable answers or come up with a solution myself yet) I will make every effort to update the plugin for 3.8.2 or at the very least write a step by step integration guide for 3.8.2 and openx2.8. I know that this is an easy thing to work around for a programmer but the problem is finding one who can see the context quickly enough to make the fix! Just putting it out there The M.I.P. thanks for the great work on this inspired product and thanks for reading everyone! Will |
I am interested for sure.
|
I get a shifted time as well, a fix would be great.
|
I have detailed the nature of the problem here:
https://vborg.vbsupport.ru/showthread.php?t=214263 that links to a couple of alternative attempts to glean what info i can about the nature of the tz problem and the openx bug that is allegedly responsible. Not much in the way of progress toward a solution I am afraid as yet. |
Curious as to any luck with this as of yet?
|
Not yet, following various leads; I'll be sure to keep you updated of progress.
|
Right on, thanks.
The java delivery def uses a lot of resources. |
All times are GMT. The time now is 03:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|