Announcement

Collapse
No announcement yet.

Problem with forum/usergroup conditionals

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

  • Problem with forum/usergroup conditionals

    Can anyone fix this IF conditional for me?

    <if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest']) and in_array($forumid, array(21,15))">

    Thanks!

  • #2
    It looks correct except that you need to use $GLOBALS[forumid] instead of $forumid. That variable is in the global scope when called from the postbit.

    Comment

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