Show Error when i enable Google Adsense Revenue Sharing v0.1

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-04-2008, 08:51 AM
bhatiacane's Avatar
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: wistie
 
Join Date: Jul 2007
Location: Country : INDIA, State : Uttar Pradesh, City : Bareilly
Posts: 119
Send a message via Yahoo to bhatiacane Send a message via Skype™ to bhatiacane
Show This Error when i enable Google Adsense Revenue Sharing v0.1 :

i am using latest version of pligg 9.9

Fatal error: TPL: [in ../modules/share_revenue/templates/show_ads.tpl line 3]: syntax error: adsense function does not exist (class.compiler.php, line 485) in C:\Inetpub\vhosts\onlineequitycalls.com\httpdocs\c lass.template.php on line 923
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 09:11 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Try clearing your templates_c folder then refreshing the page.

Geoserv.
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 01:07 AM
bhatiacane's Avatar
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: wistie
 
Join Date: Jul 2007
Location: Country : INDIA, State : Uttar Pradesh, City : Bareilly
Posts: 119
Send a message via Yahoo to bhatiacane Send a message via Skype™ to bhatiacane
Dear Geoserv,

My problem not solved as per ur suggestion
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:58 PM
New Pligger
Pligg Version: 9.9
Pligg Template: default
 
Join Date: Jan 2008
Posts: 4
same problem over here.
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 08:01 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,835
I'm guessing you are all getting this error beceause you didn't move the adsense_function.php file into the /plugins folder as per the instructions in the readme.


Download the full Pligg Module Pack





Reply With Quote
  #6 (permalink)  
Old 01-06-2008, 03:20 AM
bhatiacane's Avatar
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: wistie
 
Join Date: Jul 2007
Location: Country : INDIA, State : Uttar Pradesh, City : Bareilly
Posts: 119
Send a message via Yahoo to bhatiacane Send a message via Skype™ to bhatiacane
Thanks "chuckroast" problem solved...
Reply With Quote
  #7 (permalink)  
Old 01-06-2008, 03:43 AM
bhatiacane's Avatar
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: wistie
 
Join Date: Jul 2007
Location: Country : INDIA, State : Uttar Pradesh, City : Bareilly
Posts: 119
Send a message via Yahoo to bhatiacane Send a message via Skype™ to bhatiacane
Quote:
Originally Posted by chuckroast View Post
I'm guessing you are all getting this error beceause you didn't move the adsense_function.php file into the /plugins folder as per the instructions in the readme.
This is my code in httpdocs/templates/yget/show_ads.tpl

but show in my website this id pub-7688534628068296 ads...

<center>
<br />

{adsense assign=users_adsense}
{if $users_adsense}

{* this part shows the users adsense id *}

<script type="text/javascript"><!--
google_ad_client = "{$google_adsense_id}"; {* dont change this line *}
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}"; {* dont change this line *}
google_color_border = "ffffff";
google_color_bg = "ffffff";
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>
{else}

{* this part shows your adsense id *}

<script type="text/javascript"><!--
google_ad_client = "pub-8333014526344824"; {* be sure to put your adsense id here *}
//OnlineEquityCalls.com : Google-Adsense 468x60
google_ad_slot = "8824235956";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
{/if}
</center>
Reply With Quote
  #8 (permalink)  
Old 01-07-2008, 07:31 AM
bhatiacane's Avatar
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: wistie
 
Join Date: Jul 2007
Location: Country : INDIA, State : Uttar Pradesh, City : Bareilly
Posts: 119
Send a message via Yahoo to bhatiacane Send a message via Skype™ to bhatiacane
problem solved
Reply With Quote
  #9 (permalink)  
Old 01-09-2008, 10:29 AM
New Pligger
Pligg Version: 9.9
Pligg Template: pligg
 
Join Date: Jan 2008
Posts: 11
once I copied the file, the problem got solved. But there is only 1 adsense ad displaying at the bottom. Is it possible to get more adsense ads in sidebar or near content? thanks for your solution.
Reply With Quote
  #10 (permalink)  
Old 02-06-2008, 05:50 AM
Koshin's Avatar
New Pligger
Pligg Version: 9.9.0
Pligg Template: Convergence v9.9.0
 
Join Date: Jan 2008
Posts: 28
I had the same problem it would be nice if someone can create a sidebar one too...
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Adsense Revenue Sharing v0.1 error for 9.6 xbizsky Questions and Comments 8 11-16-2009 04:27 AM
Google adsense revenue sharing, question dadaas Questions and Comments 1 11-16-2009 04:19 AM
Adsense Revenue Sharing Mod for 8.2 Dravis Questions and Comments 39 03-02-2009 01:16 PM
Error - Google Adsense Revenue Sharing v 0.1 a1omads Questions and Comments 10 10-29-2008 12:17 PM
Google Adsense Revenue Sharing v0.1 problem? mapperkids Questions and Comments 2 08-17-2008 10:54 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