Good catch Dubai, and since this is so important I feel the need to call attention to the following:
BUG FIX!
I updated the original post(s) to include this as part of the mod as well, but for all those who've already implemented this mod, I hope you see this post because this is an important fix.
Everyone who hired me to install this mod, I've already made the fix to your sites, so you're all good to go.
And for the rest of you... the fix:
user.php: search for
$link->print_summary(); It's in 4 different places in the file:
approximately lines 196, 211, 226, and 241. Replace all 4 of those lines with the following:
Code:
//***** PlugIM.com mod: Adsense Revenue Sharing
//$link->print_summary();
$link->print_summary('summary');
//***** End PlugIM.com mod
That should do it. It'll prevent Adsense ads from being displayed on stories listed under user profiles on the 'sent news', 'published news', 'unpublished news' or 'news commented on' pages.
For those of you who are coders, the problem was print_summary() has an optional parameter called $type and when nothing is passed in, $type defaults to 'full'. So in this case in the user.php file, there was no value being passed in to the print_summary() function calls so the full stories were being displayed rather than the summary.
My own personal opinion is that this is actually a bug in the Pligg code. I think even beyond the scope of the Adsense revenue sharing mod, this code change should be made to user.php.
Let me know if anyone has questions or problems. Again, if you want to save yourself the headache, PM me to ask about install rates. I could use a little extra Christmas money.