Announcement

Collapse
No announcement yet.

Blocking Ads with IF statement

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

  • Blocking Ads with IF statement

    I want to block ads for 2 different usergroups. User group 9 (our paid members) and usergroup 7 (our moderators). What if statement do I use?

    I tried using this, but no success...
    Code:
    <if condition="!is_member_of($bbuserinfo, 9) OR !is_member_of($bbuserinfo, 7)">
    Prior to needing to add two groups, this worked prefectly fine...
    Code:
    if condition="!is_member_of($bbuserinfo, 9)">
    Last edited by Chris - Jokaroo; Mon 26th Sep '05, 11:51pm.

  • #2
    PHP Code:
    if ( $bbuserinfo['usergroupid'] != && $bbuserinfo['usergroupid'] != )
    {
        
    ads here

    Comment


    • #3
      Can you give me the VBulletin version?
      Last edited by Chris - Jokaroo; Tue 27th Sep '05, 12:13am.

      Comment


      • #4
        Any idea on how to do this?

        Comment


        • #5
          ???/

          Comment

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