Adding Adsense

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linda522
    Senior Member
    • Jun 2004
    • 128

    Adding Adsense

    Hi,

    Which file do I need to edit or where do I go to add the Google adsense on the bottom of the page right under the last post and above

    « Previous Thread | Next Thread »


    Thanks,
    Linda
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

    Find this code and add the red code:

    Code:
    <!-- controls below postbits -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr valign="top">
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    	<else />
    		<td class="smallfont">&nbsp;</td>
    	</if>	
    	<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    <!-- / controls below postbits -->
    
    <br />
    
    [color=red]<div align="center">
    	YOUR ADSENSE CODE HERE
    </div>
    
    <br />[/color]
    
    <div class="smallfont" align="center">
    	<strong>&laquo;</strong>
    		<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest">$vbphrase[prev_thread]</a>
    		|
    		<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest">$vbphrase[next_thread]</a>
    	<strong>&raquo;</strong>
    </div>
    
    <br />

    Comment

    • hotwheels
      Banned
      • May 2005
      • 271
      • 3.8.x

      #3
      awesome post...........i was able to align my adsense with this code..........thanks

      Comment

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