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

XF 1.1 ad_message_below template not working

Discussion in 'Troubleshooting and Problems' started by guru3d, Jul 30, 2013.

  1. guru3d

    guru3d New Member

    Hey All,

    Before opening up a ticket I wanted to post my issue here. I'm trying to get ads going (XenForo 1.1.5 - no plugins - fresh install after a VBB import) after a number of posts in a thread. Now I've been reading up on this here in the forums (conditions etc) but thus far I am unable to inject ads into the ad_message_below template.

    Nothing I insert there shows up. Even a simple TXT does not show up:

    <xen:hook name="ad_message_below" />dfgjfkldjgjkldf

    This will not show dfgjfkldjgjkldf

    When trying conditions nothing shows up either, example:

    --

    <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 1">
    googltag code here
    </xen:if>

    The interesting thing is that when I inject this code into any other ad_ template, it works .. just not with ad_message_below

    Now if I insert the code into ad_message_body, it all works fine, but that obviously is not where I want the ads to show up.

    Does anyone have any ideas ?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Can you post a link to a page where you think the code should be showing and it isn't?

    Ensure your message template hasn't been modified to remove the include.

    Failing that, can you provide an ACP login so I can check?
     
  3. guru3d

    guru3d New Member

    Hello Brogan, the test site is behind HT protection. I'll will PM you with some details so you can have a peek + get an ACP login sorted for you. Thanks.
     

Share This Page