Need Help with Postbit Info

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PBPR
    Senior Member
    • May 2009
    • 214
    • 4.0.x

    Need Help with Postbit Info

    Hello,

    I add a custome field in the user's additional information section with a question where the user selects Yes or No. The question is asking if he or she wants other users to edit his or her photos. If the user answers Yes then I would like to have a messege saying IMAGE EDITING OK in the postbit. If the user answers NO then nothing appears in the postbit.

    What would be the correct code to place in the postbit template?

    Right now I have this code:
    PHP Code:
    <if condition="$post['fieldX']">$post[fieldX]</if> 
    Thanks
    Last edited by PBPR; Sat 15 Aug '09, 11:55pm.
    Vbulletin Rocks!!!
    What you do in life, echoes in eternity
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Code:
    <if condition="$post['fieldX'] == 'Yes'">IMAGE EDITING OK</if>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎