1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Placements of Google Adsense Ads in Forums

Discussion in 'Placement / Reviews / Examples' started by basiow, Feb 11, 2009.

  1. #1
    Placements of Google Adsense Ads in Forums​

    Source: http://adsense-secrets2009.blogspot.com/2009/02/google-adsense-ads-plcements-in-forums.html

    Many people asked about the best places of google adsense ads in forums without noise our visitors.
    First: Near to the "New Post" button.
    and the best type is ad link unit
    [​IMG]
    and about to do it is: goto FORUMDISPLAY from the admincp
    search on the next code
    
    
    </td>
     <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    <!-- / controls above thread list -->  
    
    PHP:
    you cad add the adsense code above that code
    Second: near to the Reply or comment Button:


    goto SHOWTHREAD


    and search on the below code
    </td> 
     <else /> 
      <td class="smallfont">&nbsp;</td> 
     </if> 
     <if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if> 
    </tr> 
    </table> 
    <!-- / controls above postbits -->  
    
    PHP:
    you cad add the adsense code above that code
    Third to put Your ad above the "What is going on now" Box
    [​IMG]
    To Do that goto FORUMHOME
    Search on
    <!-- whats going on box -->  
    PHP:
    Put your ad code above it
    There are another place
    Goto header
    goto the end of it and put ur ad code
    <!--  gl Adsense |soft2day.com/vb   --> 
     
    <center> 
    your adsense code here </center> 
     
    <!-- /  gl Adsense |soft2day.com/vb -->  
    
    PHP:


    And this way one of my fav. is on the left
    [​IMG]
    And tofd FORUMHOME
    search on the below line

    [PHP<!-- main -->[/PHP]
    Put your adsense ad code above it
    Also SEarch on
    <!-- /main -->  
    PHP:
    Then below it put
    <td valign="top" align="right" > 
       <table border="0" width="100%"> 
        <tr> 
            <td align="right" valign="top"> 
    <table border="1" cellspacing="0" style="border-collapse: collapse"> 
     <tr> 
      <td align="center"> 
        
    <!--  gl Adsense |soft2day.com/vb --> 
    <center> 
    your adsense code here </center> 
     
    <!--  / gl Adsense |soft2day.com/vb -->  </td> 
     </tr> 
    </table> 
         </td> 
     </tr> 
    </table> 
     </td> 
        </tr>  
    
    PHP:

    Those was agood places to put on the main page
    Note: Dont Forget that it is allowed only to put 3 adsense content max. on the same page and max 3 ald link units on the same page.

    Now Lets talk about putting the adsense code inside the sections and forums and posts


    for me my fav. way is to put above the currently users online and statics box
    [​IMG]
    todo: goto FORUMDISPLAY

    and search on
    <!-- Active Users in this Forum (and sub-forums) and Moderators --> 
    PHP:
    Put the below code above the previous php code
    gl Adsense |soft2day.com/vb   --> 
     
    <center> 
    Ur adsense code here </center> 
     
    <!-- /  gl Adsense |soft2day.com/vb -->  
    
    PHP:

    Now for putting the adsense code inside the thread
    there are many way to Put the Adsense code inside the thread but the best of them

    postbit_legacy Ùˆ SHOWTHREAD


    the first way is putting the adsense code inside the threed before the its content
    the second way is putting your adsense code near the fast quote button



    Now First : putting the adsense code inside the threed before the its content
    goto postbit_legacy
    and search on
    <!-- message -->[PHP]
    add below it this
    [PHP]<!--  gl Adsense |soft2day.comvb   --> 
     
     
    <if condition="$post[postcount] == 1"> 
    <if condition="THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid'])"> 
     
    your adsense code here
    <if condition="$show['spacer']"></div>$spacer_close</if> 
    </if>     
    </if> 
    <!-- /  gl Adsense |soft2day.com/vb -->  
    
    PHP:

    The secodnd way goto SHOWTHREAD

    Search on
    <if condition="$show['quickreply']">  
    
    PHP:
    add above it this
    <br />  
     
      <table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%"> <tbody><tr> <td class="thead"  align="center"> <div class="normal">  
       <p align="right">إعلانات عشوائية  
         </div> </td> </tr> <tr> <td class="alt1" align="center"> <div> <center>    
     
    <!--  gl Adsense |soft2day.com/vb   --> 
     
    Your adsense code here
    <!-- /  gl Adsense |soft2day.com/vb --> 
     
      </center> </div> </td> </tr> </tbody> </table>   
    <br />  
    
    
    
    PHP:
     
    basiow, Feb 11, 2009 IP