Announcement

Collapse
No announcement yet.

VB condition to allow mobile users to not see ads

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

  • VB condition to allow mobile users to not see ads

    I curently have the below condition in on some ads I have in showthread. The ads push the margins so bad that on an ipad or like device it makes the site unusable. So I have put in that the paid users (paid only board) can't see those showthread template ads. But not all 900+ paid users use ipads to view the board. So is there away to have a condition that just detects mobile devices and shut those ads off to only those users?

    <vb:if condition="!is_member_of($vbulletin->userinfo, 29)">

  • #2
    OR have a condition to point to a different size ad for mobile browsers.

    Comment


    • #3
      You could try a conditional based around the styleid.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.6.3 Demo
      AdminAmmo - My Cloud Demo

      Comment


      • #4
        Custom coding is a question best asked on www.vbulletin.org.

        Comment


        • #5
          Originally posted by Mark.B View Post
          You could try a conditional based around the styleid.
          Thanks, I found this thread on this.

          http://www.vbulletin.com/forum/forum...le-conditional

          Comment

          Related Topics

          Collapse

          Working...
          X