How To Show diferent Banners in diferent forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Torrevieja
    Member
    • Mar 2008
    • 33
    • 3.6.x

    How To Show diferent Banners in diferent forum

    using vBulletin 3.6.8 Patch Level 2

    Hi all,

    I have read this Jake Bunce post about How To Show A Banner After The First Post In A Thread
    but I need to know what´s the conditional I must to use for show diferents banners in diferents forums?

    Example:

    show banner X after the first post in forum id 1
    and
    show banner Y after the first post in forum id 2

    Thnaks.
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    HTML Code:
    <if condition="$post[postcount] == 1 AND $forumid == 1">
    code for banner X
    </if>
    <if condition="$post[postcount] == 1 AND $forumid == 2">
    code for banner Y
    </if>
    You can also do this with a plugin. You might want to also do a search on vb.org and see if there is a modification to use.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    • Torrevieja
      Member
      • Mar 2008
      • 33
      • 3.6.x

      #3
      Thanks Lynne

      I will try tomorrow!!!

      Comment

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