Revenue Sharing Mod - NBS






 

 

Revenue Sharing Mod - NBS

View Full Version : Revenue Sharing Mod


ForumZCLub
10-Sep-2006, 03:49 PM
I was thinking if you could implement google adsense revenue sharing mod for phpbb in another way ..

User Has 3 Options Via Adsense CP in admin cp of his forum .
1. Revenue Sharing Enabled
2. No ads
3. Only Forumhost Ads.

This ofcourse could be decided by forum host which options to show or disable it .

There would be probability of ads to be shown from forum admin and forum host like 1/2 .

Derek
10-Sep-2006, 06:01 PM
I will see if I can add this, not quite sure how to do it ATM, can someone PM me some of the adsense code so I can see what it looks like? I do not have an adsense account so I'm not even sure what the code looks like.

Thanks,
Derek

Cronos
10-Sep-2006, 07:46 PM
you could set in the adminpanel a space for the 'user ads code'
and a space for the 'admin ads code'

and when you show it you could make something about

if ($ads..)
{
$prob = random(..
if ($prob > 50)
$adsCode = $nbs->['adsCode'];
else
{
$sql ='select ads form '.$forum.'_config ...
...
$adsCode = ...
}
}

luky
20-Sep-2006, 02:29 PM
I use Bidvertiser as less adblockers block it, its not as popular. I blocked adsense. :P Bidvertiser are a javascript frame.