Version: 1.00, by AlexanderT
Developer Last Online: Jul 2021
Version: 3.0.7
Rating:
Released: 04-27-2005
Last Update: Never
Installs: 48
No support by the author.
Upgrade 1.1 notice:
The upgrade from 1.0 to 1.1 is optional; it makes sure ads don't display in private messages. Thanks to venomx for the tip.
Hack Description:
This hack will allow you to offer Google Adsense revenue sharing to your vBulletin board users. Revenue sharing is a great way to reward your board members for their loyalty and adds a feeling of ownership in the board and it's success. Revenue is split between board administrator and thread starters. The percentage of probability is customizable by the administrator.
This hack is fundamentally the same like this hack; however, it adds some customization plus does not use any additional queries!
I wrote this hack a couple of months ago and didn't know there was any interest for it (you certainly don't want to spend money on something that doesn't take much time to code).
My time is *very* limited so I am not good at giving support. I hope the instruction included is self-explanatory. It is easy to expand the hack to your needs.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
good questions yes, each person must have adsense (to put their id in their usercp pannel) and second well I really dont think so... I think it may be possible, but this hack I dont think supports that right now
It would be rather easy to implement that. But the question do you really want to click on any google ads appearing on your site? Why taking the risk? If you have a site with a lot of visitors, your own clicks would be marginalized anyways. I am currently using this hack only for my editors, and it is a policy on my board that noone of us clicks on ads appearing on our site.
well basically to sum up what i would like to see added:
adsense rotation being split between admin and thread starter only. that way the thread starter would know that the ad is either his account or admin account. that would instantly remove any problems.
yb the way when i tried to install it i followed the instructions to the dot but for some reason after it had been installed, when i tried to view a post i just got a warning saying something like "unexpected string /forums/showthread.php on line 31" which is where it says 'adsensesettings'
well basically to sum up what i would like to see added:
adsense rotation being split between admin and thread starter only. that way the thread starter would know that the ad is either his account or admin account. that would instantly remove any problems.
And that is how it is currently implemented.
Quote:
something like "unexpected string /forums/showthread.php on line 31" which is where it says 'adsensesettings'
Do you have other hacks installed? Can you show us the line above and below 'hidprofilecache' (around line 30, before you applied my hack)? If you don't have any other hacks installed, make sure to follow the instruction closely:
Code:
Find:
'hidprofilecache'
REPLACE IT with:
'hidprofilecache',
'adsensesettings'
(e.g. don't forget to add the comma after 'hidprofilecache').
well basically to sum up what i would like to see added:
adsense rotation being split between admin and thread starter only. that way the thread starter would know that the ad is either his account or admin account. that would instantly remove any problems.
I think thats the way it is. Plus it never shows the Thread starter his own if you used the right if conditional I believe...
biagrin that excerpt isn't really helpful. Did you include the entire snippet as was described in step 6? Also make sure you add it just below $FIRSTPOSTID = $post['postid']; (as was also described in 6).
I am trying this but the instructions are not sinking in very good. Like here:
Quote:
This profile field needs to be the only custom profile field under the selected options category. Any other custom profile fields in the same category will be hidden as well.
In this template you will find several $customfields variables, one for each category in your options (the same categories as the ones for your profile fields). You need to enclose the appropriate $customfields variable with this conditional:
I go here and I do not understand what category? Is it edit profile? And where or what is it called in here?