StaticNine Suporters
BAKERMEDIA
JIXER
DLPHOST
MICRODOTED
LOWLAYIN PRODUCTIONS
BARGAIN MONKEY
DRUNKSTUNTS
RAZORS EDGE
SQUARE IN THE NUTS
B-DIAMOND
ASPIRIN99
JESS1217
GRIMCITY
MEDIAGAB
JAKE25

Sponsored Links
YAHOO!
GOOGLE
FREE FLATSCREENS!
YOUR LINK HERE

Shout Box

StaticNine.com Forum Index
 
Google Adsense Placement

 
Post new topic   Reply to topic    StaticNine.com Forum Index -> Technology Support and Info
View previous topic :: View next topic  
Author Message
SWM
Site Admin


Joined: 21 Jul 2004
Posts: 425
Location: Boston, MA

PostPosted: Sat Mar 19, 2005 4:40 am    Post subject: Google Adsense Placement Reply with quote

Red, i would like to put em as you suggested in my test forum. do you know where i would need to edit the code to get them in that area?
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
RedWolves2
StaticNine Moderator


Joined: 23 Feb 2005
Posts: 132

PostPosted: Sat Mar 19, 2005 4:48 am    Post subject: Reply with quote

Yeah in the same spot as I did mine probably ... although it might be different since your using a different theme.

Let me check where mine was at.


Oh while I am thinking about it you should set up your alternate ads to go to Amazon. That way instead of the public service ads that you don't get paid for you can display a amazon ad instead.
Back to top
View user's profile Send private message Visit poster's website
RedWolves2
StaticNine Moderator


Joined: 23 Feb 2005
Posts: 132

PostPosted: Sat Mar 19, 2005 4:53 am    Post subject: Reply with quote

OK in my template directory for my theme there is a viewtopic_body.tpl file which I put this code on the second line after the first table tag.

Code:
<tr>
   <td align="center" valign="middle" colspan="2">
      <script type="text/javascript"><!--
      google_ad_client = "pub-8946680209753321";
      google_alternate_ad_url = "http://www.mediagab.com/blog/netflix-ad.html";
      google_ad_width = 728;
      google_ad_height = 90;
      google_ad_format = "728x90_as";
      google_ad_channel ="2506571116";
      google_ad_type = "text";
      google_color_border = "CCCCCC";
      google_color_bg = "FFFFFF";
      google_color_link = "000000";
      google_color_url = "666666";
      google_color_text = "333333";
      //--></script>
      <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
      </script>
   </td>
  </tr>


That will only add the ad to the top of the Topic page and not on the rest of the forum...I like that as it gives more relevant ads instead of just ads to hosting and other types php bb's.

If you want it on the whole forum you can just add your code to the last line of overall_header.tpl in the same directory.

Let me know if you need help.
Back to top
View user's profile Send private message Visit poster's website
SWM
Site Admin


Joined: 21 Jul 2004
Posts: 425
Location: Boston, MA

PostPosted: Sat Mar 19, 2005 5:12 am    Post subject: Reply with quote

cool, i look into this when i get a sec.

Hey, read this mod man, i did those three simple instructions, but i dont get how this upload script works, or how to use it? i think you know more about scripting and such...obviously...

http://www.phpbb.com/phpBB/viewtopic.php?t=267031
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
RedWolves2
StaticNine Moderator


Joined: 23 Feb 2005
Posts: 132

PostPosted: Sat Mar 19, 2005 5:22 am    Post subject: Reply with quote

Navigate to where you have the script installed and see what happens.
Back to top
View user's profile Send private message Visit poster's website
SWM
Site Admin


Joined: 21 Jul 2004
Posts: 425
Location: Boston, MA

PostPosted: Sat Mar 19, 2005 5:28 am    Post subject: Reply with quote

i got it working im and idiot. i had it all uploaded, but i hadnt renamed the final file index.php so it would run when called. anyways, check it out...use your forum login data to test it....ill pm you and shim the info, i dont wanna use it on the forum just yet.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
RedWolves2
StaticNine Moderator


Joined: 23 Feb 2005
Posts: 132

PostPosted: Sat Mar 19, 2005 5:36 am    Post subject: Reply with quote

That's cool but also wierd...how is that a Mod for phpBB...it is so separate from the board it isn't even funny.

The only thing it uses is the database for the login.

I don't know how useful that might be to you on this forum SWM.
Back to top
View user's profile Send private message Visit poster's website
SWM
Site Admin


Joined: 21 Jul 2004
Posts: 425
Location: Boston, MA

PostPosted: Sat Mar 19, 2005 5:41 am    Post subject: Reply with quote

yeah, like i said, just testing it and looking for input, i see ZERO benefit for it, the guy who wrote it said it was specifically done so for the people who just needed to have this ability, wasnt meant to be fully integrated, i guess the ACTUAL attachments Mod is a fairly tricky install so this was made as an easy install/setup alternative. wont suit me though.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    StaticNine.com Forum Index -> Technology Support and Info All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
 
A phpBB Design by SkaidonDesigns