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: 29 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 10:20

  #151  
Old 10 Nov 2007, 12:57
forumrating forumrating is offline
 
Join Date: Sep 2005
so can this be placed anywhere else instead of after the first post?

or use it at more than 1 place? maybe 2 ad units at different locations
Reply With Quote
  #152  
Old 12 Nov 2007, 11:26
forumrating forumrating is offline
 
Join Date: Sep 2005
anyone to help, to show after the last post?
Reply With Quote
  #153  
Old 20 Nov 2007, 06:30
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Sep 2004
since the adsense code has changed will this plug in be updated? the channel can not be used this way anymore.
__________________
- Steve M.
Medical Marijuana Forums
High 5 Media LLC
Reply With Quote
  #154  
Old 20 Nov 2007, 07:11
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Sep 2004
how can i put this on the sidebar and header?
__________________
- Steve M.
Medical Marijuana Forums
High 5 Media LLC
Reply With Quote
  #155  
Old 22 Nov 2007, 04:32
navjotjsingh navjotjsingh is offline
 
Join Date: Feb 2006
Real name: Navjot Singh
Originally Posted by VBUsers View Post
since the adsense code has changed will this plug in be updated? the channel can not be used this way anymore.
Channels can be used if the author updates the plugin with latest code so that it asks users to fill the slotid instead of channel. But in that case it can get a bit complicated as it will require users to themselves select the color and sometimes a forum can get a bit of messy.

So maybe preserving the old adsense code in almost all vb plugins would be a wise idea unless google stops supporting the old adsense code.
Reply With Quote
  #156  
Old 10 Dec 2007, 14:41
JohnUK JohnUK is offline
 
Join Date: Dec 2005
Not working on 3.6.4. Leaves a blank white box only. No content.
Reply With Quote
  #157  
Old 04 Jan 2008, 19:17
user_not_found user_not_found is offline
 
Join Date: Sep 2007
Can be intagraded to vbportal , vblog , photopost galley ?
Reply With Quote
  #158  
Old 12 Feb 2008, 16:08
gotlinks's Avatar
gotlinks gotlinks is offline
 
Join Date: Sep 2007
Location: USA, San Antonio, Texas
Real name: Shannon Lilly
Is it possible to restrict that ads to only be displayed to guests?
__________________
- Shannon Lilly
Join Our Free PR6 Community Today!
By using our community you get upto 3 sig links free!
Reply With Quote
  #159  
Old 18 Feb 2008, 00:56
Xmyth Xmyth is offline
 
Join Date: Dec 2007
Originally Posted by gotlinks View Post
Is it possible to restrict that ads to only be displayed to guests?
Yes, use this code BEFORE your adsense code:

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

and AFTER your adsense code:

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

That will cause Ads to be displayed to non-registered users only.
Reply With Quote
  #160  
Old 28 Feb 2008, 05:38
montsa007 montsa007 is offline
 
Join Date: Feb 2008
How can i align the ads to the center?
Only 1 Ad shows in the whole page of the thread i need 3 ads per page
Thanks,
montsa
Reply With Quote
  #161  
Old 02 Mar 2008, 08:36
PixelStreamed PixelStreamed is offline
 
Join Date: Mar 2008
I'm not having success with this in version 3.6.8

Just like another post above the mod isn't passing the client ID and channel to the Google code. It is blank. Can someone look into this and fix the bug?
Reply With Quote
  #162  
Old 10 Mar 2008, 14:05
sunnylikbeckham's Avatar
sunnylikbeckham sunnylikbeckham is offline
 
Join Date: Mar 2008
Not Working In My Too
3.6.8
Not Even Blank box
Reply With Quote
  #163  
Old 11 Mar 2008, 09:22
sunnylikbeckham's Avatar
sunnylikbeckham sunnylikbeckham is offline
 
Join Date: Mar 2008
worked!!
I M Genius
Lol
Reply With Quote
  #164  
Old 11 Mar 2008, 15:41
gautam39 gautam39 is offline
 
Join Date: Jan 2008
will it work in 3.6.8 ?
Reply With Quote
  #165  
Old 11 Mar 2008, 21:14
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Real name: Arteaga
Yes, i installed on my Vb 3.6.8 forum and it works great. Thanks for this mod.-

Originally Posted by gautam39 View Post
will it work in 3.6.8 ?
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 17:07.

Layout Options | Width: Wide Color: