Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Help Needed In Setting Up AdSense In IPB
ganeshn11
post May 4 2006, 04:19 PM
Post #1


Advanced Member
Group Icon

Group: Banned
Posts: 149
Joined: 2-December 05
From: Bangalore, India.
Member No.: 9,923



Hey guys smile.gif , I just installed Invision Power Board on my AstaHost account. Everything is alright with the board. I just need to know how to add in those banner ads like this one AstaHost uses
IPB Image

After all this over I also need help in adding my Google Adsense ad on my forum (on the top left, for example right to AstaHost logo). If anyone here has signed up for the Google Adsense service, can give me the code for making by banner ads transperent because I dont seem to get the right color combination for my Invision Power Board default skin.

Sorry sad.gif , I forgot to mention it before, how do I add my Google Adsense code after every post?

Help my appreciated.
Thank you. unsure.gif
Go to the top of the page
 
+Quote Post
Houdini
post May 4 2006, 05:10 PM
Post #2


Super Member
Group Icon

Group: Members
Posts: 572
Joined: 25-April 05
From: Nashville Tennessee
Member No.: 4,340



Try this link to see if that don't help you a little Invisionze Forums
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 4 2006, 05:45 PM
Post #3


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



QUOTE(ganeshn11 @ May 4 2006, 11:19 PM) *

After all this over I also need help in adding my Google Adsense ad on my forum (on the top left, for example right to AstaHost logo). If anyone here has signed up for the Google Adsense service, can give me the code for making by banner ads transperent because I dont seem to get the right color combination for my Invision Power Board default skin.

Sorry sad.gif , I forgot to mention it before, how do I add my Google Adsense code after every post?

Help my appreciated.
Thank you. unsure.gif



I can instruct you about the Google Adsense part... Check out our board at Antilost.Org. To get the Google Ads in the header beside the logo, you got to do this:
  1. Login into your IPB Admin CP
  2. Click the tab Look & Feel
  3. For the Skin Set you're using, select Edit Template HTML from the dropdown menu beside it.
  4. Next select All Global HTML
  5. In the resulting panel, select gloabl_board_header
  6. Near the top of the code-block, find this code:
    CODE

    </script>
    <script type="text/javascript" src='jscripts/ipb_global.js'></script>
    <script type="text/javascript" src='jscripts/ips_menu.js'></script>
    <script type="text/javascript" src='{ipb.vars['img_url']}/folder_js_skin/ips_menu_html.js'></script>
    <!--ipb.javascript.end-->
    <div class="borderwrap">
        <div id="logostrip"><a href='{ipb.script_url}'><!--ipb.logo.start--><img src='style_images/<#IMG_DIR#>/logo4.gif' style='vertical-align:top' alt='IPB' border='0' /><!--ipb.logo.end--></a></div>
  7. Right after that add your google code.. example:
    CODE

    <div id="googleADS" style="background:  #DEF3FF; width: 100%;" align="center">
    <script type="text/javascript"><!--
    google_ad_client = "YOUR GOOGLE ADSENSE CLIENT ID";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text";
    google_ad_channel ="";
    google_color_border = "DFF2FD";
    google_color_bg = "DFF2FD";
    google_color_link = "0000CC";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>

    Replace the YOUR GOOGLE ADSENSE CLIENT ID with your own ID, but leave the rest alone - to get the exact colour match for the IPB Default Skin, like Astahost or IPB. It's been optimized for that in the 728 x 90 Leaderboard mode for Text-ONLY ADs.
NOTE: You CANNOT insert Google Adsense Ads after every message in your threads, as Google doesn't permit publication of more than 3 AD Units or related services in any given page. Which means, you cannot have more than 3 AD Units - in whichever format, or a combination of 3 AD Units and/or Firefox toolbar download links a and/or Google Search boxes - in any given page.

I can show you the method to embed a Google AD in every thread right after the FIRST POST in the thread, as I've done with Antilost. You can follow the instructions in the ZIP I've attached here to get that effect.


If you need any further clarification, don't hesitate to post back and I'll try my best to help you out here.

Regards,
m^e
Attached File(s)
Attached File  adsense.zip ( 944bytes ) Number of downloads: 110
 
Go to the top of the page
 
+Quote Post
cyborgxxi
post May 5 2006, 04:09 AM
Post #4


Premium Member
Group Icon

Group: Members
Posts: 342
Joined: 31-July 05
Member No.: 7,540



Well, there you go. Lots of people helped you on that, but he, I have to ask: Why do you want to add AdSense advertisements/banners after every post?? It sucks don't you know? I mean look at it from the user's point of view. It must be so freaking annoying to see those annoying pesky ads after every post!!!

I think you should lessen the frequency/amount of your advertisements. Every post is just... too much!!
Go to the top of the page
 
+Quote Post
ganeshn11
post May 5 2006, 05:29 AM
Post #5


Advanced Member
Group Icon

Group: Banned
Posts: 149
Joined: 2-December 05
From: Bangalore, India.
Member No.: 9,923



QUOTE(cyborgxxi @ May 5 2006, 05:09 AM) *

Well, there you go. Lots of people helped you on that, but he, I have to ask: Why do you want to add AdSense advertisements/banners after every post?? It sucks don't you know? I mean look at it from the user's point of view. It must be so freaking annoying to see those annoying pesky ads after every post!!!

I think you should lessen the frequency/amount of your advertisements. Every post is just... too much!!


Thats what I was thinking about all night, it would be seriously irritating for the user, and the page load time would aslo fall drasticaly. Thats why I am gonna put only one banner at the top right hand side, right next to the logo.
Thanks for your advice anyway.
Go to the top of the page
 
+Quote Post
phixon
post Mar 27 2007, 06:18 PM
Post #6


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 27-March 07
Member No.: 21,121



is the Zipfile link dead?
Go to the top of the page
 
+Quote Post
ollyman
post Jan 24 2008, 07:00 PM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 24-January 08
Member No.: 27,871



http://www.astahost.com/index.php?act=atta...post&id=342 reup pls
Go to the top of the page
 
+Quote Post
iGuest
post May 12 2008, 02:20 PM
Post #8


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



how to center google AdSense script
Help Needed In Setting Up AdSense In IPB

I have added google AdSense in my ipb board but I got it at the top right I wanna center it .How to do?

-reply by AnGeL
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Astahost Bb Code Needed - To Admins(5)


 



- Lo-Fi Version Time is now: 7th September 2008 - 11:44 PM