View Full Version : Add-On Releases - Adsense Revenue Sharing for 3.5.x and 3.6.x
kenji4861
12-29-2006, 10:00 PM
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 :p
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.
<if condition="$post[postcount] == 1">
<if condition="THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid'])">
<if condition="$show['spacer']">$spacer_open<div style="padding:0px 0px $stylevar[cellpadding]px 0px"></if>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" bordercolor=white width="100%" align="center">
<tr><td class="alt1" style="padding:0px">
<div class="smallfont" align="center">
<script type="text/javascript"><!--
google_ad_client = "$post[ad_client_id]";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="$post[ad_channel]";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></td></tr></table>
<if condition="$show['spacer']"></div>$spacer_close</if>
</if>
</if>
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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=135079) to mark it as INSTALLED!
kenji4861
12-29-2006, 10:47 PM
First post reserved for some reason.. everyone does it.. I suppose I should too :p
Distance
12-29-2006, 11:53 PM
Lol the reserve post is for you to include what updates you have made and/or bugs known
lovelypk
12-30-2006, 01:57 AM
nice.
jerrygad
12-30-2006, 02:32 AM
Awesome!
Thanks for sharing :)
*installed*
vietfancy
12-30-2006, 03:37 AM
if this work... i'll sure use it.
Could anyone tells me how do i import "cpnav_adsensesharing.xml"?
Thanks
soletrader
12-30-2006, 04:51 AM
Is this only for the postbit? Thanks
kenji4861
12-30-2006, 05:38 AM
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.
kenji4861
12-30-2006, 06:04 AM
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.
Brandon Sheley
12-30-2006, 06:06 AM
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
projectego
12-30-2006, 08:49 AM
* projectego clicks install! ;)
vietfancy
12-31-2006, 01:34 AM
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.
kenji4861
12-31-2006, 05:50 AM
I dont see "Adsense Share Settings" anywhere in Admincp.
a screenshoot would be appreciated.
Hmm.. I attached image.
Brandon Sheley
12-31-2006, 07:15 AM
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 :)
vietfancy
12-31-2006, 10:43 AM
confirmation:
This is NOT working with v3.6.4.
dougeetx
12-31-2006, 10:17 PM
confirmation:
This is NOT working with v3.6.4.
The other one definitely doesn't work! :hurt:
RealRnB
01-01-2007, 12:48 AM
thanks ,will give it a try
Qwest
01-02-2007, 04:33 AM
NOT working In 3.6.4
Once installed, if a user tries to update their profile settings it REQUIRES them to enter a pub ID and channel no matter what you set the settings to in user profile fields section in AdminCP.
I set it at first to Not required but show on registration then I said it to just plain NO for not required and it still says I enetered an invalid pub-id every time I update my profile.
kenji4861
01-02-2007, 07:27 AM
NOT working In 3.6.4
Once installed, if a user tries to update their profile settings it REQUIRES them to enter a pub ID and channel no matter what you set the settings to in user profile fields section in AdminCP.
I set it at first to Not required but show on registration then I said it to just plain NO for not required and it still says I enetered an invalid pub-id every time I update my profile.
Make sure the "Regular Expression" box is empty.
Is everything else working for you like the menu in admincp?
Qwest
01-04-2007, 12:37 PM
That fixed it, thanks.
extreme-mobile
01-04-2007, 05:40 PM
may sound like a stupid question but can some explain what this actually does in simple terms lol
vietfancy
01-04-2007, 05:59 PM
when i tried to update in admincp... the page went "page can't be found"
extreme-mobile
01-04-2007, 06:16 PM
when i try to update it says there is no admin_adsense.php found????
there was no file called that in the zip
only adsense_admin.php
dd4w2000
01-05-2007, 11:01 AM
when i tried to update in admincp... the page went "page can't be found"
am also getting the above message when i attempt to save settings in admincp.
otherwise adsense is diplayed well under the first post. could be a really useful hack if you could get this to work on 3.6.2
any suggestions very welcome
trickfly
01-06-2007, 10:07 PM
how do import a plugin, under which product I mean, vbulletin ?
trickfly
01-06-2007, 10:15 PM
I'm using 3.6.2 and got the same page can not be found after hitting update in admin cp > adsense share settings.
Does this work on 3.6.2 ?
jessc
01-11-2007, 12:30 PM
This seems to be working for me with 3.6.4. Well it's displaying ads. I don't know if it's sharing the ad revenue yet or not. (I need members first)
I got page not found when I saved the settings and had to rename the adsense_admin.php file to admin_adsense.php and it worked.
trickfly
01-11-2007, 05:46 PM
Try visiting:
www.TrickFly.com
to see a demo of the site
kenji4861
01-11-2007, 08:26 PM
ISSUE FIXED
Aww got it guys. I'm sorry about the mistake I fixed the issue in adsense_admin.php. Please upload the new file.
To fix the 404 "Page Not Found"
1. Download https://vborg.vbsupport.ru/attachment.php?attachmentid=58862
2. Unzip
3. 8. Upload adsense_admin.php to forums/admincp/
qbonoguy
01-12-2007, 11:38 AM
I'd like the phrase "Sponsored Link" to contain the members username IF that member has placed their Client ID in their profile.
ie... If a member creates a thread and if they have not placed an Adsense Client ID in their profile, I want the phrase "Sponosored Link" to appear... BUT, if a member creates a thread and if they have placed an Adsense Client ID in their profile I want the phrase "Links Sponosored by UserName" to appear...
How can I do this? I tried adding a condition to just look for the existence of a $post[ad_client_id] but that doesn't work because it always contains at least the default value...
Thanks for your help!
stormy_
01-12-2007, 01:14 PM
just installed and working fine...
may i know how to add adsense on many different places like on top or in bottom?
do i need to use the same code or just the adsense code?
dprundle
01-12-2007, 07:48 PM
Thx m8, just downloaded and will try installing now to let you know how it goes.
Update:
Just FYI for everyone, I have it working on Vbulletin 3.6.4 at http://www.oksportsfan.com .
Thanks for the great mod!
joeychgo
01-12-2007, 09:39 PM
Can this be usergroup controlled -- so I can only allow a particular usergroup(s) to participate?
popowich
01-14-2007, 10:17 PM
Hello,
Will this hack be compatible with the deep integration tutorial (https://vborg.vbsupport.ru/showthread.php?t=107965&highlight=google+deep+integration)?
-Raymond
qbonoguy
01-15-2007, 12:00 AM
How can I get this to work within my header and footer ad also? Is it even possible?
I got this working on 3.6.4. Same here, ads are showing, but I do not know if it will share or not.
klmklm
01-22-2007, 07:44 PM
I have installed this, I think I've installed it as described. Now how do AdSense adds get to be displayed on the forums...
Thanks,
jamsiejay
01-25-2007, 07:54 PM
Hi,
Can someone offer me some assistance i am trying to get this to work on my header alongside my logo but i cannot get it right i have tried editing code as much as i can.
If you know how to achieve what i need please od post or pm me.
jamsiejay
01-25-2007, 08:03 PM
I want it to be placed on the header or home page.
jamsiejay
01-25-2007, 08:23 PM
I want it like www.webmaster-talk.com in the top right hand of the header.
jamsiejay
01-26-2007, 06:27 PM
Please can someone help me out with this i cannot get it to work outside of the postbit template.
lefteris
01-27-2007, 09:11 AM
i have install it but i have a problem
adsense showing the same advertise always.
---------------------------------------------------------
General Advertise Of Google
-----------------------------------
How can i give to the ADSENSE some keywords or meta tags...?
Help me please.
http://www.gsmforum.gr/forum at the bottom of the forum and i have the adsense inside the POST with this script.
stormy_
01-27-2007, 01:31 PM
i installed it but not sure if it's showing the ads with members ID. i even set it on 100% sharing but still showing with admin ID.
secondly has anyone noticed that it's showing adsense ID in profile of user?
like: http://www.yourforum.com/member.php?u=5
jamsiejay
01-27-2007, 02:10 PM
Does anyone know how to get this to work outside of postbit template please.
TeamDevotion
01-27-2007, 02:48 PM
Is this not against google's TOS for adsense, since you are not allowed to modify their coding, you must directly copy and paste their premade markup
lefteris
01-27-2007, 04:34 PM
i have directly put the code give from adsense google website but it still showing the same TOS advert. If i put the code from adsense site into an html site ( http://gsmforum.gr/ad.html ) then i take a very good ads.
what is going wrong with VB 354?
ShawnW
01-27-2007, 07:45 PM
How would you incorporate this hack into the header?
jamsiejay
01-27-2007, 09:24 PM
Does anyone offer support for this mod i have been trying for 3 days to find out how to place this mod outside of the postbit template.
It only works in the postbit template but i want it on the header.
Any help please even a guess if you have it.
HELP HELP HELP HELP HELP HELP HELP HELP
styleforum
01-27-2007, 09:59 PM
Doesn't this encourage users to post zillions of (probably pointless) threads to get their ads showing?
tsptom
01-29-2007, 04:00 PM
Question - will a member see his own ads when he is logged into the board, or has this been programmed to use the site's owner's Client-ID in that case?
tsptom
01-29-2007, 04:04 PM
Does anyone offer support for this mod i have been trying for 3 days to find out how to place this mod outside of the postbit template.
It only works in the postbit template but i want it on the header.
Any help please even a guess if you have it.
HELP HELP HELP HELP HELP HELP HELP HELP
I played with it a little but couldn't get it to work right in the header ad either. I kept getting a null in the ID field instead of my client number. I'll play some more.
The Prince
01-29-2007, 09:01 PM
I get a message that adsense_revenue_sharing.xml is not a Product.
Running 3.6.4.
What now?
tsptom
01-29-2007, 09:57 PM
Did you do step 6 through the admincp?
6. Import adsense_revenue_sharing.xml plugin
The Prince
01-29-2007, 10:47 PM
Did you do step 6 through the admincp?
6. Import adsense_revenue_sharing.xml plugin
Ok forget it I got it.
jamsiejay
01-30-2007, 01:48 PM
I played with it a little but couldn't get it to work right in the header ad either. I kept getting a null in the ID field instead of my client number. I'll play some more.
Let me know how you get on i just cannot get this to work in any other templates.
tsptom
01-30-2007, 03:28 PM
Still no luck with header but I moved onto another scenario I'd like to see work.
Has anyone tried to combine this revenue sharing hack with some of the other adsense hacks (like adsense in 2nd post or every x # of posts - or even putting an adsense ad as the 2nd post on every page, not just 2nd post of thread) Two problems I'm finding:
The rev share 1st post on 1st page of thread seems to work fine but:
1) The "+ x posts" sets the client ID to null
2) The "1st post on each page (except the 1st post on first page of thread) only shows the primary site owner ID, never the thread starter's.
Any ideas? Thanks!
jamsiejay
01-31-2007, 09:04 PM
I have been trying every forum and board to get this to work outside of postbit template but it seems it is not known by anyone.
I am in need of this please anyone who can help i will appreciate it.
jamsiejay
01-31-2007, 09:33 PM
The problem is outside of postbit it will not pull up the google ids it just shows
"$post[ad_client_id]";
"$post[ad_channel]";
tsptom
02-01-2007, 12:37 AM
The only site I've seen that has done it successfully is digitalpoint.com. And he won't divulge his secrets. :)
vietfancy
02-04-2007, 03:19 AM
digitalpoint is not the only forum can do this.
check out dntalks.com
tsptom
02-04-2007, 03:28 AM
Are you sharing? :)
Brandon Sheley
02-05-2007, 02:15 AM
seems to be working great on 3.6.4
would be nice to get group permissions set in this
/me installs
jamsiejay
02-05-2007, 01:37 PM
I still cannot find anywere to have this working on header template or homepage template.
I am sure someone here know how it can be done please can you post i am in need of this before i can launch it to my members.
jamsiejay
02-07-2007, 09:31 PM
Can somebody please help me i have pm'd and posted plenty but nobody can help please can someone offer help.
jamsiejay
02-07-2007, 09:34 PM
Even a guess at this stage would be helpfull i just cannot find anyone to help me i have posted dozens of threads etc nobody can get this working outside postbit template.
tsptom
02-07-2007, 10:22 PM
jamsiejay -
I'm not getting much help either with a similar question. I posed it to the programming forum and got a little hint that I have yet to try....
https://vborg.vbsupport.ru/showthread.php?p=1176372#post1176372
jamsiejay
02-09-2007, 05:37 PM
Ive checked your thread it never got it working thankyou for the help.
Please anyone HELP!
jamsiejay
02-09-2007, 05:37 PM
I Will Give You Free Advertising If You Can Help Me .
jamsiejay
02-09-2007, 06:30 PM
C'Mon Challenge your skills please let me know how to get this working in the forumhome, header template.
I am not able to launch my forum till i have it done i paid a programmer but they couldn't do it and never refunded me.
I am really in need for this.
================================================== =============
Will offer forum sponsor advertising to whomever can figure it out it.
Profusehost
02-10-2007, 05:19 AM
i installed it but not sure if it's showing the ads with members ID. i even set it on 100% sharing but still showing with admin ID.
secondly has anyone noticed that it's showing adsense ID in profile of user?
like: http://www.yourforum.com/member.php?u=5
you are probably viewing the profile as admin. I am sure as a member or guest, you will not see the publisher ID.
Profusehost
02-10-2007, 05:24 AM
Question - will a member see his own ads when he is logged into the board, or has this been programmed to use the site's owner's Client-ID in that case?
that's what i am worried about. I am not sure if this script prevents users from seeing their own ads when they are logged in and also its important to prevent people from unknowingly click on their own ads. I guess once can warn all forum members to never click on any google ads.
jamsiejay
02-10-2007, 12:46 PM
I have tried some reccomendation i got vie pm but they did not work.
I just cannot see what it is in the mod that only allows it to be used with postbit if i knew this i could change it to work forum wide.
I find it strange nobody knows how to do this i mean there must be dozens of mod programmers here that know how to fix it please i need some help.
milsirhc
02-18-2007, 11:49 AM
Does anyone know if I implement this script, 3 times on a single thread page (ie: the header, the 1st and last post), will all 3 advertisement be showing the same adsense account (ie: goes by the 50% rule, will all 3 show the same adsense account or will 1 show the admin, the other ones showing the post starter account)
This is a huge concern as we all know Google does not allow 2 different accounts to be shown on the same page.
Does anyone know?
Thanks!
tsptom
02-18-2007, 03:28 PM
will all 3 advertisement be showing the same adsense account
I could be wrong, but I think the answer is no. It seems Google is OK with multiple ads from different accounts. But I will contact a Google rep and find out for sure.
If you do add the code you are talking about 'as is' into the header or last post, you may not see an Adsense ID at all in those 2 ads. That's what happened to me.
Since no one seemed to be able to help, I went ahead and kept the header ad as my own, then I used code that will give credit to whomever made the post prior to any ad shown. If they don't have an adsense account, it will use my number.
The code below will put an ad after the 1st post in a thread and after every 9th post thereafter. It will only kick in after the member has 50 or more posts. If the author of the post has not set up an Adsense account, it will use your ID.
If I can find the link to where I got most of this code I'll add it. I didn't write it myself.
(here it is - http://nslog.com/2006/08/18/vbulletin_adsense_revenue_sharing)
<!-- / Google AdSense in Posts begin -->
<if condition="$post[postcount] == 1 OR $post[postcount] % 9 == 0">
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid']"> </if>
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']">
<!-- this is not the last post shown on the page -->
</if>
</if>
<table class="tborder" id="post$post[postid]" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody><tr>
<td class="thead" id="td_post_$post[postid]">
<div class="normal">
</div>
</td>
</tr>
<tr>
<td class="alt1" align="center">
<div>
<!-- Adsense standard banner start -->
<center>
<script type="text/javascript"><!--
if('$post[field6]' == '' || $post[posts] <= 50)
{
google_ad_client = "pub-xxxxxxxxxxxxxxxx"; <-- Your ID
google_ad_channel = "";
}
else
{
google_ad_client = "$post[field6]";
google_ad_channel = "$post[field7]";
}
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = ["f5f5ff"];
google_color_bg = ["f5f5ff"];
google_color_link = "0000FF";
google_color_url = ["000000","008000","008000","008000"];
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center> <!-- Adsense standard banner End -->
</div>
</td>
</tr>
</tbody>
</table>
</if>
</if>
<!-- / Google AdSense in Posts end-->
milsirhc
02-19-2007, 08:54 AM
Thanks for the help tsptom but I don't think I will like to implement as such..
Hmm.. seems like no one can come up with something solid like what digitalpoint has done and also kinda dissapointing to see this plugin not fully supported by the author.. (but it's free, so I'm not complaining!). Let's hope how this plugin will go on develop after few weeks.
milsirhc
02-19-2007, 12:09 PM
I read thru the codes.. and I think having the variables as global variable will prevent the adsense id to dissapear.
I'm still playing around with it.. but hmm.. it's tricky.
michaelsilvia
03-04-2007, 01:41 AM
Can you set this by usergroup? I would like only my moderators and admins to get the revenue sharing.
Mike
Xplorer4x4
03-20-2007, 01:54 PM
Can this be usergroup controlled -- so I can only allow a particular usergroup(s) to participate?
I would like to see this to.
Is this not against google's TOS for adsense, since you are not allowed to modify their coding, you must directly copy and paste their premade markup
I was wondering the same thing.
Can you set this by usergroup? I would like only my moderators and admins to get the revenue sharing.
Mike
Mike my best idea would be to edit memberinfo template and the userfield_textarea ot userfield_textbox(in profile field templates) field templates. Then insert an if condition to show these fields to certain user groups.
Is any one else noticing this add one query per post?
RedTyger
03-20-2007, 02:03 PM
I was wondering the same thing.
I can't speak for anyone else, but I wrote to Google and asked them for permission to implement Ad-Sharing on my forum and they had no problem with it. There isn't really any other practical way to implement ad-sharing and besides, only the publisher ID is shared. The markup is still exactly as Google specify.
clasione
03-23-2007, 07:27 AM
This doesn't seem to be working on my forum... I just implemented it... I am running the lastest version of vb(vBulletin 3.6.5)
I installed this mod and have been testing it with a user who has entered his info..... I had him post a thread for testing:
I would assume since I have the Percentage Share set to: 50%
I should see his pub codes half of the time or 50% of the page loads and I do not see this happening at all on his thread:
http://www.searchen.com/forum/showthread.php?p=12526
clasione
03-23-2007, 03:48 PM
Can someone answer this question for me....... ?
Does anyone have any ideas that could help me out?
clasione
03-23-2007, 06:31 PM
I have now set the share percentage to 100 percent and I still have not seen one instance of another users adsense code working....
Please give me some trouble shooting tips.....
clasione
03-25-2007, 03:15 AM
Please give me some trouble shooting tips.....
clasione
04-04-2007, 02:43 PM
has anyone gotten this to work sitewide or in the header?
popowich
04-21-2007, 01:20 AM
Hello,
You need to make sure you are still within 3 ads for the page or it will not display. I'll test the are the clicks counting in a few minutes. I have a quick question. For other ads on my site, can I simply replace these two lines in other adsense locations to enable revenue sharing? Thanks!
-Raymond
google_ad_client = "$post[ad_client_id]";
google_ad_channel ="$post[ad_channel]";
popowich
04-23-2007, 04:53 AM
Is there an alternative mod that is still supported?
-Raymond
Deska
04-24-2007, 05:10 AM
Is there an alternative mod that is still supported?
Maybe you can try this one:
https://vborg.vbsupport.ru/showthread.php?t=131150
Good luck...
exes_slayer
05-03-2007, 12:38 PM
any hopes to get it working on 3.6.5?
Scovic
05-04-2007, 08:45 PM
Superb!!!
Many thanks
SoftDux
05-10-2007, 05:24 PM
Does anyone know to get the adsense fields into the user registration form?
Conti
05-14-2007, 04:51 AM
I am trying to get the ads to appear between the second last and the last post (as that is where the money is I am told.)
I have changed
<if condition="$post[postcount] == 1">
to
<if condition="$post[postcount] % $vboptions[maxposts] == $vboptions[maxposts] - 1">
but no ads show.
Can anyone shed some light on this?
Conti
05-14-2007, 05:12 AM
I keep getting a null in the google clientID field when it should be showing the default. (as a standard installation in the postbit template)
Does anyone have it working with 3.6.5?
SoftDux
05-17-2007, 03:16 PM
i installed it but not sure if it's showing the ads with members ID. i even set it on 100% sharing but still showing with admin ID.
secondly has anyone noticed that it's showing adsense ID in profile of user?
like: http://www.yourforum.com/member.php?u=5
I saw this too, and adjusted both User Profile Fields to be private:
Admin > User Profile Fields > User Profile Field Manager > Edit Google AdSense Client ID > Private Field = Yes
Do the same for Google AdSense Channel ID as well
SoftDux
05-17-2007, 03:18 PM
you are probably viewing the profile as admin. I am sure as a member or guest, you will not see the publisher ID.
I had the same problem when view the board, logged out, and ended up making both profile fields private. I Don't know if this will cause problems though
nahhh3075
06-05-2007, 01:36 PM
I keep getting a null in the google clientID field when it should be showing the default. (as a standard installation in the postbit template)
Does anyone have it working with 3.6.5?
Same here, though I did same as the instruction, when I see the source code, it's like
google_ad_client = "";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
*I'm using the latest version of VB
*Nevermind, I figured out XD. I'm using firefox and i couldn't see the Adsense Pluging settings in the left side of AdminCP lol
Icyeb
06-07-2007, 01:03 AM
i installed this mod, it shows in the admincp but when i go to the manage plugin it doesnt show up there, so i tried to upload it once again and it shows me an error that the plugin is already installed.. so how can i remove this plugin and start over again
exes_slayer
06-07-2007, 12:29 PM
any chance of getting this mod upgraded for vB 3.6.7?
nahhh3075
06-09-2007, 01:58 AM
any chance of getting this mod upgraded for vB 3.6.7?
I'm using the latest version of VBulletin and this is working fine with it :)
Icyeb
06-09-2007, 06:52 AM
I'm using the latest version of VBulletin and this is working fine with it :)
did you have to make any changes for this mod to work on your site ?
Monyet
06-09-2007, 03:29 PM
confirmation:
This is NOT working with v3.6.4.
really? how about 3.6.7?
Snider
06-12-2007, 06:12 PM
I am using it in 3.6.7 but I want to use it with my other adsense code- when I take away the channel and client id though and add
google_ad_client = "$post[ad_client_id]";
google_ad_channel ="$post[ad_channel]"; it doesn't show anything when viewing source code except the ""
Any help would rock - Thanks
The Equivocate
06-15-2007, 02:56 AM
Would this also work with an articles system? I'd like to also be able to reward them for posting news/articles, and I assume since it still is technically a "thread" that their ads are displayed as well.
juanmanuel
06-15-2007, 03:45 AM
Hi! Can this mod be activated to share adsense ads on selected forums? For example in a support forum I think it will not be ok to share revenue with people creating threads for support but in another forum users may share tips and share adsense ads.
Taios
06-15-2007, 07:28 AM
Just an idea ;). Why not have it customisable so that it can only be used in certain forums? Ie, tutorial writing sections. It would thus encourage members to write tutorials etc =).
exes_slayer
06-20-2007, 10:07 AM
I'm using the latest version of VBulletin and this is working fine with it :)
wow....and you didn't modify anything?
ShawneyJ
06-20-2007, 11:13 AM
lmao at the support, me not bothing about this crap.
thewebhostingdi
06-21-2007, 12:02 PM
Finally, with a little tweak, I was able to implement this hack (adsense revenue sharing) in all the areas of forum... Like header, forum display, thread display, etc...
exes_slayer
06-22-2007, 01:50 PM
This needs work.
Installed because it is a useful mod.
Cheers.
so it worked for you on vb 3.6.7?
mickmel
06-23-2007, 02:00 PM
so it worked for you on vb 3.6.7?
I can't speak for him, but it did for me (at least it seems to be working...)
exes_slayer
06-24-2007, 05:11 AM
No, not working. I'm looking at another ad sharing mod here.
If that mod doesn't work, I'm going to get another mod from someone else as a last resort.
could you share your resources?
BarryoBrien
07-03-2007, 07:05 AM
can this be done with-out adding a mod?
Censtudios
07-03-2007, 05:41 PM
I dont really understand this hack (like: you actually give your members money instead of yourself?...) and the "demo" isnt really a demo. it doesnt show how the hack works...
I prefer screenshots or a better description...
adnan2007
07-05-2007, 05:27 PM
6. Import adsense_revenue_sharing.xml plugin
How do we do this, can someone tell me real quick.
popowich
07-05-2007, 05:32 PM
AdminCP -> Plugins and Products -> Product Manager -> Add Product
-Raymond
adnan2007
07-05-2007, 05:35 PM
AdminCP -> Plugins and Products -> Product Manager -> Add Product
-Raymond
I did that originally and get a message saying, this dosen't appear to be a product but a plugin. Use the plugin manager.
I'm using 3.6.7 pl or something.
adnan2007
07-05-2007, 05:39 PM
Popowich,
This is the exact message I get This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
take care
adnan2007
07-05-2007, 05:40 PM
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Somebody help me out,
Please, Please, Please,
Please, Please, Please,
Please, Please, Please,
mickmel
07-05-2007, 06:03 PM
Stop filling this thread with garbage. I'm tempted to not answer your question because you're acting like such a child. And no, it's not cute.
Try "Download / Upload Plugins" and make sure you choose the right one from your local disk.
adnan2007
07-05-2007, 06:13 PM
Stop filling this thread with garbage. I'm tempted to not answer your question because you're acting like such a child. And no, it's not cute.
Try "Download / Upload Plugins" and make sure you choose the right one from your local disk.
Ok, thx appreciate it
I did that, but I don't see anything on my cp nav bar about adsense control panel.
Can u tell me how I can findout if I'm using a legacy postbit. I don't know what a postbit is and I'm using the default vbulleting template.
adnan2007
07-05-2007, 06:17 PM
Shucks, the ads are working but I dont' see anything in my admin cp.
Also, can I get some ads in the header too?
u can see my forum at www.directoryjunction.com/forums/ to get an idea of what im talking about.
thx
mickmel
07-05-2007, 06:19 PM
Can u tell me how I can findout if I'm using a legacy postbit. I don't know what a postbit is and I'm using the default vbulleting template.
You're probably not. Legacy postbit is when the posting user's information is to the left of the post, rather than above the post. By default, vB now puts it above each post.
adnan2007
07-05-2007, 06:22 PM
You're probably not. Legacy postbit is when the posting user's information is to the left of the post, rather than above the post. By default, vB now puts it above each post.
Ok, gottit,
Ur absolutely correct mickmel, User info on my forum is to the top.
It seems to be working, but no option in the admincp.
Should I revert back and start all over again?
adnan2007
07-05-2007, 06:48 PM
Anybody want to help me out on this.
I've got a few things which need clearing up.
1) I can see the ads, but can't see any option on my admin cp.
2) The background color from thread #1 bleeds down to the adsense, how do we get rid of this.
3) Is it possible to pad the adsense like 10 px below thread 1 cause right now its touching it.
4) How do I display an adsense in my header?
thx.
adnan2007
07-05-2007, 06:53 PM
Does anybody know if this is the same as
https://vborg.vbsupport.ru/showthread.php?t=131150
I guess, I'll just try my luck on that one if it supports adsense sharing.
Taios
07-06-2007, 08:56 PM
Could i ask, can this be added to anywhere else that is not in the 'post bit' at all?
Censtudios
07-07-2007, 10:08 AM
Can someone start replying to my question?
I dont really understand this hack (like: you actually give your members money instead of yourself?...) and the "demo" isnt really a demo. it doesnt show how the hack works...
I prefer screenshots or a better description...
Please answer
nymyth
07-11-2007, 03:43 PM
just installed without any problems....lets see how the members like it
Peace
nymyth
07-11-2007, 03:44 PM
Can someone start replying to my question?
Quote:
I dont really understand this hack (like: you actually give your members money instead of yourself?...) and the "demo" isnt really a demo. it doesnt show how the hack works...
I prefer screenshots or a better description...
Please answer
Under the first post of a thread, the member that started it will have a 50% chance their ad shows up there as opposed the boards ad. Thats all.
exes_slayer
07-12-2007, 06:55 PM
well if the mod doesn't work on 3.6.7 PL1 than you can't really do it...it would be nice if the developer could let us know that will he/she develop it further or not
nymyth
07-13-2007, 01:25 PM
^^i dont follow, what do you mean it doesnt work...i have it on my 3.6.7 PL1 and it seems to be fine...
Only thing I cannot get it to do is go after the post on every page even though I have this code before everything:
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
<if condition="THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid'])">
Anyone know why its not working?
nymyth
07-13-2007, 01:29 PM
no matter rewrote the code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1 OR THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid'])">
Peace
sb225
07-21-2007, 02:15 PM
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 ?
BarryoBrien
07-23-2007, 07:45 PM
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
nymyth
07-24-2007, 01:49 PM
Im having the same problem as Barry, I have this conditional set up...can someone verify if its right:
<if condition="(($post[postcount] % $vboptions[maxposts] == 0) OR ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax'])) OR THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstposid'])">
Thanks.
basketmen
07-26-2007, 11:04 PM
<font size="3">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</font>
wickland
07-27-2007, 07:42 PM
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:
http://www.topbuy1.com/stocks/ads.jpg
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?
raiderlax
07-31-2007, 08:41 AM
does this work on 3.6.8? Thanks.
raiderlax
08-04-2007, 11:12 PM
bump
993ti
08-11-2007, 05:15 PM
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 ;)
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:
<if condition="THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid']) AND (!in_array($forum[forumid], array(X))) AND (!$show[member])">
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: AND (!$show[member]) shows it for guests only, remove it to show for everyone.
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?
thanksIt should be pub-XXXXXXXXX
993ti
08-11-2007, 05:21 PM
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 ;)
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 ;)
uruguay234
08-14-2007, 08:02 AM
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
http://img181.imageshack.us/img181/2374/untitled4qk8.gif
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 ??
zoro007
08-15-2007, 11:31 AM
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
Michael Biddle
08-23-2007, 10:52 PM
Ok, I have a fix, change the plugin location from showthread_postbit_create to postbit_display_complete.
Works for me on 3.6.8
dougeetx
09-11-2007, 01:23 AM
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.
Phosphorus
09-11-2007, 09:13 AM
works for me in 3.6.8
thx
nimonogi
09-30-2007, 09:40 AM
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.
junaid1
10-05-2007, 02:03 PM
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
energetic
10-20-2007, 04:37 PM
Great. It works in my 3.6.8 Chinese version.
But How can I also put the ads in top left corner ?
forumrating
11-09-2007, 04:16 AM
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.
TJFweb
11-09-2007, 05:15 AM
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.
forumrating
11-10-2007, 11:57 AM
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
forumrating
11-12-2007, 10:26 AM
anyone to help, to show after the last post?
VBUsers
11-20-2007, 05:30 AM
since the adsense code has changed will this plug in be updated? the channel can not be used this way anymore.
VBUsers
11-20-2007, 06:11 AM
how can i put this on the sidebar and header?
navjotjsingh
11-22-2007, 03:32 AM
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.
JohnUK
12-10-2007, 01:41 PM
Not working on 3.6.4. Leaves a blank white box only. No content.
user_not_found
01-04-2008, 06:17 PM
Can be intagraded to vbportal , vblog , photopost galley ?
gotlinks
02-12-2008, 03:08 PM
Is it possible to restrict that ads to only be displayed to guests?
Xmyth
02-17-2008, 11:56 PM
Is it possible to restrict that ads to only be displayed to guests?
Yes, use this code BEFORE your adsense code:
<if condition="($show['guest'])">
and AFTER your adsense code:
</if>
That will cause Ads to be displayed to non-registered users only.
montsa007
02-28-2008, 04:38 AM
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
PixelStreamed
03-02-2008, 07:36 AM
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?
sunnylikbeckham
03-10-2008, 01:05 PM
Not Working In My Too
3.6.8
Not Even Blank box
sunnylikbeckham
03-11-2008, 08:22 AM
worked!!
I M Genius
Lol
gautam39
03-11-2008, 02:41 PM
will it work in 3.6.8 ?
masterweb
03-11-2008, 08:14 PM
Yes, i installed on my Vb 3.6.8 forum and it works great. Thanks for this mod.-
will it work in 3.6.8 ?
d.dragonslay
03-19-2008, 09:30 AM
hi, i cannot installed this mod... shows google id =" " (blank), anyone can help?
d.dragonslay
03-19-2008, 10:56 AM
hi, is there any error in the code the author has written>?
mofeu
03-19-2008, 10:32 PM
When I am trying to install Import adsense_revenue_sharing.xml plugin
appear the following error message.
This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
What I have to do?
Thanks in advance
d.dragonslay
03-19-2008, 10:38 PM
i managed to get this to work.
mofeu
03-19-2008, 10:40 PM
Which channel I have to use?
Also my previous question remains! :)
d.dragonslay
03-19-2008, 10:44 PM
use the plugin manager, just import it.. and it will be working
mofeu
03-19-2008, 10:50 PM
Also can you explain me from where I have to make this step?
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
d.dragonslay
03-19-2008, 11:58 PM
go to User Profile Field> Add New User Profile Field
Hi,
Does this mod works with vB 3.7?
How to use this mod with the new Adsense format (google_ad_slot)?
cyberdog
04-11-2008, 03:22 PM
usign 3.6.8 patch level 2 and shows nothing. no ads, no iframe, no signs in code. Although activated.
cyberdog
04-11-2008, 04:11 PM
A fix for 3.6.8 or availability for 3.7.x - 3.9.x please? Any help will be apprecaited.
Thanks
dieselpowered
04-22-2008, 12:30 AM
I would like to see this for 3.7 please :)
What about false clicks, my adsense account being on as the share provider and if false clicks are made who's in the firing line? Just speaking in hindisight.. if this was the case which way does the finger point...? Im guessing the user itself and my forum? as it would be users ad's within the threads they make within my forum taking a share...?
user_not_found
04-25-2008, 01:52 AM
How I can delete or remove it?
user_not_found
04-25-2008, 02:11 AM
I have observer the following , works fine for an ads imression but if thepage is full at secone or thirdad returns blan ads and I see
google_ad_client = "";
google_ad_channel ="";
empty?
How can by pass that? and display second and third time (3 are max per page)
toucan42
05-16-2008, 04:39 PM
I never got this working on 3.6.8 now I am on 3.7 Gold and hoping this or another mod doing the same becomes available. Can anyone verify this works for 3.7?
turbosatan
06-09-2008, 11:47 AM
how do i remove the adsense share settings option in admincp
i have removed the product and deleted the uploaded files but it still shows the optin in the admincp menu~(obviously the page doesnt load as i have removed it)
Can anyone please advise me how to remove this option now as i want to tidy everything up
karim004
06-09-2008, 02:20 PM
how do i remove the adsense share settings option in admincp
i have removed the product and deleted the uploaded files but it still shows the optin in the admincp menu~(obviously the page doesnt load as i have removed it)
Can anyone please advise me how to remove this option now as i want to tidy everything up
ok i just download the zip to check the files i can see you didnt delete 2 files :
admincp/adsense_admin.php
this file build the menu
include/xml/cpnav_adsensesharing.xml
this one include the menu in your admincp
turbosatan
06-09-2008, 04:20 PM
ok i just download the zip to check the files i can see you didnt delete 2 files
admincp/adsense_admin.php
this file build the menu
include/cpnav_adsensesharing.xml
this one include the menu in your admincp
i had deleted the first already but the removing the second xml file did get rid of the menu item.
Just as a side note the correct path to it is admincp/includes/xml/cpnav_adsensesharing.xml in case anyone else needs to remove ti
thanks fro your help karim004
karim004
06-10-2008, 12:37 AM
i had deleted the first already but the removing the second xml file did get rid of the menu item.
Just as a side note the correct path to it is admincp/includes/xml/cpnav_adsensesharing.xml in case anyone else needs to remove ti
thanks fro your help karim004
you welcome
darklumina
06-18-2008, 04:35 PM
Is this even legal? this seems a bit like incentivization which is against the adsense TOS.
massizero
06-24-2008, 03:23 PM
i've seen a few forums based on vbulletin's > 3.7.0 version, that are running an adsense revenue share program like this hack.
I was wondering if there is anyone who can tell us if he is using this hack on a 3.7.x and if there are any problems.
thanks
blogcrash
07-05-2008, 10:58 PM
i've seen a few forums based on vbulletin's > 3.7.0 version, that are running an adsense revenue share program like this hack.
I was wondering if there is anyone who can tell us if he is using this hack on a 3.7.x and if there are any problems.
thanks
I have exactly the same question.
Anyone can tell the community if this hack works in vb 3.7.2 please???
blogcrash
07-08-2008, 12:28 AM
I think this Mod doens't work with vb 3.7.2
Bad luck!!!
I really need something like this :(
massizero
07-19-2008, 01:57 AM
any news for 3.7.2?
how to show adsense code in more than the 1st post?
For example, above the 1st, 3rd and 5th post?
blogcrash
07-30-2008, 12:24 AM
any news for 3.7.2?
also waitng my friend...
anyone know a hack for 3.7.2???
i´m using this script with 3.7 and it works fine
webcosmo
08-05-2008, 10:46 PM
I am often getting a database error
SELECT * FROM datastore WHERE title='adsensesettings';
Any idea about this?
realmr
08-18-2008, 07:01 AM
Will the revenue sharing work if we have restriction on adsense based on usergroup and forum permission settings ? I have dis-abled adsense for adult corner of my forum and to donors in usergroup in 3.7.2 will this work ?
realmr
08-18-2008, 07:24 AM
doesn't get imported via plugin manager, so uploaded via upload plugin. Will this work this way around ?
realmr
08-18-2008, 09:43 AM
This appears while imported - This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
But I am able to see the share settings, I think it might not work rite ?
or do I need to upload it as add new plugin ?
Remington
08-20-2008, 06:24 PM
This works fine on 3.6.5. Only problem is even if I go into User Profile Fields and check it off as not required. Meaning the user does not have to enter anything in to the Client ID field. When a user leaves that blank and edits their profile they get a message forcing them to enter that info. Is there anyone who knows how to make this NOT a required field?
Thanks
Remington
08-20-2008, 07:03 PM
I found the solution. Make sure both fields are edited and that the "Regular Expression" box is empty. Works like a charm!
realmr
08-25-2008, 08:02 AM
made an request thread over here for 3.7.2 - https://vborg.vbsupport.ru/showthread.php?t=189049. If any one wishes to bump the thread they can
netsavy006
08-26-2008, 03:19 PM
Has anyone got it working on 3.7 and if so how? I'd like to know.
Thanks.
Andy...
mykkal
08-27-2008, 04:07 PM
Have anyone had a great user response to this???
if so please let me know :)
mykkal
08-27-2008, 05:49 PM
Will the revenue sharing work if we have restriction on adsense based on usergroup and forum permission settings ? I have dis-abled adsense for adult corner of my forum and to donors in usergroup in 3.7.2 will this work ?
This is a good question. did this work for you? Is this supported at all?
realmr
08-28-2008, 11:01 AM
This doesn't work for me, I just posted this question before I added the add-on. Doesn't get imported on 3.7.2 :(
luket79
08-31-2008, 04:43 PM
Same here folks. If there is any way to get this working in 3.7.x I'd be very happy and so would my users.
luket79
09-02-2008, 02:52 AM
I just installed this on 3.7.3 and have never used the mod before and it seems to be working. I'm using it in conjunction with another google adsense ad system that only shows my ID. Also, I have them both set to not show to guests by reading through this thread.
I'm going to have my admins test this out with their IDs and let you know if it really works.
No issues so far.
realmr
09-02-2008, 09:42 AM
I just installed this on 3.7.3 and have never used the mod before and it seems to be working. I'm using it in conjunction with another google adsense ad system that only shows my ID. Also, I have them both set to not show to guests by reading through this thread.
I'm going to have my admins test this out with their IDs and let you know if it really works.
No issues so far.
how did u import the file ?? For me the import doesn't work as a product :-s
It got accepted only as add new plugin :confused:
luket79
09-05-2008, 01:50 AM
how did u import the file ?? For me the import doesn't work as a product :-s
It got accepted only as add new plugin :confused:
I used the "Add/Import Product".
So far, its working fine in 3.7.3. I am able to see my adsense code as well as someone else's. So, no issues thus far, aside from the fact that I forgot to enable the sharing at first....:rolleyes:
I didn't test the custom channel piece but I am working on it. My Moderators haven't been around this week.
If you want to check it out, my site is dnlodge.
I am using another ad mod with Adsense in it, I wonder if it is OK with Google to have 2 IDs on a page? I remember it not being OK but in this case I don't know.
hobsdv
09-06-2008, 10:58 AM
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
SEOvB
09-06-2008, 01:24 PM
I couldn't get it to get the other peoples adsense codes.
I've defined the fields properly, checked several times and still not having much luck, its pretty odd.
iwarrior
09-24-2008, 10:19 AM
Hey guys, I just managed to install this in 3.7.3
dthbah2006
10-26-2008, 11:58 PM
Hey guys, I just managed to install this in 3.7.3
Does this work on Version 3.7.3?
How would you be able to test to see if it is working?
:confused:
tsptom
11-20-2008, 05:20 PM
This has been a great mod for me. Any chance of getting a version for the blogs? I would definitely vote it as MOTM if it happens!
Thanks!
clasione
11-20-2008, 05:40 PM
I never did get this to work properly, but I would like to give it another whirl.... Any chance there is a version for 3.7 yet?
vwdforum
11-25-2008, 06:32 PM
Will this work 100% with 3.7 ??
vwdforum
11-25-2008, 07:38 PM
I can't get this to work on my site. Its not populating the
$post[ad_channel] and $post[ad_client_id] and just leaving them as that text
dthbah2006
12-13-2008, 02:46 AM
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.
Did anyone learn how to use this on other parts of the forum like the header and other spots on the forum?
This mod works great for me. I just want to use it on other locations other than the second spot on threads.
Thanks,
:)
tsptom
12-13-2008, 03:39 PM
Did anyone learn how to use this on other parts of the forum like the header and other spots on the forum?
This mod works great for me. I just want to use it on other locations other than the second spot on threads.
:)
Not in the header, but you can add it every X number of posts.
This one puts one after the 1st post and 9th post. It also checks to make sure the member has at least 50 posts.
<!-- post $post[postid] popup menu -->
<!-- / Google AdSense in Posts begin -->
<if condition="$post[postcount] == 1 OR $post[postcount] % 9 == 0">
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid']"> </if>
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']">
<!-- this is not the last post shown on the page -->
</if>
</if>
<table class="tborder" id="post$post[postid]" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody><tr>
<td class="thead" id="td_post_$post[postid]">
<div class="normal">
</div>
</td>
</tr>
<tr>
<td class="alt1" align="center">
<div>
<!-- Adsense standard banner start -->
<center>
<script type="text/javascript"><!--
if('$post[field6]' == '' || $post[posts] <= 50)
{
google_ad_client = "pub-xxxxxxxxxxxxxx";
google_ad_channel = "";
}
else
{
google_ad_client = "$post[field6]";
google_ad_channel = "$post[field7]";
}
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = ["f5f5ff"];
google_color_bg = ["f5f5ff"];
google_color_link = "0000FF";
google_color_url = ["000000","008000","008000","008000"];
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center> <!-- Adsense standard banner End -->
tcmcem
12-21-2008, 05:32 PM
nice hack.
i want to put the adsense on the top of my forum near to logo but i cant edit the code for top of the code adsense place. does anyone has the code to put it on near of the logo
thanks
MisterLaO
12-28-2008, 09:02 AM
how do you confirm if this is working after the installation???
i just placed the entire script in the locations i want my google ads to be and changed the part where the pub is found
example:
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
/* 468x60, created 12/24/08 */
google_ad_slot = "7982207914";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
just changed "pub-xxxxxxxxxxxxxxxx" to "$post[ad_client_id]" and added the:
google_ad_channel ="$post[ad_channel]";
somewhere within the script..
is this ok??????
luket79
01-09-2009, 08:44 PM
Has anyone installed this on a 3.8 board? Any issues?
dspalton
01-15-2009, 06:52 PM
ive just installed it on 3.8 and it 'seams' to be working...
dspalton
01-16-2009, 08:09 AM
ive had to hack it up a bit,
http://webchatcentral.com/showthread.php?p=300
if anyone want to sign up, please let me know by pm and ill lower the limits and you can help me check it (obviously with diffferent google ID to mine)
then once it works will let you all have the script
David
sub_ubi
02-02-2009, 05:59 AM
dspalton,
I'll help you beta test!
Lord Kirken Mor
02-03-2009, 05:11 PM
wow this is interesting
MisterLaO
02-08-2009, 04:54 AM
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?
profanitytalker
02-14-2009, 02:19 AM
This works well in 3.8.1, but does anyone know how to put this in the header? Can someone give the code?
C138 Kaysone
02-18-2009, 03:07 AM
Would this be working with 3.8? i love this mod!
pooslokka
02-18-2009, 03:09 AM
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
:confused:
C138 Kaysone
03-08-2009, 11:45 PM
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
Anyoldname
03-12-2009, 02:31 PM
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?
C138 Kaysone
03-12-2009, 05:56 PM
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
Brian123
03-19-2009, 04:23 PM
Wouldn't just changing where you pub code is in your ads to:"$post[ad_client_id]"
Be able to share ads anywhere on your forum, including the header ad?
Brian123
03-20-2009, 10:07 AM
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?
mykkal
03-20-2009, 10:44 AM
what is the link to the 3.8.1 version?
Brian123
03-20-2009, 06:43 PM
what is the link to the 3.8.1 version?
There isn't one! I used this one.
eric8476
06-12-2009, 01:31 AM
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
Does this hack work for the latest 3.8 version? Looking for someone to install this hack for my forum.
marcell
06-18-2009, 05:00 PM
Does it also work with version 3.8.2?
Thx!
Marcel
yahoooh
09-10-2009, 12:51 PM
update plz
MajorFm.com
09-20-2009, 08:44 PM
Anyone confirm this is working on 3.8.4?
ludachris
10-08-2009, 09:14 PM
Has anyone tried applying this to vb blog entries?
greenghost
02-28-2010, 10:23 AM
I wish to get it working on 3.8.4 or 4. any updates?
dthreatt
03-26-2010, 07:02 AM
I just about have it working on 4.0.1 but I have some bugs....Ive spent alot of money and the programmers I am getting a leaving me hanging. I'd like to get someone to finish it. PM me for details.
networkingpilot
01-13-2011, 01:06 PM
Does this work on V4?
amaarvell
03-18-2011, 07:10 AM
any news on this working with Version 4.0.1
ayman_elawody
10-07-2014, 10:34 PM
can working for vbulletin 5x
ozzy47
10-07-2014, 10:35 PM
No, this will only work in the vB3.x series. vB5 has nothing similar.
ayman_elawody
10-08-2014, 01:28 AM
No, this will only work in the vB3.x series. vB5 has nothing similar.
where can i found Adsense Revenue Sharing for vb5x
ozzy47
10-08-2014, 01:56 AM
where can i found Adsense Revenue Sharing for vb5x
I already said that.
No, this will only work in the vB3.x series. vB5 has nothing similar.
Yup will probably need to pay someone to make the mod for you. You can post a paid request here, https://vborg.vbsupport.ru/forumdisplay.php?f=30
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.