Ads in Mobile Version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bnimbhal
    Member
    • Jun 2009
    • 94
    • 4.2.5

    [Forum] Ads in Mobile Version

    Hi,

    I need some help related to Mobile version, how to insert google ads in first post start and first post signature.


    Thanks in advance.
  • BirdOPrey5
    Senior Member
    • Jul 2008
    • 9613
    • 5.6.3

    #2
    When you say mobile version do you mean the vBulletin Mobile App or the VB 4.x mobile style? The app (which has its own forum) is limited where you can have ads- the only options are what you can setup when building the app in the Member's Area.

    For the mobile style you would need to manually edit the postbit (or postbit_legacy) template.
    Us this condition to limit the code to displaying in the first post (of a page) only-

    Code:
    <vb:if condition="$post['isfirstshown']">
    Ad code here
    </vb:if>
    {post.message} is where the message starts and {post.signature} is where the signature will show.

    Comment

    • Fabioo
      Member
      • Jun 2012
      • 58
      • 4.2.x

      #3
      Hi,

      on mobile themethere are no templates postbit and postbit_lagacy.

      how can I do ?

      Thanks

      Comment

      • Fabioo
        Member
        • Jun 2012
        • 58
        • 4.2.x

        #4
        ok sorry, I was looking bad .
        Thanks!

        Comment

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