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

XF 1.3 Getting ad out of post frame

Jeff Fuqua

Well-known member
#1
I have an ad which shows up after the fifth post but it appears within the post frame. I was wondering how I might have it appear on the outside.

Here's the code:

Code:
<xen:hook name="ad_message_below" />
<xen:if is="{xen:helper ismemberof, $visitor, 13}"><xen:else />
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 5 AND {$firstPost} AND !{$message.conversation_id}">
<table style="background-color: #f4f4f4;" width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
<td style="padding-top: 15px; padding-bottom: 0px;"><div align="center"><div style="float:middle;">
<!-- BEGIN RICH-MEDIA Burst Media CODE -->
ad code
<!-- END Burst Media CODE --></div>
<div style="clear:both"></div>
</div></td>
  </tr>
</table>
</xen:if></xen:if>
 

Tracy Perry

Well-known member
#2
You also need to specify that you are not using the default style, but one by @Audentio Design. You should post in the discussion group for that style to get feedback as the normal ad placement (if I remember correctly) is outside the frame.