Help with Conditionals

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dendrob
    New Member
    • Mar 2006
    • 29
    • 3.5.x

    Help with Conditionals

    I'm trying to make a conditional that will show ads after 1st and last post, but only for users that are logged in, but not members of group 25 (paid grp) and it isn't working for me.

    basic logic is this
    Here's what I got



    Code:
    <if condition="$post[postcount] % $vboptions[maxposts] == 1 OR $post['islastshown']">
       <if condition="is_member_of($bbuserinfo, 25) OR !$bbuserinfo[userid]">
         <!-- Show nothing -->
       <else>
         <!-- show ad -->
       </if>
    </if>
    what am I doing wrong ?
  • dendrob
    New Member
    • Mar 2006
    • 29
    • 3.5.x

    #2
    bump, bump.... anyone ???????????

    Comment

    • Lats
      Senior Member
      • Mar 2002
      • 3671

      #3
      Try replacing your <else> with <else />
      Lats...

      Comment

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