vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   yet another flash integration query; (https://vborg.vbsupport.ru/showthread.php?t=219301)

stardotstar 07-23-2009 10:50 PM

yet another flash integration query;
 
Hi guys, I have been able to invoke ads from openX using one of the mods here.
All work in the standard header except flash/swf files.
The invocation code is correctly formed and delivers the flash ad just fine as verified by making the same php call to a blank page:
http://www.sourcepoint.com.au/openx/...7851375c17.swf
http://www.archeli.com.au/forums/localmode.php
PHP Code:

<?php
  define
('MAX_PATH''/var/www/sourcepoint/htdocs/openx');
  if (@include_once(
MAX_PATH '/www/delivery/alocal.php')) {
    if (!isset(
$phpAds_context)) {
      
$phpAds_context = array();
    }
    
// function view_local($what, $zoneid=0, $campaignid=0, $bannerid=0, $target='', $source='', $withtext='', $context='', $charset='')
    
$phpAds_raw view_local(''10266'''''0'$phpAds_context'');
  }
  echo 
$phpAds_raw['html'];
?>

from that script we get this page source
PHP Code:

<script type='text/javascript' src='http://www.sourcepoint.com.au/openx/www/delivery/fl.js'></script>
<
div id='ox_032beee003dd83c3d555181177e74661' style='display: inline;'><a href='http://www.sourcepoint.com.au/openx/www/delivery/ck.php?oaparams=2__bannerid=266__zoneid=0__cb=b630e01259__oadest=http%3A%2F%2Fwww.takeoffandland.com.au%2Findex.php%3FcPath%3D133_182%26osCsid%3Da84b45683d81e2c791807f8077509aa0' target='_blank'><img src='http://www.sourcepoint.com.au/openx/www/images/05d6243e97ad3954aa1a7316dace3822.gif' width='900' height='90' alt='' title='' border='0' /></a></div>
<
script type='text/javascript'><!--// <![CDATA[
var ox_swf = new FlashObject('http://www.sourcepoint.com.au/openx/www/images/d9827ad272558c118fa14f7851375c17.swf''Advertisement''900''90''9');
    
ox_swf.addVariable('clickTARGET''_blank');
    
ox_swf.addVariable('clickTAG''http%3A%2F%2Fwww.sourcepoint.com.au%2Fopenx%2Fwww%2Fdelivery%2Fck.php%3Foaparams%3D2__bannerid%3D266__zoneid%3D0__cb%3Db630e01259__oadest%3Dhttp%253A%252F%252Fwww.takeoffandland.com.au%252Findex.php%253FcPath%253D133_182%2526osCsid%253Da84b45683d81e2c791807f8077509aa0');

ox_swf.addParam('allowScriptAccess','always');
ox_swf.write('ox_032beee003dd83c3d555181177e74661');
    if (
ox_swf.installedVer.versionIsValid(ox_swf.getAttribute('version'))) { document.write("<div id='beacon_b630e01259' style='position: absolute; left: 0px; top: 0px; visibility: hidden;'><img src='http://www.sourcepoint.com.au/openx/www/delivery/lg.php?bannerid=266&amp;campaignid=42&amp;zoneid=0&amp;loc=http%3A%2F%2Fwww.archeli.com.au%2Fforums%2Flocalmode.php&amp;referer=http%3A%2F%2Fforum.openx.org%2Findex.php%3Fshowtopic%3D503428016%26hl%3D&amp;cb=b630e01259' width='0' height='0' alt='' style='width: 0px; height: 0px;' /></div>"); } else { document.write("<div id='beacon_b630e01259' style='position: absolute; left: 0px; top: 0px; visibility: hidden;'><img src='http://www.sourcepoint.com.au/openx/www/delivery/lg.php?bannerid=266&amp;campaignid=42&amp;zoneid=0&amp;loc=http%3A%2F%2Fwww.archeli.com.au%2Fforums%2Flocalmode.php&amp;referer=http%3A%2F%2Fforum.openx.org%2Findex.php%3Fshowtopic%3D503428016%26hl%3D&amp;fb=1&amp;cb=b630e01259' width='0' height='0' alt='' style='width: 0px; height: 0px;' /></div>"); }
// ]]> --></script><noscript><div id='beacon_b630e01259' style='position: absolute; left: 0px; top: 0px; visibility: hidden;'><img src='http://www.sourcepoint.com.au/openx/www/delivery/lg.php?bannerid=266&amp;campaignid=42&amp;zoneid=0&amp;loc=http%3A%2F%2Fwww.archeli.com.au%2Fforums%2Flocalmode.php&amp;referer=http%3A%2F%2Fforum.openx.org%2Findex.php%3Fshowtopic%3D503428016%26hl%3D&amp;fb=1&amp;cb=b630e01259' width='0' height='0' alt='' style='width: 0px; height: 0px;' /></div></noscript> 

So this is a local mode invocation of the ad and displays correctly. Somehow I wonder if there is something in the vB headers or page construction that would cause this banner delivery to fail when all the other content types display fine.

Thanks for any thoughts on how I can progress this further guys!
Will.

webwheeling 08-18-2009 12:11 AM

Any luck with this Will? I am having the same problem.

stardotstar 08-25-2009 06:36 AM

No nothing - not in my other post here or on OpenX;


All times are GMT. The time now is 09:27 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.01303 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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