• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 SSL Ads Issue

#1
I have moved my site over to a secure SSL site, now my problem is many of my ads are not displaying.

The ad code is working fine under SSL if I look at it at https://www.satelliteguys.us/amazon_box.html
If I try calling it with an iframe it displays fine... https://www.satelliteguys.us/iframe_test.html

However if I try putting the same iframe code in a template such as ad_sidebar_below_visitor_panel the ad never displays. Here is my code below.

Code:
<xen:if hascontent="true">

   <div class="section funbox">
   <div class="{xen:if @uix_removeAdWrappers_sidebar, '','secondaryContent'} funboxWrapper">
   <xen:contentcheck>

       <xen:if hascontent="true">
           <xen:contentcheck>
               <xen:hook name="ad_sidebar_below_visitor_panel" />



               <xen:comment> PLACE YOUR ADVERTISEMENT CODE DIRECTLY BELOW </xen:comment>
   <iframe src="/advertising_box.html" width="300" height="250" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe>


           </xen:contentcheck>
       <xen:elseif is="{$visitor.is_admin} && @uix_previewAdPositions" />
           <div>{xen:phrase 'template'}: ad_sidebar_below_visitor_panel</div>
       </xen:if>

   </xen:contentcheck>
   </div>
   </div>

</xen:if>
Any ideas?
 
#3
I think I figured out the issue, but I don't know how to fix it.

Sometimes an ad does show as it is being sent in SSL, other times the browsers block the ads because they are not send securely and then there is a security mismatch.

I have contacted the ad agency and the girl who is my rep thinks I am speaking Greek.

Not sure what to do now as a majority of my ad revenue comes from this agency... I dont want to turn SSL off again because all the browsers are saying my site is insecure when people try to log in.