Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.

Other Posts
What is the AdSense System ?
Download



How to use this plugin

You have to upload the file adsense-sharings.php in your plugin directory (default is /wp-content/plugins/).

After this go to Plugins -> Author AdSense Config.

You should see something like this:
adsenseoptions.jpg

Here you have to enter admin’s google ID (something like pub-1234567890123), set the percentage ratio (admin:authors impressions, default is 50:50), set the user level that will be able to use their own google adsense ID.

The next step is to enter your google adsense user/pass in order to view your daily earnings. Go to “AdSense Revenue” menu:

adsenseearnings.jpg

You can alose enter the date range you want to see information (impressions/clicks/ctrs/earnings). Default is 10.

And the final step is to ask your authors to enter their own google adsense IDs.

This option is in Dashboard -> My Adsense:

adsensearea.jpg

The next step is very important - you have to modify your theme in order to display google adsense ads.

The Google AdSense code is something like this:

< script type="text/javascript">
google_ad_client = “pub-XXXXXXXXXX”;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = “728×90_as”;
google_ad_type = “text_image”;
google_ad_channel =”";
google_color_border = “99C9FF”;
google_color_bg = “FFFFCC”;
google_color_link = “000000″;
google_color_text = “000000″;
google_color_url = “008000″;
< /script >
Note the bolded line - this is what you shoud change in order to display the correct author ID.
You have to replace pub-XXXXXXX with this code:
< ? php $id=$post->post_author; $google_id = kd_get_google_id($id); echo
$google_id; ?>

You should do this only in the first adsense ad - for the rest you just have to use < ?php echo $google_id; ?>

The final code shoud look like this for your first ad:

< script type="text/javascript">
google_ad_client = “ < ? php $id=$post->post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = “728×90_as”;
google_ad_type = “text_image”;
google_ad_channel =”";
google_color_border = “99C9FF”;
google_color_bg = “FFFFCC”;
google_color_link = “000000″;
google_color_text = “000000″;
google_color_url = “008000″;
< /script>

and for the rest ads:

< script type="text/javascript">
google_ad_client = “ < ? php echo $google_id; ?>“;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = “728×90_as”;
google_ad_type = “text_image”;
google_ad_channel =”";
google_color_border = “99C9FF”;
google_color_bg = “FFFFCC”;
google_color_link = “000000″;
google_color_text = “000000″;
google_color_url = “008000″;
< /script>

Note: you should remove the space intervals in order to get this stuff work :)

!!!!!! WARNING !!!!!!!!

!!!!!!!!! YOU ARE NOT ABLE TO USE 2 DIFFERENT ADSENSE IDs ON THE SAME PAGE !!!!!!!!

!!!!!!!!!!!!!!!!!! CHANGE EVERY “GOOGLE_AD_CLIENT=”pub-XXXXXXXXX” TO USE EXACTLY ONE ID !!!!!!!

If you have installation problems - please, write here in the comments, I will help you as soon as I can :)



Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Thanks for sharing this plugin , will try and let u know .

from dp . :)

what’s the idea/problem behind the “only one id” limitation? is it because of limitations in the plugin or because of potential trouble with google?

Gerald Steffens, otherwise will be agains google TOS, here is written “only one pubID for a page” :)

Thanks for sharing this plugin but after I activated it I got this error message: Fatal error: Unknown function: curl_init() in /data/web/virtuals/by8.org/www/wp-content/plugins/adsense-sharings.php on line 61

What can be wrong?

Are you able to use CURL ?

I know some primitive things about CURL but I’m not able to use it, and I think php version on the server of my hosting company is old and doesn’t know what CURL does. Maybe I can edit the code and make it not showing the revenues, just saving AdSense IDs.

Thanks for the plugin. At first install everything worked great. That was yesterday. Today, I can’t click on the Adsense Author Config. A box pops up saying can’t load internet page http://whooptie.com/wp-admin/plugins.php?page=author-adsense-admin and operation aborted. Any ideas? I did change to a different theme, but even going back to the old theme doesn’t make any difference. The ads are showing up, but I don’t know if they’re tracking. Thanks!

Terry, sorry to hear that.. I think its not from the script.. maybe from your servers?

Ali Kayhan, sure you can do this without showing your earnings - open the .php file in notepad and comment evrything with CURL :)
If you cant handle this - write me once again, will do this for you :)

Yes, I edited code (not edited indeed, just destroyed CURL lines.) and it works now. I informed my hosting company about the situation of CURL extension, when they install it on PHP, I’ll begin to use full :) version of this plug-in. Thanks again, to my neighbour country. :)

No problem Ali Kayhan :)

Atanas, well today the plugin works fine again. So, it must be something with my servers. Sorry for the unnecessary message.

I do have another question. The template I’m using pulls in the Adsense code using PHP includes. Will that effect the program’s ability to know what user’s Adsense ID to use?

Well Terry, this uses global vars, so, if you can put something like
“global $google_id” in your code shoud work.. otherwise, I would recommend you to use sessions and store these the $google_id value, so you won’t have to use the “global” definition in every file you include.

Let me know if you cant handle this, I will help you step by step with this :)

How to put ads on articles.
is this same as plugin used by my blog ?

Sorry, I can’t understand you :)

Can this plugin works on WPMU ?

Does it work with wp mu?
Thanks.

Should work :)

This is something I was looking for!

Great Work!

But like blog.worldvillage.com, If you can add the feature of Entering “Channel” , users will know about the specific click and impression. It will increase their participation of putting content in the website.

Can you add the feature of Adding Channeld Id?

Thanks

Linu

No problem about this…
But Google Adsense DO have this option already ;)

You can simply enter URL to track - there is no need to enter channelIDs - just put the url in your adsense tracking list and that’s all ;)

blog.worldvillage.com aske me to enter Channel ID ad an Optional Feild. It is useful

I don’t how URL trackc works.

User may add Our Homepage url to track, but if the ads are being displayed in sub pages, will he get the report?

I think channed ID will work much better.

Can you add that option too?

Let me if you can..

Thanks

Yea, will do this when I have time :)

You can track the domain - not only homepage ;)
Go to Settings -> channels-> URL channels :)

I have a IPB (Invision Power Board)discussion forum at my website. Is there any way, I can use this with IPB and if so how can I do that?

Kindly assist.

No, this is for wordpress only :)

I’m sure there is something and for IPB, but dont know :)

I tryed this but it’s no good. please make a better help guide.Whhen I paste
google_ad_client = “ post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = “728×90_as”;
google_ad_type = “text_image”;
google_ad_channel =”";
google_color_border = “99C9FF”;
google_color_bg = “FFFFCC”;
google_color_link = “000000″;
google_color_text = “000000″;
google_color_url = “008000″;

in my template adsense don’t show up.

it looks like this plugin doesn’t allow editors to input their adsense ID. is that true? if so, is there a hack to allow for it?

google_ad_client = "post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>"; working fine in header but
outputs nothing in the adsense code. why ?


outputs nothing

Bloggero, copy&paste the example I gave you, something is wrong with your php code :)

paul, editor=admin?
In this plugin only the admin’s and the author’s pubID are used :)

I ‘ fix my first problem. and I add the first adsense ad in the header, the second ad from the body seems to forget the pub id stored in $google_id. (Sorry for my wrong comments)

You can store this in session variable, so you can avoid this problem.

Let me know if you cant handle this :)

Hi,

Cool plugin. However, I was under the impression after reading Google’s TOS that you cannot IN ANY WAY alter the Google adsense code that they give you - other than changing the formats, ID #s, channel ID, etc… BUT it looks like you have to change the pub-ID completely by adding new code to it.

google_ad_client = “ post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”;

OR

google_ad_client = “ “;

Am I right when I’m saying that this is against Google TOS since you’re totally changing the script code by adding the php code into it?

Otherwise, cool plugin.

It is totally ok according to Google - the pub ID is pure text, so there is no modifications of the code in any way that Google has something against :)

Thanks for the feedback.

So even though we’d be adding..

“post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”

…to the provided Google code, that’s not considered “altering” the code? It seems that we would be altering the code that’s provided to us by Google if we change ANYTHING other than the plain text of the pub-ID or ad formats, etc… Since we’re adding code to the Google google_ad_client area, it just seems like we’d be altering their code. But I may be wrong. I just don’t want to screw up and get banned. :)

Thanks for your help

You can trust me - I am using this and I am getting money from this ;)
It is not against Google’s TOS, but you can always ask Google team about this :)

Is there something wrong with the file? The file that is getting downloaded seems to be missing a lot of stuff. It was a .rar file, not a php file. It isn’t bringing up the plugin in cp so there is definately something wrong with what is coming with the download.

Is this plugin still available?

Yeah, it IS rar file - unrar it, then upload the .php file ;)

Hi, I have trouble integrating your great work into WPMU. In the admin section of the siteowner everything is good, but in the bloggers admin I get:
[code]
The database table is not installed, check your db permissions and activate the plugin again or run the following code in phpMyAdmin

CREATE TABLE wp_7_author_adsense ( id mediumint(9) NOT NULL auto_increment, author_id int(11) NOT NULL default ‘0′, author_adsense text NOT NULL, PRIMARY KEY (`id`) );
[/code]

What should I do?

I would create manually this table
CREATE TABLE wp_7_author_adsense ( id mediumint(9) NOT NULL auto_increment, author_id int(11) NOT NULL default ‘0′, author_adsense text NOT NULL, PRIMARY KEY (`id`) );

Yeah I tried that, but this is on WPMU as in Multi User. So I can’t manually create tables for every new user…

Ah sorry, will put this fix in the to-do-list ;)

Hi,

Love the idea behind this and would like to implement it on my site. I use the MightyAdsense plugin to display ads on my posts but when I input the code for the pub id the ads fail to show, they’re just blank. Maybe I’m missing something. A view of the source code of the page shows the php includes string like you said to input into the pub-id spot.
Any help would be greatly appreciated.

Thanks,
Chris.

Can you please post here exactly what code is being displayed to the users?

Hi Alex,

The code is the same adsense code except the pub-id spot shows post_author; echo kd_get_google_id($id); ?> and not the publisher’s id or mine. It just shows that between the quotes. The adsense ad unit is blank when that happens.
Any ideas?

Chris.

I’m afraid in this case you wont be able to use this plugin, since the plugin renders text, not php code, which is needed to show the right pubids;

I will take a look at this plugin later this week and will try to fix this :)

Thanks Atanas. I’d really appreciate it if you’d take a look and see if there was a way to get this to work. The plugin I use to insert Adsense onto my pages is perfect for my use and if I could get the revenue sharing to work it would all that I need.

Thanks again,
Chris.

I’m getting an error:

The database table is not installed, check your db permissions and activate the plugin again or run the following code in phpMyAdmin

CREATE TABLE wp_7_author_adsense ( id mediumint(9) NOT NULL auto_increment, author_id int(11) NOT NULL default ‘0′, author_adsense text NOT NULL, PRIMARY KEY (`id`) );

Is there a fix for that?

Chris, sorry I was not able to track this problem till now :(
Will do my best until end Friday, will let you know by email :)

Chap,are you using MU version ? Few posts back Daan reported about this issue. If you are not using MU - let me know your wp version and mysql version :)

I am getting an error in the spaces where the ads should be appearing.

The webpage cannot be found

Any ideas?

Did you changed something?
New plugins, new theme?

Ok,
My adsense include file has:

google_ad_client = “ post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”;

When I hardcode it with myclient id, it works. I tried adding the global $google_id in my themes didn’t help.

Also when I view html it still shows the lines. It is not parsing that line below and showing it as text:

google_ad_client = “ post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”;

Thanks.

From where are you including this adsense code?

This should be hardcoded in your wp template in order to pass the vars correctly

what a great plug in.

Hi,
I have a problem with this plugin. I installed it and the displaying of the ads are works fine, but the comments on each post appears on the first post of my blog. This only happens when I put the PHP code replacing the ads-id.
Any ideia for that?
I’m using the plugin 1.0 because I can’t find the 1.1 version.
Thank you.

Could you please use the adsense sharing plugin in stand-alone version ? You can find it here:

http://www.kinkydress.com/php-scripts/author-adsense/

If you still want to use the Earnings plugin - take a look at http://adsense-wordpress-plugin.ayanev.com/

Please, let me know if your problem continues :)

So basically it’s not a sharing plugin anymore right?

Thanks guy. I love it

Andy, it IS sharing plugin ;)

Hi,

I’m having the same problem as Daan and Chap, and was wondering if you had fixed this error so WPMU users could use the plugin. It’s this error:
“CREATE TABLE wp_7_author_adsense ( id mediumint(9) NOT NULL auto_increment, author_id int(11) NOT NULL default ‘0′, author_adsense text NOT NULL, PRIMARY KEY (`id`) );”

Thanks.

It cannon be installed: Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /pub/bylijswa/bylijsmezde.cz/web/www/wp-content/plugins/adsense-sharings.php on line 121 Warning: mktime() expects parameter 5 to be long, string given in /pub/bylijswa/bylijsmezde.cz/web/www/wp-content/plugins/adsense-sharings.php on line 143 $ on

Hello
I’ve installed the plug in and everything seems to be OK, I’ve a problem when i try to put the in the Google_ad_client, the ads show but ” Ads by Google ” and the ad format is disappeared which is against the Google TOS, so what should i do !

I also get the same error …

mktime() expects parameter 5 to be long, string given in /pub/bylijswa/bylijsmezde.cz/web/www/wp-content/plugins/adsense-sharings.php on line 143 $ on

7wthijcwhiwedmc

i got following error to. how can i fix tihs?

Warning: mktime() expects parameter 5 to be long, string given in /home/eanlatco/public_html/wp-content/plugins/adsense-sharings.php on line 143
$ on

Great plugin, thanks for sharing this :)

[…] Visit […]

thanks for this script. I would like to place the script in the header and footer. When I place in the header it works like a charm, but the footer shows ” ” instead of an id. When I place in single.php (per post) it works wonders. Problem is there are now no ads on the main page, where I was getting the most clicks before install. I am using the tiga theme. Please let me know if there is a way to do this. The other option, is a way to put the Adsense script in the header, and then it to be removed when it goes to the single post, so it’s not doubled up at the top. Make sense? I think the

Hi, I use an iframe to call adsense code contained in a seperate php file. will this plugin work with adsense code that is in a seperate php file that will be called by an iframe in the blog??

Thanks,
Colin

Does this work with adsense deluxe plugin coz there we have to give our adsense pub-id in the code. How will revenue sharing override that?

[…] Information : here Instructions : here Download : here […]

Two questions:
1)
I have an adsense search unit before the adsense units; the format unit is sligthly different. Do I replace the pub id here with the long string?

2)
I get the same error as others have described where the pub id isn’t outputted. The adsense code is in a sidebar (include) that is called from the main template - is that a problem?

Ok, I have the plug-in installed. Now how does an author contribute and add his adsense information?

You definitely need to get approval from Google on this.
The code is getting CHANGED, and is explicitly against the TOS.
I’m curious if the author ever asked them.
Just because you are making money from it does not mean they know about the changes.

I think the Google approval of this plugin has been discussed already in the comments. There are also some forum threads online that have Google’s response to this and similar plugins where they make the distinction between Adsense code use in a toolbar or a script and since this is considered a script and the pub ID is pure text it is ok with them.

Anyone got this running on WPMU and knows what changes need to be made to the original source?

thanks for sharing this plugin. i will definitely try this one.

Alright, I’ve read the comments from top to bottom and I don’t think my question is answered yet.

1. I love what you’ve created here

2. I understand the user can track earnings via domain tracking. Awesome

Q: I have adsense before the post, in the post and in the sidebar. I would like to know if this code will work with adsense blocks that are not in the actual content of the post ie: the sidebar.

Q2: What about the authors page? Will this script also change the pub id’s for the author page?

I installed the plug in but when I click on the AdSense Earning tag I get these errors.

Past AdSense Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$i on
Impressions Clicks CTR Earnings
i

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$objs on
Impressions Clicks CTR Earnings
objs

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

Warning: mktime() expects parameter 5 to be long, string given in /home/.lorrie/nomadsland/nomadsland.com/blog/wp-content/plugins/adsense-sharings.php on line 143
$ on
Impressions Clicks CTR Earnings

now that i’ve installed your plugin, how do I add more adsense widgets or other placements and still have them split the revenue between myself and our contributor authors?

I have installed your plug-in. Found several errors

1. The database table not created automatically, but this is fixed by creating it manually.

2. When i visit my blog and the author adsense config page i get this error
CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/blogem/public_html/linkemup/blog/wp-content/plugins/adsense-sharings.php on line 121

but after i refresh its gone, i dunnow it is ok or something is still wrong

3. When i visit the adsense earning page i get a same error but directing to a different line

CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/blogem/public_html/linkemup/blog/wp-content/plugins/adsense-sharings.php on line 66

try to refresh but error is still there. Please advise . Thank you

I’m running WPMU and have the plugin uploaded into the mu-plugins directory.

I received this error
Fatal error: Call to undefined function: add_option() in … /wp-content/mu-plugins/adsense-sharings.php on line 30

I have a question. If someone enter his adsense ID , it is possible to click on his own ads ?

For example i am posting a new article. my own adsense will be visible also to me ?

I hope you answer me. Keep up the good work
razvan

I uploaded everything and it worked until I added this:

post_author; $google_id = kd_get_google_id($id); echo $google_id; ?>”;

What spaces am I supposed to take out to make this work? I either get an error and no ads show or my whole page doesn’t load becasue of an error with the header (this is where my Gogle ads are).

What do you think is wrong?

Is this within the ToS? I want to be totally sure it’s fine before I go implementing it.

I get the next error when i try to Activate the plugin
“Plugin could not be activated because it triggered a fatal error”
I’v tried to delete the file and upload it again, drop and create the table that is needed for this plugin,…

But anything works..this message continues appearig

What could be?what may i do?

It looks like AdSense has changed the code a bit and I was wondering if this plugin is still good to use? For example, I see a google_ad_slot field and I am not certain if this is supposed to be different for each user.

Thanks for your reply and plugin!

I am glad to find this forum !
http://srubibablo.com
I just wanted to pass on a note to let you know what a great job you have done with this forum.Thanks!

I just installed the script for the first time and I had no problems. I also signed up as a new author on my blog, to test it, but when I log in with my author account, I have no option to put my adsense id? I clicked on the dashboard but there’s no “My Adsnese” tab.

Hi,
I too think the plugin is excellent, however there don’t appear to be any answers to the question ‘How do I fix the error Warning: mktime() expects parameter 5 to be long…’
I haven’t had much to do with php so my browsing the code gets me not far. Is there a solution? The plugin still works, I just have to look past the error.

Type your comment here.

I was looking for this plug in since long time.
I wanted to have a revenue sharing module so that my writer team could get equal benefit.
Thanks for the Plugin.
http://www.contentwriter.info

Hello, I’ve installed the plugin, but it worrk’s only for the main author (administrator). Why it doens’t shows banner with other author’s adsense id??

Sorry, but this plugin doesn’t work with new adsense code (containing “google_ad_slot”) It works only without google_ad_slot, but it not so good for color & style of ads.

WOW awesome sharing

Can I hire you to customize the plugin for me? I’d like to share revenue based on user comments, not authors. In other words, users get % of impressions for a comment on a post.

Email me.

Dave

this is great! I have a lot ideas how to make this benefit for my friend.

Is this working on wordpress 2.5.1? Is there a new instructions?

How can I fix the ads to show properly? The ads shown looks different.