Announcement

Collapse
No announcement yet.

explain me a profile conditional please...

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

  • [Forum] explain me a profile conditional please...

    i have a custom profile field...with 2 options:
    one say "SI" and the other say "NO".

    what i want to do..is, if "SI" is select, show something...if not..nothing

    im not sure which is the sintaxis, but i have tried many times without any positive resolution.

    is this wrong?
    Code:
    <vb:if condition="$post['fieldX']=SI"> blablabla </vb:if>
    vBulletin Services I offer: www.Todo10.com
    Technical vB/Server/Hosting support Service also!

  • #2
    Try this conditional:

    Code:
    <vb:if condition="$post['fieldX'] & 1"> blablabla </vb:if>
    Make sure X matches the value of the field ID.
    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

    Related Topics

    Collapse

    Working...
    X