Announcement

Collapse
No announcement yet.

Showing something in Forum but not vBAdvanced?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Showing something in Forum but not vBAdvanced?

    I'm trying to create a small breadcrumb like navigation tree in the header (IE: Home >> Forums) but I only want it to show in the forums, not in the vB Advanced home page. What's the <if> I would use to do this?

  • #2
    Exclude vBAdvanced in your conditional.

    <if condition="THIS_SCRIPT != 'adv_index' ">do stuff</if>
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Ah, kool, thanks. How about the other way around? Lol. What do I use if I want something to show on the main index but not in the forum?

      Comment


      • #4
        Anyone?

        Comment


        • #5
          <if condition="THIS_SCRIPT == 'index'">
          Your Stuff here
          </if>
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #6
            Ah ha! Thanks again

            Comment


            • #7
              Originally posted by Steve Machol View Post
              <if condition="THIS_SCRIPT == 'index'">
              Your Stuff here
              </if>
              This is better:
              Code:
              <if condition="THIS_SCRIPT !=  'adv_index' ">do stuff</if>
              Mainly because you can use an else statement to make it work on both forum and VbAvanced.
              Last edited by JohnnyMcKinney; Tue 1 Jul '08, 7:32am. Reason: Added more details

              Comment


              • #8
                That is a question for vBAdvanced. You need to ask them.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment

                Loading...
                Working...
                X