Announcement

Collapse
No announcement yet.

Need to have an AD appear between the 1st and 2nd posts in VB4

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

  • [vB4] Need to have an AD appear between the 1st and 2nd posts in VB4

    Just upgraded to vb4 from vb3 and obviously had to reset my templates.

    In the process, I lost a feature I had installed that would place an ad in between the 1st post and the second post of threads. I know there is a built in 250x300 ad in the first post now, but I liked this better as it was a little less intrusive and allowed us to run a wider ad.

    The old code was:
    Code:
       <!-- AD INSERTION -->
       
      <if condition="$post[postcount] == 1">
       
      <div class="normal">
       
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
       
      <tr>
     <td class="thead" align="center">Please Support INTERCOT By Supporting Our Sponsors:</td>
    </tr>
      
    <tr>
     <td class="alt1" align="center">
                 
    <!--AD CODE STARTS HERE -->
    <CENTER>
    <iframe name="BOARDS_AD" src="/inc/ad/boards-ad.asp" frameborder="0" height="72" width="522" scrolling="no" align="middle" marginwidth="1" marginheight="1"></iframe>
    </CENTER>
    <!--AD CODE ENDS HERE-->
       
      </td></tr></table>
    Can anyone tell me how/where to implement this in vb4?

    Thanks in advance -
    John

  • #2
    https://www.vbulletin.org/forum/show...02&postcount=2
    Get Our New Flat Theme Pro Pack or Grab all 34 vb5.5.1 skins @sultantheme.com -vb3 responsive style or vb4 responsive style and vbcloud custom style

    Comment


    • #3
      Sweet - thanks so much!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X