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

XF 1.2 Ads after first post

Discussion in 'XenForo Questions and Support' started by ramonbastos, Aug 10, 2013.

  1. ramonbastos

    ramonbastos Member

    To show a content after a first post, i use this code, right?

    <xen:if is="{$post.position} == 0 AND !{$message.conversation_id}">
    Ads code
    </xen:if>

    I tried at extra.css and it didn´t work... where should i put it? thanks
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Use one of the appropriate ad* templates, not CSS.
     
  3. ramonbastos

    ramonbastos Member

    I´m kinda newbie.. what do you mean? :whistle:
     
  4. oman

    oman Well-Known Member

  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    That. There are templates designed for use in adding advertisements.
     
  6. ramonbastos

    ramonbastos Member

    So I don´t need this?

    <xen:if is="{$post.position} == 0 AND !{$message.conversation_id}">
    Ads code
    </xen:if>


    I just put the ad code on the right template?
     
  7. Jeremy

    Jeremy XenForo Moderator Staff Member

    That ad code will put it after the first post of a thread only, you will most likely still need that.
     
  8. ramonbastos

    ramonbastos Member

    First post of A thread, or ALL threads?
     
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    All threads.
     
    ramonbastos likes this.
  10. ramonbastos

    ramonbastos Member

    Thats exactly what i need :D thanks
     

Share This Page