Announcement

Collapse
No announcement yet.

ad_showthread_firstpost_sig Ad showing in multiple posts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] ad_showthread_firstpost_sig Ad showing in multiple posts

    I added an advertisement in this ad location, and instead of showing up in just the first post, it is showing up in multiple posts, eliminating my ability to show an ad in the sidebar.

    Using vb4.1.7, anybody else having this issue?

    Example: http://www.truckersforum.net/forum/f...estions-66496/

  • #2
    I don't know. But in my 417 I'm using ad_showthread_firstpost and it's properly showing under the first post on each page. If I were to guess what "ad_showthread_firstpost_sig" did, I'd say it was supposed to do the same thing only place the ad inside the post. But I really have no idea. And I especially have no idea why any of this would affect an ad in the sidebar.

    Comment


    • #3
      I can confirm, it is showing in all posts in 4.1.7. Will check the tracker and add it as a bug if it's not already there.

      In the mean time to fix this edit your postbit or postbit_legacy template.

      Find the code:

      Code:
      {vb:raw ad_location.ad_showthread_firstpost_sig}
      And replace it with:

      Code:
      <vb:if condition="$post['isfirstshown']">
      {vb:raw ad_location.ad_showthread_firstpost_sig}
      </vb:if>

      Comment


      • #4
        Also changed

        from
        Code:
        <div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
        to
        Code:
        <div class="content<vb:if condition="$post['isfirstshown'] OR $post['islastshown']"> hasad</vb:if>">

        Comment


        • #5
          Thank you!
          Originally posted by BirdOPrey5 View Post
          I can confirm, it is showing in all posts in 4.1.7. Will check the tracker and add it as a bug if it's not already there.

          In the mean time to fix this edit your postbit or postbit_legacy template.

          Find the code:

          Code:
          {vb:raw ad_location.ad_showthread_firstpost_sig}
          And replace it with:

          Code:
          <vb:if condition="$post['isfirstshown']">
          {vb:raw ad_location.ad_showthread_firstpost_sig}
          </vb:if>

          Comment

          Related Topics

          Collapse

          Working...
          X