![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Quote:
i think you're request will require a more thorough programming/modification of the code. honestly, can't figure out how will it be =) nevertheless, you can still use Adsense. just limit it to images (and not text links) so that it will show images related to your content
__________________ Viral Videos Vault |
| Sponsored Links |
|
Check out the New Templates at the Pligg Pro Shop.
|
| ||||
| Nevermind then, I'll live without that for now. Was a nice idea though. |
| |||
| I did a little tinkering today. I enabled adsense revshare and I wanted that to work in conjunction with my adsense ads in my header.tpl. The following code displays my site logo on the left and uses my AdSense ID on all pages except the story page of any of my users who have plugged in their own ID, where we will split the ad exposure at the default 50/50 for now: PHP Code: Replace the "xxxxxxxx" in two instances of "google_ad_channel ="xxxxxxxxx";" with your ad channel ID or remove the x's and leave empty if you don't use channels. I set up a few channels at google adsense so I can see if clicks are coming from my ads on story pages or on published or upcoming pages. Do not edit "google_ad_client = "{$google_adsense_id}";" or "google_ad_channel ="{$google_adsense_channel}";" as those are related to your users' adsense ID and channel. I tested it pretty thorougly tonight and it works just dandy. :) Last edited by Critter183 : 03-18-2007 at 10:15 PM. |
| |||
| {literal} Why is it that when using this technique on sidebar.tpl it says to put {literal} inside of the if conditional but on pligg.tpl it does not say to do this. Why is this? What does {literal} do? |
| |||
| Anyone know if there is code available for the yget template for displaying ads in the sidebar? |
| |||
| Yget template ads integration I'd also appreciate an update to the tutorial that outlines how to integrate adsense with the Yget Template. Thanks in advance. Adam. |
| ||||
| For adding adsense to the sidebar and header in yget reference this thread. how to add a logo and Google AdSense like this Hope this helps. For a demo of how I have implemented in on my 'playing around with pligg site' check out gordonkeithwannabe.com - be careful though some of the content is not safe for work(for 'bad' language reasons') Be Well, OneLessThang Last edited by onelessthang : 04-14-2007 at 03:31 PM. |
| |||
| Which thread? |
| ||||
| |||
| I have created another tutorial, now for the Yget template. Read it here: http://www.maranan.us/archives/pligg...yget-template/
__________________ Viral Videos Vault |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pligg and Advertising | popo | General Help | 2 | 01-16-2007 12:16 AM |
| Pligg Fundraiser | Yankidank | Retired Threads | 21 | 10-25-2006 04:17 PM |
| Page titles & breadcrumbs | AshDigg | Core Development | 11 | 06-30-2006 06:35 PM |





Linear Mode

