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

  #136  
Old 27 Jul 2007, 20:42
wickland wickland is offline
 
Join Date: Jul 2007
Does anyone know how to change the look of the google ad itself? When I enter in the: "$post[ad_client_id]" and "$post[ad_channel]" fields into the ad itself, the ad starts to actually look visually different. See below what I mean:



The bottom one is the original correct way my ad should look and the top one is the modified version of the ad. I want my ad to look like the bottom one, how do I fix this?
Reply With Quote
  #137  
Old 31 Jul 2007, 09:41
raiderlax's Avatar
raiderlax raiderlax is offline
 
Join Date: Sep 2006
does this work on 3.6.8? Thanks.
__________________

Reply With Quote
  #138  
Old 05 Aug 2007, 00:12
raiderlax's Avatar
raiderlax raiderlax is offline
 
Join Date: Sep 2006
bump
__________________

Reply With Quote
  #139  
Old 11 Aug 2007, 18:15
993ti 993ti is offline
 
Join Date: Dec 2005
Yep, works with 3.6.8
@ Wickland: If you mean the part that says 'Ads by Google', that happens sometimes and has nothing to do with your layout
Originally Posted by basketmen View Post
Guys i still dont get this answer:


How to place adsense sharing not only in first thread page but in all thread page?


because people usually want to visit last page
I'm using this:

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

Where the red X is the forumid where you don't want to show the ads (seperated with comma's if you have more then one forum where you don't want the ads to show).
Use it in forums closed for members.
This part:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

shows it for guests only, remove it to show for everyone.

Originally Posted by BarryoBrien View Post
does this work I have it installed had some moderators set up a google blog and sign up to adsence but it shows no impressions or clicks!

also if there id starts with ca-pub-blablabla should the ca-pub- be put in or just pub-blablabla?

thanks
It should be pub-XXXXXXXXX
__________________
Twenteracingscene - Dutch car club (VB), Aibo forum (VB)
Streetcars (VB),
Reply With Quote
  #140  
Old 11 Aug 2007, 18:21
993ti 993ti is offline
 
Join Date: Dec 2005
Originally Posted by adnan2007 View Post
It seems to be working, but no option in the admincp.
Did you upload the files?
Full instructions are in the first post of this topic

Originally Posted by sb225 View Post
I have installed this but i cant see in members CP where users can put their pub id
does some body tell me what should i do ?
Same as above, add 2 new profile fields as described in first post
__________________
Twenteracingscene - Dutch car club (VB), Aibo forum (VB)
Streetcars (VB),
Reply With Quote
  #141  
Old 14 Aug 2007, 09:02
uruguay234 uruguay234 is offline
 
Join Date: Aug 2007
Hey guys,


I installed it without any complications, however I'm not getting impressions or clicks registered in my adsense account.

I think I might be just posting ads with no account :/

The following is a screenshot of my PAGE SOURCE CODE


See what I mean ?
This happens both while i'm logged in and out of the forum, and using different web browsers too.
Anyone got this problem as well ?

Ideas ?
Reply With Quote
  #142  
Old 15 Aug 2007, 12:31
zoro007 zoro007 is offline
 
Join Date: Aug 2007
hi and thx for sharing,

i have a prolim, i think its not workin will with the 3.6.8, is that right or i didnt install it right ?

best regards
Reply With Quote
  #143  
Old 23 Aug 2007, 23:52
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Ok, I have a fix, change the plugin location from showthread_postbit_create to postbit_display_complete.

Works for me on 3.6.8
Reply With Quote
  #144  
Old 11 Sep 2007, 02:23
dougeetx dougeetx is offline
 
Join Date: Sep 2006
Originally Posted by uruguay234 View Post
Hey guys,


I installed it without any complications, however I'm not getting impressions or clicks registered in my adsense account.

I think I might be just posting ads with no account :/

The following is a screenshot of my PAGE SOURCE CODE




See what I mean ?
This happens both while i'm logged in and out of the forum, and using different web browsers too.
Anyone got this problem as well ?

Ideas ?
If I'm not mistaken, it won't show an ID if you don't have any users who have input their google id. I think it's setup that way to prevent click fraud. I might be wrong, though.
Reply With Quote
  #145  
Old 11 Sep 2007, 10:13
Phosphorus Phosphorus is offline
 
Join Date: Jan 2005
works for me in 3.6.8

thx
Reply With Quote
  #146  
Old 30 Sep 2007, 10:40
nimonogi nimonogi is offline
 
Join Date: Sep 2006
How can i share revenue with last poster as well? Ex:
A new thread starter, there is a 40% chance your Adense Code will be displayed for each page view. The last replier in a particular thread will have a 10% chance that their Adense Code will be displayed for each page view and the administrators have the final 50% chance.

Thanks.
Reply With Quote
  #147  
Old 05 Oct 2007, 15:03
junaid1 junaid1 is offline
 
Join Date: May 2007
9. 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 it and I did everything right
Reply With Quote
  #148  
Old 20 Oct 2007, 17:37
energetic energetic is offline
 
Join Date: Oct 2007
Great. It works in my 3.6.8 Chinese version.
But How can I also put the ads in top left corner ?
Reply With Quote
  #149  
Old 09 Nov 2007, 05:16
forumrating forumrating is offline
 
Join Date: Sep 2005
it works fine with me, but it places the ads below the first post.

i was thinking if its possible to show the ads in different location, at the footer of the thread maybe.
Reply With Quote
  #150  
Old 09 Nov 2007, 06:15
TJFweb TJFweb is offline
 
Join Date: Dec 2001
It would be great if you could specify which forums this add-on applies to. I only want a few forums to have this feature - not all of them.

The ability to specify where the ad appears would also be very welcome.
__________________
Wing Chun
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 14:36.

Layout Options | Width: Wide Color: