No announcement yet.

If is_home kinda function?

  • Filter
  • Time
  • Show
Clear All
new posts

  • If is_home kinda function?

    Hi there, if you look at my Audi forum (, there is a 120x600 floating banner on the right. The code is located at the footer template.

    I would like to display this banner only on the main forum page. Is this possible?
    In wordpress there is a function called if (is_home) to do stuff like this.

    Code at the end of the footer template:
    <div id="footer">
            <div class="footer-left">&copy; - Audi Club Türkiye</div> 
            <div class="footer-right"><a href="">arsiv</a> - <a href="">site haritası</a> - <a href="">iletişim</a> - <a href="">geçerli xhtml</a> - <a href="">geçerli css</a></div> 
    <div id="bannerwrapper">
            <div class="120600"></div>
            <div class="banner">
                <a href=""><img src="" border="0" /></a></div>

  • #2
    <if condition="THIS_SCRIPT == 'index'">
    stuff only on vb index.php page

    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
    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


    • #3
      Thanks! it worked!


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