Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2006, 02:07 PM
New Pligger
 
Join Date: Nov 2006
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Thumbs down an adsense header

I'd like to put AdSense ads on my pligg site (latest version, default template). I'd like the placement to be in between the PLIGG_Visual_Name and dropdown menus, and the main body of the site, just like digg.com has them.


Would I put the AdSense code in header.tpl, and if so, where?
Reply With Quote
  #2 (permalink)  
Old 11-12-2006, 02:17 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Place at the very top of link_summary.tpl or even index_center.tpl (front page) or shakeit_center.tpl (queued page)
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following 3 Users Say Thank You to kbeeveer46 For This Useful Post:
  #3 (permalink)  
Old 11-15-2006, 12:10 PM
New Pligger
 
Join Date: Nov 2006
Posts: 16
Thanks: 3
Thanked 0 Times in 0 Posts
what about for a side bar? what tpl page will show adsense on the sidebar?
Reply With Quote
  #4 (permalink)  
Old 12-13-2006, 11:49 PM
New Pligger
 
Join Date: Dec 2006
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Cool

Quote:
Originally Posted by kbeeveer46 View Post
Place at the very top of link_summary.tpl or even index_center.tpl (front page) or shakeit_center.tpl (queued page)
thanks!! worked almost too easily it scared me... knock on wood.
Reply With Quote
  #5 (permalink)  
Old 12-14-2006, 12:38 AM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,399
Thanks: 171
Thanked 439 Times in 278 Posts
you would add the code to sidebar.tpl
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #6 (permalink)  
Old 12-14-2006, 12:54 AM
New Pligger
 
Join Date: Nov 2006
Posts: 10
Thanks: 1
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by chuckroast View Post
you would add the code to sidebar.tpl

yes, sidebar is kool!
Reply With Quote
  #7 (permalink)  
Old 12-14-2006, 09:19 PM
Casual Pligger
 
Join Date: Oct 2006
Posts: 40
Thanks: 10
Thanked 1 Time in 1 Post
Quote:
Originally Posted by kbeeveer46 View Post
Place at the very top of link_summary.tpl
This works, however it also places 2 more google ads when I try it - under the 2 first posts. Know a way round this? I'd just like one per page to keep it less intrusive.

EDIT: Found a nice way to do it - just add the code to the story_center.tpl - that way the index page remains free of spam, I mean ads...

Last edited by mrplough; 12-14-2006 at 10:05 PM..
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Adsense Revenue Sharing Mod for 8.2 Dravis Modification Tutorials 38 03-13-2008 09:57 AM
Google adsense revenue sharing, question dadaas Modification Tutorials 0 10-03-2007 01:13 PM
Adsense API, automatically generating Adsense ID's for customers aaronpais General Help 4 05-07-2007 02:09 PM
Positioning Adsense in Header mbevon "Digital Nature" 1 01-28-2007 11:13 PM
Need help on CSS <h1> header </h1> kepin Template Support 5 02-22-2006 02:32 PM


Search Engine Friendly URLs by vBSEO 3.2.0