Need Help with Postbit Info

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

    Need Help with Postbit Info


    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> 
    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

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


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