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

  #226  
Old 08 Feb 2009, 06:54
MisterLaO MisterLaO is offline
 
Join Date: Dec 2008
how can you check if this is working? i can see the ads after the thread starters posts but how can i know that adsense pub's are really being rotated?
Reply With Quote
  #227  
Old 14 Feb 2009, 04:19
profanitytalker's Avatar
profanitytalker profanitytalker is offline
 
Join Date: Nov 2006
This works well in 3.8.1, but does anyone know how to put this in the header? Can someone give the code?
Reply With Quote
  #228  
Old 18 Feb 2009, 05:07
C138 Kaysone C138 Kaysone is offline
 
Join Date: Jun 2008
Real name: Claiborne
Would this be working with 3.8? i love this mod!
Reply With Quote
  #229  
Old 18 Feb 2009, 05:09
pooslokka pooslokka is offline
 
Join Date: Jun 2008
Originally Posted by hobsdv View Post
i have this working on 3.7.3 it was easy

i need to know how i can add it as a skyscraper as well and in other sections not just postbit
Hai hobsdv,

I have installed this mod and working fine, but the channel data is not working. is this works for you?
i am in 3.7


Last edited by pooslokka; 18 Feb 2009 at 06:22.
Reply With Quote
  #230  
Old 09 Mar 2009, 01:45
C138 Kaysone C138 Kaysone is offline
 
Join Date: Jun 2008
Real name: Claiborne
is there a way to let this show up somewhere else? it makes the forums look bad by being in the first post of each thread, im wanting it inside the description

if you want to look

mytalkcarolina.com, id rather have it show there and how come there is only one size? im wanting the ad to show up as 468 x 60
Reply With Quote
  #231  
Old 12 Mar 2009, 16:31
Anyoldname Anyoldname is offline
 
Join Date: Jan 2009
I would love to get this working on 3.8. Anyone know if it would work?

I just want to ask also, does this hack prevent user's own ads displaying to them to prevent possible violations?

Last edited by Anyoldname; 12 Mar 2009 at 16:53.
Reply With Quote
  #232  
Old 12 Mar 2009, 19:56
C138 Kaysone C138 Kaysone is offline
 
Join Date: Jun 2008
Real name: Claiborne
Originally Posted by Anyoldname View Post
I would love to get this working on 3.8. Anyone know if it would work?

I just want to ask also, does this hack prevent user's own ads displaying to them to prevent possible violations?
I have it working on 3.8 and thats if you place yours as a default in the share option
Reply With Quote
  #233  
Old 19 Mar 2009, 18:23
Brian123 Brian123 is offline
 
Join Date: Sep 2006
Wouldn't just changing where you pub code is in your ads to:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be able to share ads anywhere on your forum, including the header ad?
Reply With Quote
  #234  
Old 20 Mar 2009, 12:07
Brian123 Brian123 is offline
 
Join Date: Sep 2006
I have it up and running on 3.8.1 and it is fine. I think I have also worked out how to have it working on the header.
Note that when you view the source code - you will not see your own pub number if you are logged into the forum. This is so you do not click on your own ads.
I ran a test account with the pub number set to 0101010101001011 - made some posts, logged off - THEN checked the source code, and there it was.
I am fairly sure if you just place "$post[ad_client_id]" where your pub number is when you set up your ads, it will work anywhere on your forum where adsense is placed?
Reply With Quote
  #235  
Old 20 Mar 2009, 12:44
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
what is the link to the 3.8.1 version?
__________________
Casting Calls for Models, Actors, And Other Talent
http://MyModelTalk.com
Reply With Quote
  #236  
Old 20 Mar 2009, 20:43
Brian123 Brian123 is offline
 
Join Date: Sep 2006
Originally Posted by mykkal View Post
what is the link to the 3.8.1 version?
There isn't one! I used this one.
Reply With Quote
  #237  
Old 12 Jun 2009, 03:31
eric8476 eric8476 is offline
 
Join Date: Jun 2009
I have 3.7.3 and I could not find "new user profile field" for:

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
Reply With Quote
  #238  
Old 17 Jun 2009, 19:34
menj's Avatar
menj menj is offline
 
Join Date: Aug 2008
Does this hack work for the latest 3.8 version? Looking for someone to install this hack for my forum.
Reply With Quote
  #239  
Old 18 Jun 2009, 19:00
marcell marcell is offline
 
Join Date: Jun 2009
Does it also work with version 3.8.2?

Thx!

Marcel
Reply With Quote
  #240  
Old 10 Sep 2009, 14:51
yahoooh yahoooh is offline
 
Join Date: Oct 2002
update plz
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 06:46.

Layout Options | Width: Wide Color: