No announcement yet.

Conditional needed for ForumHome and Threadview

  • Filter
  • Time
  • Show
Clear All
new posts

  • Conditional needed for ForumHome and Threadview

    I would like my Guest Notice not to appear on ForumHome and Threadview. What would be the conditional to use to prevent some code to appear on ForumHome and Threadview?

  • #2
    Mistake... Sorry... I meant ForumHome & ForumDisplay (not ThreadView)
    Last edited by Marvin Hlavac; Thu 16 Jul '09, 1:05pm.


    • #3
      You can wrap a condition around it:

      HTML Code:
      <if condition="THIS_SCRIPT != 'index' AND THIS_SCRIPT != 'forumdisplay'">
      guest notice
      (Not tested, but I think it should work.)

      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


      • #4
        Lynne, yes, I'm sure this is it! Thanks so much. I'm going to add it to my navbar template now!


        • #5
          I just added the code to my navbar template. It does exactly what I wanted. I thank you again very much, Lynne.


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