The Arcive of vBulletin Modifications Site. |
|
Adsense Reveune Sharing Hack Details »»
|
|||||||||||||||||||||||||
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.
Add a User Profile Field with these settings: Profile Field Type: Single-Line Text Box Title: (your choice) Description: (your choice) Field Editable By User: Yes Private Field: Yes Field Searchable On Memers List: No Show On Members List: No (I have only specified settings for the fields you will need to change from their defaults.) In the php_include_start template, add this code: PHP Code:
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Is it correct that this code adds 2 queries to every page?
|
|
#3
|
|||
|
|||
|
Im not sure, i paid someone to code this hack for me. I have seen a few ppl wanted it so i decided to share it with all
|
|
#4
|
|||
|
|||
|
Hmm, ok.
Well, I've looked through it, and it adds 2 queries to showthread. |
|
#5
|
|||
|
|||
|
I saw that hack at hotscripts. The guy wanted 150.00 dollars for that???
|
|
#6
|
|||
|
|||
|
point with such a hack is that 99% of boards users don't even know about AdSense, so i don't see why you'd be asked to pay for such a hack...
and adding the field in the users table would speed up the treatment and cut a query... |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
That would fall into the remaining 1% :-)
Nexy's hack to insert ad randomly in thread is best. |
|
#9
|
|||
|
|||
|
The guy is offerning to share... lets not chop him down.
BUT good looking out on the extra load it produces. |
|
#10
|
|||
|
|||
|
Quote:
|
![]() |
|
|