pspmaster93
10-31-2007, 10:00 PM
This modification is based on MARKETPROFIT's: Adsense In High User Activity Area Part 1 And 2.
But I had some problems with his modification and i found out a way easier way to do it so I decided I would post this.
What this modification does:
Adds a google advertisement directly above the NEW THREAD and POST REPLY button.
SEE IMAGES
Install:
In the FORUMDISPLAY template search for:
<!-- controls above thread list -->
Add directly below:
<script type="text/javascript"><!--
google_ad_client = "pub-********";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_color_border = "0067D1";
google_color_bg = "e0eeff";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
In the SHOWTHREAD template search for:
<!-- controls above postbits -->
Add directly below:
<script type="text/javascript"><!--
google_ad_client = "pub-********";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_color_border = "0067D1";
google_color_bg = "e0eeff";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
And your done.
Make sure you change pub-******** to your google PUB ID when posting the adsense codes.
There will now be an ad directly above your top POST REPLY and NEW THREAD buttons when viewing a post or forum.
This will also earn you more revenue because people always click those buttons (area is high traffic) and they might even accidentally click the ad earning you $$$
But I had some problems with his modification and i found out a way easier way to do it so I decided I would post this.
What this modification does:
Adds a google advertisement directly above the NEW THREAD and POST REPLY button.
SEE IMAGES
Install:
In the FORUMDISPLAY template search for:
<!-- controls above thread list -->
Add directly below:
<script type="text/javascript"><!--
google_ad_client = "pub-********";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_color_border = "0067D1";
google_color_bg = "e0eeff";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
In the SHOWTHREAD template search for:
<!-- controls above postbits -->
Add directly below:
<script type="text/javascript"><!--
google_ad_client = "pub-********";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_color_border = "0067D1";
google_color_bg = "e0eeff";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
And your done.
Make sure you change pub-******** to your google PUB ID when posting the adsense codes.
There will now be an ad directly above your top POST REPLY and NEW THREAD buttons when viewing a post or forum.
This will also earn you more revenue because people always click those buttons (area is high traffic) and they might even accidentally click the ad earning you $$$