codysweet02
El Presidente
Just Getting Started
Member Likes (0)
For my site I do not wish to have users pay to become supporters but I do wish to have a plugin to put AdSense/Ads above and below each post my users make on their blogs. Can I use the Supporter Ads plugin to do this or is there a better plugin out there to accomplish this? Something similar to SmartAds but for MU? Thanks all!

Responses (13)
Erstwhile founder (joined May 2007) Likes (0)
Hiya,
Our ad sharing plugin would do what you want but it would allow users to display their own ads as well.
If anyone is interested we can make a plugin that allows you do display the ads without the ad sharing.
Thank,
Andrew
Keeper of the Dark Chocolate (joined July 2007) Likes (0)
Why not just hijack that Comment field plugin and add your adsense code to that? All of the theme pack is coded to use that plugin and it displays right at the end of the page and before the comments, right where it should.
edit: Even says that's what it's there for:
http://premium.wpmudev.org/project/comment-form-text
Member (joined August 2009) Likes (0)
I think that is an awesome idea Andrew. A plugin so we can display Adsense/Ads before and after user posts without ad sharing. I think it would be really helpfull. I use a plugin called "Smart Ads" for normal WP and it is super simple. Just throw in a line of code. A plugin like that for MU would be great.
Erstwhile founder (joined May 2007) Likes (0)
Hiya,
We'll code a plugin for this. Keep an eye on the forums here and on wpmu.org.
Thanks,
Andrew
Member (joined August 2009) Likes (0)
You are the man Andrew!
Member (joined November 2008) Likes (0)
I would like for the adsharing plugin to be integrated with the supporter plugin so that when someone becomes a supporter their ads are shown 100%. I guess its a mix of the supporter ads plugin and the adsharing plugin.
Erstwhile founder (joined May 2007) Likes (0)
We'll take a look at that after the new ad plugin is released.
Thanks,
Andrew
Member (joined August 2009) Likes (0)
Dang Andrew. It took you long enough to finish that plugin lol. What was that 2 hours?
Erstwhile founder (joined May 2007) Likes (0)
The plugin is just the ad sharing plugin with the ad sharing bits stripped out. Function and variable names were changed, etc. It just took a few minutes really.
Thanks,
Andrew
Member (joined January 2010) Likes (0)
Hi,
I'm new here. I was just wondering if the Ad Sharing and Supporters plugin have been integrated the way mentioned by Qlof.
I would love to have this working. So, for supporter blogs , they get to either show 100% of their ads or show no ads.
Warm regards,
Lina.
Lead Developer (joined May 2009) Likes (0)
It has not. You could modify fairly easily by just checking for is_supporter().
Member (joined September 2009) Likes (0)
Could you please send a piece of code where we should be placing it? There is a class with some functions and then some other functions. Not clear where to place the is_supporter() thing. For example, I would like to insert my own ads for non-supporter blogs, which is already working, but then for supporters to offer them ad sharing. Please, give us a piece of code so I can edit adsharing.php or simply edit it yourselves and post a new version.
Thanks
Erstwhile founder (joined May 2007) Likes (0)
Hiya,
So you just want to disable the ad sharing portion of the ad sharing plugin for non-supporters? Is that correct? If so just replace line 62 with this:
if ( current_user_can('create_users') && is_supporter() ) {
Thanks,
Andrew
Become a member