• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

condition

  1. CMTV

    XF 2.0 LESS "when" is not working

    I have created my custom style variable questionthreads_isStylingBestAnswerUserBg. It has Boolean value type. It is set to true. Now in my LESS template I have this code: .container when (@xf-questionthreads_isStylingBestAnswerUserBg = true) { background: #000; } The problem is that this...
  2. creativeforge

    XF 1.5 Checkbox condition before posting?

    Hi, I'd like to make sure that on a specific forum, members CANNOT post UNTIL they check a box that states they agree with a DISCLAIMER. So they can write their review, but until they check the box, they cannot post their review. Is this possible? Thanks! Andre