Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Adsense Revenue Sharing for 3.5.x and 3.6.x Details »
Adsense Revenue Sharing for 3.5.x and 3.6.x
Mod Version: 1.00, by kenji4861 (Contributor) kenji4861 is offline
Developer Last Online: Jul 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (25 votes - 3.96 average) Installs: 195
Released: 30 Dec 2006 Last Update: Never Downloads: 790
Not Supported  

Overview
This hack will allow you to offer Google Adsense revenue sharing to your vBulletin board users. Basic idea generated by AlexanderT, who developed the hack for previous version.

* Revenue is split between board administrator and thread starters.

* User needs to enter their Adsense Publisher ID and Channel ID (optional) in the edit profile.

* The percentage of probability is customizable by the administrator

* Number of min. post in order to show the ads is customizable by administrator.

* Works on 3.5.x and 3.6.x



Demo
http://www.spoofee.com/forums/



Background
Thanks to webmastershome for creating this and rob30uk for making it easier by creating a plugin and I suppose myself for small tweak


Instructions ( literally takes 5 minutes to install )

1. Download zip file and extract ( 3 files : adsense_admin.php, adsense_revenue_sharing.xml, cpnav_adsensesharing.xml )


2. Add Adsense Client ID and Channel ID to your user profile fields
1. Add the following following new user profile field in AdminCP:
Type: Single-Line Text Box
Title: Google AdSense Client ID
Description: If you have an AdSense account, you can enter your client ID here. You then have a 50% chance that the AdSense ads displayed are credited to your account on threads you participate in. It should be in the form of <b>pub-xxxxxxxxxxxxxxxx</b>
Max length of allowed user input: 20
Display Size: 25
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No

2. Add the following following new user profile field in AdminCP:
Type: Single-Line Text Box
Title: Google AdSense Channel ID
Description: If you choose to enter your AdSense client ID, you can specify a channel ID as well.<br /><br />It would be a good idea to have a unique channel ID for this forum (then you can track stats specifically for the forum).<br />
Max length of allowed user input: 10
Display Size: 25
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No


3. Go back to userfield manager and get the field# of the two new fields you created. (ex : field5, field6)


4. Open adsense_revenue_sharing.xml and change the field5 to whatever your adsense field# is and field6 to whatever your channel field# is


5. Add Adsense snippet in your style
- Go to Admincp->Styles & Templates->Style Manager->Edit Templates->Post Bit (if you are using legacy style, choose to edit "Post Bit Legacy"

Add the following to the bottom of your postbit.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


6. Import adsense_revenue_sharing.xml plugin


7. Upload cpnav_adsensesharing.xml to forums/includes/xml/


8. Upload adsense_admin.php to forums/admincp/


9. Configure
- Go to admincp, now you will see "Adsense Share Settings" where you can configure how much revenue you want to share!

10. Click here to mark it as INSTALLED!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Adsense Revenue Sharing 3.5.4 webmastershome vBulletin 3.5 Add-ons 82 30 Sep 2007 11:20

Comments
  #2  
Old 30 Dec 2006, 00:47
kenji4861's Avatar
kenji4861 kenji4861 is offline
 
Join Date: Jun 2003
First post reserved for some reason.. everyone does it.. I suppose I should too

Last edited by kenji4861; 30 Dec 2006 at 01:16.
Reply With Quote
  #3  
Old 30 Dec 2006, 01:53
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
Lol the reserve post is for you to include what updates you have made and/or bugs known
Reply With Quote
  #4  
Old 30 Dec 2006, 03:57
lovelypk lovelypk is offline
 
Join Date: Oct 2005
nice.
Reply With Quote
  #5  
Old 30 Dec 2006, 04:32
jerrygad jerrygad is offline
 
Join Date: Sep 2006
Real name: Jerry
Awesome!
Thanks for sharing
*installed*
Reply With Quote
  #6  
Old 30 Dec 2006, 05:37
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Mar 2005
if this work... i'll sure use it.

Could anyone tells me how do i import "cpnav_adsensesharing.xml"?

Thanks

Last edited by vietfancy; 30 Dec 2006 at 05:54.
Reply With Quote
  #7  
Old 30 Dec 2006, 06:51
soletrader soletrader is offline
 
Join Date: Jul 2006
Is this only for the postbit? Thanks
Reply With Quote
  #8  
Old 30 Dec 2006, 07:38
kenji4861's Avatar
kenji4861 kenji4861 is offline
 
Join Date: Jun 2003
Originally Posted by soletrader View Post
Is this only for the postbit? Thanks
Yes, this is only for the postbit/postbit legacy, but you can slightly modify the copy/paste code anywhere on your style and it'll work.
Reply With Quote
  #9  
Old 30 Dec 2006, 08:04
kenji4861's Avatar
kenji4861 kenji4861 is offline
 
Join Date: Jun 2003
Originally Posted by vietfancy View Post
if this work... i'll sure use it.

Could anyone tells me how do i import "cpnav_adsensesharing.xml"?

Thanks
Sorry, I made a little booboo in the instruction. Please do the steps 6-8 now.
Reply With Quote
  #10  
Old 30 Dec 2006, 08:06
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
very nice
looks nicer then the other hack that was just released

thanks, if I use this I'll give a link back to this post and will more then likely get several more admins to use it

thanks
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #11  
Old 30 Dec 2006, 10:49
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
/me clicks install!
__________________
Reply With Quote
  #12  
Old 31 Dec 2006, 03:34
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Mar 2005
8. Configure
- Go to admincp, now you will see "Adsense Share Settings" where you can configure how much revenue you want to share!
I dont see "Adsense Share Settings" anywhere in Admincp.

a screenshoot would be appreciated.
Reply With Quote
  #13  
Old 31 Dec 2006, 07:50
kenji4861's Avatar
kenji4861 kenji4861 is offline
 
Join Date: Jun 2003
Originally Posted by vietfancy View Post
I dont see "Adsense Share Settings" anywhere in Admincp.

a screenshoot would be appreciated.
Hmm.. I attached image.
Attached Images
File Type: jpg 111.jpg (29.9 KB, 377 views)
Reply With Quote
  #14  
Old 31 Dec 2006, 09:15
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
is this working fine for everyone ? I want to wait just a min b4 adding..

if this works well, I'd love to give you a strong backlink to your site
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #15  
Old 31 Dec 2006, 12:43
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Mar 2005
confirmation:

This is NOT working with v3.6.4.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:32.

Layout Options | Width: Wide Color: