Banners / forum category spaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Elyk
    Senior Member
    • Sep 2003
    • 292
    • 4.2.x

    Banners / forum category spaces

    We have several forums separated with spaces and I am trying to figure out how to add a banner to the space between forums.

    On another site I followed this thread which worked as there were no separated forums:http://www.vbulletin.com/forum/showthread.php?t=169892

    But this site we are working on now has the spaces already.

    Anyone know what we need to add to the forumhome_forumbit_level1_nopost template to show the banners?
  • peterska2
    Senior Member
    • Oct 2003
    • 8869
    • 3.7.x

    #2
    Adding your banner code to the very end of the forumhome_forumbit_level1_nopost template will show the banner between each category. You will need to use conditionals to control which banner is shown after each category.

    Comment

    • Elyk
      Senior Member
      • Sep 2003
      • 292
      • 4.2.x

      #3
      So if for example we have:

      Forums:
      A
      A
      A - forum id = 17

      Space

      B
      B
      B

      Would something like this work at the bottom of the forumhome_forumbit_level1_nopost template?

      <if condition="$forum[forumid] == 17">

      </table>

      <br />
      <div align="center">
      BANNER CODE HERE
      </div>
      <br />
      </if>

      Comment

      • peterska2
        Senior Member
        • Oct 2003
        • 8869
        • 3.7.x

        #4
        No, it needs to be the forumid of the category.

        Comment

        • Elyk
          Senior Member
          • Sep 2003
          • 292
          • 4.2.x

          #5
          Thanks you very much, works great!!

          I ended up using

          <if condition="$forum[forumid] == X">
          <br />
          <div align="center">
          BANNER CODE HERE
          </div>
          <br />
          </if>

          Where X is the top forum id above the space as you mentioned and it works.

          Comment

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