Im going to switch themes from molio to paul01 if the code has any differences I'll post it.
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Thats it man, thanks!!! Im going to switch themes from molio to paul01 if the code has any differences I'll post it. |
| |||
|
lunatechinc, have u changed it to paul01 templat?if yes then pls share ur experiance.is there any change needed for paul template?? |
| ||||
|
WOW. Crisp, clean write-up made this as clear as could be. Thanks a ton. Also - I have tested this on a site I completed today and as suspected - this appears to be working as advertised with the paul01 template on the latest beta. I haven't tested with any new users or alternate google adsense info since I have just the one account. Feel free to help me complete that testing (shameless plug) at thebigmashup.com |
| |||
| Quote:
Another method I've used to test is to add 'Users Adsense' and 'Sites Adsense' after the Adsense code blocks in the link_summary.tpl file like this: Code: {adsense assign=users_adsense}
{if $users_adsense}
<script type="text/javascript"><!--
google_ad_client = "{$google_adsense_id}";
google_alternate_ad_url = "";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="{$google_adsense_channel}";
google_color_border = "f6f6f6";
google_color_bg = "f6f6f6";
google_color_link = "330066";
google_color_text = "000000";
google_color_url = "330066";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>Users Adsense
{else}
<script type="text/javascript"><!--
google_ad_client = "Your Adsense ID number";
google_alternate_ad_url = "";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="Your Channel number";
google_color_border = "f6f6f6";
google_color_bg = "f6f6f6";
google_color_link = "330066";
google_color_text = "000000";
google_color_url = "330066";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>Sites Adsense
{/if}
|
| |||
| Quote:
Add the following code snip to the very end of the file: Code: //***** PlugIM.com mod: Adsense Revenue Sharing //<SECTION>GOOGLE ADSENSE REVENUE SHARING</SECTION><ADDED></ADDED> PLIGG_Visual_Google_Adsense_ID = "Google Adsense ID" PLIGG_Visual_Google_Adsense_ID_Explain = "(begins with: pub-)" PLIGG_Visual_Google_Adsense_Channel = "Adsense Channel (optional)" PLIGG_Visual_Google_Adsense_Channel_Explain = "(numerical value)" PLIGG_Visual_Google_Adsense_Only_Admins = "Only admins can see Google Adsense settings." //***** End PlugIM.com mod |
| ||||
| Quote:
Indeed. I had these in there but had accidentally added a couple of blank lines at the end of the file - after the code. Thank you both for the code and the tips. I imagine users will be PM'ing you for your paid assistance so I will leave you alone for now. |
| |||
| alt temp. Quote:
I'm using the paul01 template and just used the same instructions for mollio-beat and as far as I know everything is working correctly. Oh and Dravis, Thanks again for the write up. |
| |||
|
Where should I place the AdSense code (Step 6) within mollio-beat\link_summary.tpl if I want to show AdSense only when the full story is shown (not on the front page)?
__________________ Pligg - a Swiss version of Pligg (very much online) |
| |||
|
Let me rephrase my question: Will this mod work if I place the AdSense Code (Step 6) in mollio-beat/story_center.tpl instead of placing it in mollio-beat/link_summary.tpl? Any help is highly appreciated.
__________________ Pligg - a Swiss version of Pligg (very much online) |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google Adsense Revenue Sharing v0.1 problem? | mapperkids | General Help | 2 | 08-17-2008 10:54 PM |
| EASY NO WORRIES PAINLESS adsense revenue sharing mod placement mod guide | johntheentrepreneur | Modification Tutorials | 3 | 03-11-2008 01:47 PM |
| Google adsense revenue sharing, question | dadaas | Modification Tutorials | 0 | 10-03-2007 01:13 PM |
| Google Adsense Revenue Sharing v0.1 error for 9.6 | xbizsky | Modification Tutorials | 7 | 09-15-2007 06:35 AM |
| Adsense Revenue Sharing Placement Question??? | onouchs | General Help | 8 | 03-26-2007 06:14 PM |