VB condition to allow mobile users to not see ads

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Huskermax
    Senior Member
    • Mar 2010
    • 622
    • 4.2.X

    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)">
  • Huskermax
    Senior Member
    • Mar 2010
    • 622
    • 4.2.X

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

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24286
      • 6.0.X

      #3
      You could try a conditional based around the styleid.
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • BirdOPrey5
        Senior Member
        • Jul 2008
        • 9613
        • 5.6.3

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

        Comment

        • Huskermax
          Senior Member
          • Mar 2010
          • 622
          • 4.2.X

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

          Comment

          Related Topics

          Collapse

          Working...