Announcement

Collapse
No announcement yet.

need quick code help

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

  • need quick code help

    I am displaying a banner after the 1st post to guests. I want this to also show for registered users, but no users in premium groups. How can I do this? This is the current code:

    Code:
    <if condition="$post[postcount] % $vboptions[maxposts] == 1 AND !$bbuserinfo[userid]">
    Thanks!

  • #2
    Change !$bbuserinfo[userid] to !is_member_of($bbuserinfo, 6,7,8,9)

    with 6,7,8,9 being the usergroupids of your premium usergroups.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

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