Announcement

Collapse
No announcement yet.

Help with Conditionals

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

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

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

    Comment


    • #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...
      X