Adsense Revenue Sharing Mod for 8.2

Register an Account
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 12-01-2006, 12:39 AM
New Pligger
 
Join Date: Nov 2006
Posts: 3
Thats it man, thanks!!!

Im going to switch themes from molio to paul01 if the code has any differences I'll post it.
Reply With Quote
  #12 (permalink)  
Old 12-02-2006, 03:40 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 50
lunatechinc,
have u changed it to paul01 templat?if yes then pls share ur experiance.is there any change needed for paul template??
Reply With Quote
  #13 (permalink)  
Old 12-03-2006, 10:59 PM
thebigmashup's Avatar
New Pligger
 
Join Date: Dec 2006
Posts: 3
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
Reply With Quote
  #14 (permalink)  
Old 12-04-2006, 12:56 AM
Casual Pligger
 
Join Date: Jun 2006
Location: Dover, NH
Posts: 49
Quote:
Originally Posted by thebigmashup View Post
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
You don't need to have two legit Adsense accounts to test this with. You can just put in a fake number for the second account and it'll either display Google public service ads, or a file not found error where the Adsense block should be.

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}
This just displays the text after the Adsense ads so you can keep refreshing the page and see that the Adsense ID's are alternating randomly depending on what percent revenue sharing you've set.
Reply With Quote
  #15 (permalink)  
Old 12-04-2006, 08:32 AM
thebigmashup's Avatar
New Pligger
 
Join Date: Dec 2006
Posts: 3
Thanks for the tip on not needing another adsense account.

In testing I have set the font color to red in my ads and left the default for the others in order to see the results. (80/20 by default on thebigmashup)

I am seeing ':' in the registration fields for the adsense information instead of the appropriate titles...but I haven't had a chance to see if that is expected behavior...
Possibly this is because I am registering a simulated new user from the same IP address - in order to prevent adsense account mixups. I will take a look at this today to see if that is the case or if I hosed something up on my end.
Reply With Quote
  #16 (permalink)  
Old 12-04-2006, 09:04 AM
Casual Pligger
 
Join Date: Jun 2006
Location: Dover, NH
Posts: 49
Quote:
Originally Posted by thebigmashup View Post
I am seeing ':' in the registration fields for the adsense information instead of the appropriate titles...but I haven't had a chance to see if that is expected behavior...
It sounds like you may have missed or overwritten the mods to libs\lang.conf:

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
Reply With Quote
  #17 (permalink)  
Old 12-04-2006, 09:50 AM
thebigmashup's Avatar
New Pligger
 
Join Date: Dec 2006
Posts: 3
Quote:
Originally Posted by Dravis View Post
It sounds like you may have missed or overwritten the mods to libs\lang.conf:

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.
Reply With Quote
  #18 (permalink)  
Old 12-04-2006, 07:15 PM
New Pligger
 
Join Date: Nov 2006
Posts: 3
Quote:
Originally Posted by newskicks View Post
lunatechinc,
have u changed it to paul01 templat?if yes then pls share ur experiance.is there any change needed for paul template??
Hey newskicks,

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.
Reply With Quote
  #19 (permalink)  
Old 12-06-2006, 08:39 AM
Casual Pligger
Pligg Version: 995
Pligg Template: Yget
 
Join Date: Sep 2006
Posts: 58
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)?
Reply With Quote
  #20 (permalink)  
Old 12-06-2006, 03:01 PM
Casual Pligger
Pligg Version: 995
Pligg Template: Yget
 
Join Date: Sep 2006
Posts: 58
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.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google adsense revenue sharing, question dadaas Questions and Comments 2 03-30-2011 07:01 AM
Google Adsense Revenue Sharing v0.1 error for 9.6 xbizsky Questions and Comments 8 11-16-2009 05:27 AM
EASY NO WORRIES PAINLESS adsense revenue sharing mod placement mod guide johntheentrepreneur Questions and Comments 6 12-07-2008 03:05 AM
Google Adsense Revenue Sharing v0.1 problem? mapperkids Questions and Comments 2 08-17-2008 11:54 PM
Adsense Revenue Sharing Placement Question??? onouchs Questions and Comments 8 03-26-2007 07:14 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development