conditional

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rebelsrock06
    Senior Member
    • Jan 2004
    • 735
    • 3.6.x

    conditional

    I need to know how to do a conditional



    what i want is this

    I have setup a profile field with the options

    Yes and No in a drop down

    i want a conditional where its

    < if conditional blah blah blah

    show this image tag if YES is selected

    else

    Show Nothing if NO is selected
    Rebel Designs Studios
  • Getox

    #2
    i think its something like this
    Code:
     	  <if condition="{profile field}">
      	  Yup?
      	 <else />
      	  Nope?
      	  </if>
    not really sure, try asking at vbulletin.org

    Comment

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

      #3
      See this thread - particularly the second post:

      If you haven't already, create a new profile field in your: Admin CP -&gt; User Profile Fields -&gt; Add New User Profile Field Users can enter their info into the profile field by going to their User CP. To display the information in posts you need to go to your: Admin CP -&gt; Styles &amp; Templates -&gt; Style
      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

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