Announcement

Collapse
No announcement yet.

Conditional needed for ForumHome and Threadview

Collapse
X
 
  • 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)
    Marvin Hlavac
    Member
    Last edited by Marvin Hlavac; Thu 16 Jul '09, 2:05pm.

    Comment


    • #3
      You can wrap a condition around it:

      HTML Code:
      <if condition="THIS_SCRIPT != 'index' AND THIS_SCRIPT != 'forumdisplay'">
      guest notice
      </if>
      (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 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


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

        Comment


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

          Comment

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