Google Violation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deaconxgp
    Senior Member
    • Dec 2003
    • 224
    • 3.0.0 'Gold'

    Google Violation

    Anyone know of the proper way to install the Google Adsense on vBulletin without violating the policy...

    I got an email from Google saying the Adsense was appearing on a page without content (an archive) so I had to take it off..

    Is there a way to have google only show on pages with content?
    Unscripted 360 - Xbox 360 Community Podcast
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    You can add conditionals to the templates so it only shows on those pages that you want.

    Comment

    • Scott MacVicar
      Former vBulletin Developer
      • Dec 2000
      • 13286

      #3
      Ask them to point you to the page as there isn't any blank pages as far as I'm aware on vBulletin.
      Scott MacVicar

      My Blog | Twitter

      Comment

      • Icheb
        Senior Member
        • Nov 2002
        • 1291

        #4
        "No content" doesn't have to mean a blank page. They don't want your ads on error or registration pages, so they could refer to those pages by saying "no content".

        Comment

        • dynamite
          Senior Member
          • Sep 2002
          • 565
          • 3.6.x

          #5
          Basically there are only 3 places you can put the code to keep from running into any problems (atleast I haven't had any so far, knock on wood, and I have been running it for about 6 months)

          FORUMHOME
          FORUMDISPLAY
          SHOWTHREAD

          Only put it on those pages and you should be OK.

          Comment

          • Deaconxgp
            Senior Member
            • Dec 2003
            • 224
            • 3.0.0 'Gold'

            #6
            thanks guys..how would I only put it on those pages dynamite?? Floris said conditionals but could someone let me know the conditionals lol...or let me know how you had it set to only do that dynamite...thanks.
            Unscripted 360 - Xbox 360 Community Podcast

            Comment

            • Scott MacVicar
              Former vBulletin Developer
              • Dec 2000
              • 13286

              #7
              <if condition="in_array(THIS_SCRIPT, array('index', 'forumdisplay', 'showthread'))">good stuff here</if>

              I think there are threads about it on the forum.
              Scott MacVicar

              My Blog | Twitter

              Comment

              • Deaconxgp
                Senior Member
                • Dec 2003
                • 224
                • 3.0.0 'Gold'

                #8
                so just put it like that Scott?
                Unscripted 360 - Xbox 360 Community Podcast

                Comment

                • jamslam
                  Senior Member
                  • Mar 2003
                  • 293
                  • 3.0.7

                  #9
                  Interesting... I simply have the google ads in my header template that displays on every page. I've had them up since the beginning of january and haven't had a problem.
                  http://www.webtrickscentral.com/images/wtcsig.jpg

                  Comment

                  • Deaconxgp
                    Senior Member
                    • Dec 2003
                    • 224
                    • 3.0.0 'Gold'

                    #10
                    maybe they're just picking on me then lol..i'll try the conditional thing right now.
                    Unscripted 360 - Xbox 360 Community Podcast

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎