If condition request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aveon
    Member
    • May 2006
    • 51

    If condition request

    i need an if conditional goes like

    <if condition="this user is in thas forum">show soething<else /> regular thing</if>

    so on post bit template i wanna display sometings for some users but i want it to be shown on certain forum not on all forum help please
  • aveon
    Member
    • May 2006
    • 51

    #2
    come on guys its emergency

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #3
      Please wait at least 12 hours before bumping your posts.

      From the forum rules:


      Please wait a reasonable amount of time before bumping posts. For style changes and general 'how-to' questions this should be 24 hours. For specific troubleshooting issues, use 12 hours as a guideline.
      The correct conditional for a specific forum would be:

      <if condition="$forum[forumid] == X">
      </if>

      ...with X being the forumid number.
      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

      • aveon
        Member
        • May 2006
        • 51

        #4
        Originally posted by Steve Machol
        Please wait at least 12 hours before bumping your posts.

        From the forum rules:




        The correct conditional for a specific forum would be:

        <if condition="$forum[forumid] == X">
        </if>

        ...with X being the forumid number.

        srry about tha steve but it is not quite right u see

        i want to combine two conditionals togather like if this user in this forum i want to show something just for single member in a certain forum like this thing wont show up in the other forums only in that forum specified and on the specified members postbit

        Comment

        • Steve Machol
          Former Customer Support Manager
          • Jul 2000
          • 154488

          #5
          Then maybe you can rewrite your request in post #1 into something understandable.
          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

          • aveon
            Member
            • May 2006
            • 51

            #6
            ok steve i want somethin like

            if this user in this forum show that anywhere else show that

            Comment

            • ED195KW
              Member
              • Jun 2004
              • 41

              #7
              I've been trying to do something similar - show a different header image for different forums.

              I've tried:
              Code:
              <if condition="$forum[forumid] == 1">
              <img src="image1.jpg">
              </if>
              <if condition="$forum[forumid] == 2">
              <img src="image2.jpg">
              </if>
              But that doesn't work. Any ideas?

              Comment

              • Kurisu
                Member
                • Aug 2002
                • 36
                • 3.6.x

                #8
                I'd like to know that too.

                Comment

                • aveon
                  Member
                  • May 2006
                  • 51

                  #9
                  use $foruminfo instead of $forum

                  Comment

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