View Full Version : Adsense Revenue Sharing Hack 1.1 (0 queries version)
AlexanderT
04-27-2005, 10:00 PM
Upgrade 1.1 notice:
The upgrade from 1.0 to 1.1 is optional; it makes sure ads don't display in private messages. Thanks to venomx for the tip.
Hack Description:
This hack will allow you to offer Google Adsense revenue sharing to your vBulletin board users. Revenue sharing is a great way to reward your board members for their loyalty and adds a feeling of ownership in the board and it's success. Revenue is split between board administrator and thread starters. The percentage of probability is customizable by the administrator.
This hack is fundamentally the same like this hack (https://vborg.vbsupport.ru/showthread.php?t=80464); however, it adds some customization plus does not use any additional queries!
I wrote this hack a couple of months ago and didn't know there was any interest for it (you certainly don't want to spend money (http://www.keyconcept.org/vbulletin-adsense-revenue-sharing-hack-mod/) on something that doesn't take much time to code).
My time is *very* limited so I am not good at giving support. I hope the instruction included is self-explanatory. It is easy to expand the hack to your needs.
ChrisSy
04-28-2005, 10:07 AM
This sounds like a really great idea, im just a little hesitant that thread starters may get a bit 'click happy' on the ads, google doesnt like that kind of thing.
AlexanderT
04-28-2005, 10:28 AM
Chris, you can enter a "Minimum Posts" count before ads are contributed to users. This way you can make sure only long-time board visitors participate in the system.
Wow, I missed this post before... looks like a great hack... howerver I'm still waiting to see an official answer from google in wheter this hack not breaking the TOS
AlexanderT
04-28-2005, 12:55 PM
Polo, did you miss my answer in the other thread? I asked Google and here is their response in full:
Hello Alexander,
Thanks for your email.
To clarify, please note that you may continue displaying ads from
different publishers on your site. However, we ask that you not place ads
from two different accounts on the same web page. We appreciate your
cooperation.
Please feel free to reply to this email if you have additional questions
or concerns.
Sincerely,
James
The Google AdSense Team
oh I think i missed it, thank you for that post ;) glad that google accepts this... thank you very much for the hack...
T3MEDIA
04-28-2005, 01:28 PM
Can you tell me how does it work. I see what it does but I would like to know how does it work....
Thanks.
https://vborg.vbsupport.ru/showpost.php?p=646408&postcount=25 :)
LEAD_WEIGHT
05-01-2005, 06:25 AM
It does not display at my forum even with the edits i made, so whats up with that
http://www.theundergroundsource.com/forums/index.php?
User Name :
Password :
I uninstalled it for now until I can figure it out!
AlexanderT
05-01-2005, 08:05 AM
If you actually read what I said in my first post you would know that I don't have much time; that doesn't mean I am not willing to help when I can. Of course the hack does not display at your forumhome, http://www.theundergroundsource.com/forums/index.php?, because it is not supposed to. It displays ads in the thread view, e.g.
http://www.mobileread.com/forums/showthread.php?threadid=3968
Anyways.... if there is nothing but complaint, I have no trouble removing it again.
LEAD_WEIGHT
05-01-2005, 08:08 AM
If you actually read what I said in my first post you would know that I don't have much time; that doesn't mean I am not willing to help when I can. Of course the hack does not display at your forumhome, http://www.theundergroundsource.com/forums/index.php?, because it is not supposed to. It displays ads in the thread view, e.g.
http://www.mobileread.com/forums/showthread.php?threadid=3968
Anyways.... if there is nothing but complaint, I have no trouble removing it again.
I know it does not display that way it just does not display in threads or any posts I have made or did a test on.
I found what was wrong it was cause I am in user group 6 Admin. How do u make everyone show up to see the ads.
Thanks for the info
When you change the postbit templates, instead of:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
add this:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID'])">
when applying the code changes in 7. of the instruction.
AlexanderT
05-01-2005, 10:06 AM
When you change the postbit templates, instead of:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
add this:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID'])">
when applying the code changes in 7. of the instruction.
you can always use conditionals ;)
LEAD_WEIGHT
05-01-2005, 11:18 PM
you can always use conditionals ;)
explain more?
What if we only want this for moderators and not all registered members?
Possible?
Thanks ;-)
Change the UserGroup ID # to 7 instead of # 2 in your postbit & postbit_legacy templates
when applying the code changes in step 7. of the instruction..
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
LEAD_WEIGHT
05-01-2005, 11:31 PM
I was looking at the code & I notice that u can place your own type of ads and make them scroll or rotate. I going to test this out to see if I can do that and change some wording in Admin c/panel display in vb. :ermm:
T3MEDIA
05-02-2005, 02:42 PM
Ahh thank you.... This in fact then is not a a revenue sharing hack what so ever then....
That is what I wanted to know. Thanks.
https://vborg.vbsupport.ru/showpost.php?p=646408&postcount=25 :)
This in fact then is not a a revenue sharing hack what so ever then....What? Didnt understand a word you just said...
T3MEDIA
05-02-2005, 02:50 PM
What? Didnt understand a word you just said...I typed a twice. Thanks... its ok
I typed a twice. Thanks... its ok
again... what??? you typed what twice? :confused:
T3MEDIA
05-02-2005, 03:04 PM
again... what??? you typed what twice? :confused:I typed if you look at the post the letter "A" twice which in turn threw you off completely to what I was saying.
the second post I said "I typed a twice. Thanks... its ok" I assumed you saw what I was talking about.
If you still have problems you can contact me via PM. I dont want this thread to go off topic.
Milez
05-03-2005, 01:19 AM
I installed this and modified it so that the revenue sharing only was available for mods/admins. Works great so far!
LEAD_WEIGHT
05-03-2005, 04:43 AM
I installed this and modified it so that the revenue sharing only was available for mods/admins. Works great so far!
U made it so it shares revenue how u do that, unless u share your pub=# in other forums. I am right on this or just a guess. :ermm:
AlexanderT
05-03-2005, 07:26 AM
U made it so it shares revenue how u do that...
But this is the whole point of the hack.... sigh.
xtreme-mobile
05-03-2005, 07:59 AM
so sorry to be dull guys but if i install this
it will display ads through out threads etc and then every time a member clicks a ad i get some cash for it????
cheers
LEAD_WEIGHT
05-03-2005, 10:22 AM
But this is the whole point of the hack.... sigh.
Sorry is just others are saying it does not share revenue within own forum.
I figure it was by sharing by forums who have this hack. I thought it could of been like u get some of the other persons revenue if they post it in your forum, but I know that could not be that easy to get money from other ppl's ad. I knew u could only earn what is your own ads .
That is what I was trying to figure out what they were saying.
So what is the big diff. between yours & the more $$$ one. I know that it has other features but what else. I want to know just incase someone decides to add something else to it. reverse engineering :pirate:
so sorry to be dull guys but if i install this
it will display ads through out threads etc and then every time a member clicks a ad i get some cash for it????
cheers
I belieave the under the first post on every page . That is what I see it as. & yes u get paided for every click that someone else does not yourself unless u want them to banned u and it is base on the amount of members if u have some of your friends clicking on it. They can banned u for that as well & just banned u for no reason as well. :ermm:
T3MEDIA
05-03-2005, 12:34 PM
Not to start drama but this isnt revenu sharing it rotates adsense #'s
To be revenu sharing it would mean you USE my # and we split the costs...
almost like a adsense affliate. That would be hot. That is what I thought it was.
Milez
05-03-2005, 03:03 PM
Wow is it just me or is everyone missing the boat on this one?
Anyways Nice one AlexanderT. Been looking at coding this myself for some time but you did a much better job than I would have.
AlexanderT
05-03-2005, 11:49 PM
Not to start drama but this isnt revenu sharing it rotates adsense #'s
Uhm and what does rotating adsense client ids effectively do? It enables users to share revenue generated from Adsense clicks on your board. Hence Adsense Revnue Hack.
That would be hot.
...and that would violate Google's terms.
LEAD_WEIGHT
05-03-2005, 11:58 PM
Not to start drama but this isnt revenu sharing it rotates adsense #'s
To be revenu sharing it would mean you USE my # and we split the costs...
almost like a adsense affliate. That would be hot. That is what I thought it was.
Nah, it is great the way it is. If u want to get yourself banned then I got some great ways for u for getting banned quickly at my unfinished forum.
http://www.theundergroundsource.com/forums/forumdisplay.php?f=24
Odd #66.XXX.66.XXX :laugh:
beano33
05-04-2005, 04:59 PM
What if we only want this for moderators and not all registered members?
Possible?
Thanks ;-)
You can use conditionals in the modifyoptions template so the new profile fields added are only visable for the usergroups you want.
See #2 in this thread (http://www.vbulletin.com/forum/showthread.php?t=101597)
beano33
05-05-2005, 09:47 PM
Before I installed this hack I had my ad code in the showthread template where they were displayed after the last post. I modified that code for google_ad_client = "$post[ad_client_id]";
google_ad_channel ="$post[ad_channel]";
but it wasn't inserting any client id so no one way getting paid. :(
So I removed the ad code from showthread and put it in the postbit template as suggested in the hack instructions. It works fine as far as functionality is concerned, but now the ads appear after the first post and we'd prefer them to show after the last post.
Can anyone tell me how to do one of the following:
1) make the hack work with the ad code in the showthread template, OR
2) get the ad code in the postbit legacy template to display after the last post instead of the first post.
Thanks!
P.S. I changed it back to putting the ads after the last post so you can see where we'd like it. Here is the forum: http://hfboards.com/
venomx
05-07-2005, 06:50 AM
Yeah what beano33 asked and is there a way to also have it pick a random member that has posted a reply?
Like:
Admin 50%
Thread starter: 25%
Random member who has replied: 25%
Or even:
Admin 50%
Thread starter: 25%
Last member to reply: 25%
venomx
05-07-2005, 01:25 PM
hmm this makes adsense show on PMs too... does google allow that?
AlexanderT
05-07-2005, 03:55 PM
hmm this makes adsense show on PMs too... does google allow that?
How should this make asense show on PMs if only postbit templates and showthread.php is modified?
venomx
05-07-2005, 04:11 PM
Thats the only onnes I modified... I put the postbit part right in the bottom of the edit window, could that be it?
I edited the showthread.php as you said then opened postbit leg.. and dropped it right into the very bottom of it. Then when I got a PM it was right under the PM... I fixed it by adding a THIS_SCRIPT='SHOWTHREAD' to the postbit and it stopped showing...
venomx
05-07-2005, 04:50 PM
So noone else has had this happen?
AlexanderT
05-07-2005, 06:04 PM
So noone else has had this happen?
I see now. Thanks for the hint. The PM routines happen to use the same postbit templates that are also used by showthread (it never occured to me to check PM out). Your suggestion for an additional IF conditional is correct if you don't want to have ads shown in private messages.
I uploaded version 1.1 of this hack where ads are explicitely shown only in showthread instances. Upgrade instruction is included:
If you plan on upgrading from 1.0 to 1.1 of this hack, you only need to edit your postbit templates.
In both postbit and postbit_legacy, find:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
and replace it with:
<if condition="THIS_SCRIPT == 'showthread' AND ($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
Done.
venomx
05-07-2005, 06:07 PM
So any suggestions on making it post below the posts in the showthread.php?
Though the placement after the first post is growing on me,,, lol
Anyone edit this to share with ALL posters in a thread and not just the starter?
One last question.. :)
Can we make it also post right under the last post in the thread? Was just thinking I could put a conditional around the one after the first ost to show to only non membes and have the other show after the last post on the page to all with a conditional that would only add it if there was 3 posts after the first post...
venomx
05-07-2005, 06:12 PM
More thinking.. This would rock :)
Unregistered visitor
Post #1
Ad
Post #2
Post #3
Post #4
Post #5
Ad
Registered with 5 posts
Post #1
Post #2
Post #3
Post #4
Post #5
Ad
Unregistered and Registered with say 3 posts
Post #1
Ad
Post #2
Post #3
LEAD_WEIGHT
05-10-2005, 12:06 AM
Thanks for the tips to help me get started ;) I appreciate it bunches!
And thanks bunches for this cool hack! ;)
Have a splendid evening ;)
Another easy way or u can let everyone see it that is what I did to my site.
https://vborg.vbsupport.ru/showpost.php?p=648365&postcount=15
Originally Posted by AlexanderT
When you change the postbit templates,
Find this:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
Replace with this:
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID'])">
when applying the code changes in 7. of the instruction.
venomx
05-10-2005, 12:33 AM
Wjy would you limit it to be only seen by your mods (default VB level 7)?
biagrin
05-10-2005, 01:15 PM
ive not installed this yet but before i do i just want to ask a question - excuse my ignorance if i have missed something.
from what i have read this is like a banner rotation scheme but for adsense. does this mean each person has to have an adsense account and if so how would i know whos adsense account i am clicking on. because if im clicking on my own it would cause trouble.
ive not installed this yet but before i do i just want to ask a question - excuse my ignorance if i have missed something.
from what i have read this is like a banner rotation scheme but for adsense. does this mean each person has to have an adsense account and if so how would i know whos adsense account i am clicking on. because if im clicking on my own it would cause trouble.
good questions ;) yes, each person must have adsense (to put their id in their usercp pannel) and second well I really dont think so... I think it may be possible, but this hack I dont think supports that right now :)
biagrin
05-10-2005, 01:25 PM
so it would be best for admin to just not click any of the ads like normal?
so it would be best for admin to just not click any of the ads like normal?
yeah... because you run into the risk of clicking your own...
biagrin
05-10-2005, 02:07 PM
do the members not run the same risk then and would it not be putting my account at risk as well.
do the members not run the same risk then and would it not be putting my account at risk as well.
mm... really good point you have there ;) that would definetly be a problem, I never thought of that... however you may ask members no to click on the adsense and only guests to do it :)
as I said, you have a good point... and if you think about it... let's say you have 150 members who have joined the system.. the probabilities of clicking on your own adsense become less and less as more members join...
biagrin
05-10-2005, 02:23 PM
thats a shame as this is one of the few mods im interested in.
maybe if there is way to set it so that if the ads are your own they automatically change colour to warn you or if thats against TOS then maybe the persons avatar or name appears near it. hmmm any ideas?
biagrin
05-10-2005, 04:55 PM
sorry for the double post
does this just split the share of advertising between the thread starter and the admin, or does it include people posting in the thread as well?
does this just split the share of advertising between the thread starter and the admin, or does it include people posting in the thread as well?I'm really not sure about that...
maybe if there is way to set it so that if the ads are your own they automatically change colour to warn you or if thats against TOS then maybe the persons avatar or name appears near it. hmmm any ideas?that would be cool :)
AlexanderT
05-10-2005, 06:55 PM
good questions ;) yes, each person must have adsense (to put their id in their usercp pannel) and second well I really dont think so... I think it may be possible, but this hack I dont think supports that right now :)
It would be rather easy to implement that. But the question do you really want to click on any google ads appearing on your site? Why taking the risk? If you have a site with a lot of visitors, your own clicks would be marginalized anyways. I am currently using this hack only for my editors, and it is a policy on my board that noone of us clicks on ads appearing on our site.
venomx
05-10-2005, 07:38 PM
Couldnt we do something like...
If $post[ad_client_id] = users fieldX>
DIFFERENT AD HERE (NON-Adsense)
else
Show the adsense ads
</if>
I would test but I dont know how to get the fieldX of the user viewing... :(
biagrin
05-10-2005, 08:27 PM
well basically to sum up what i would like to see added:
adsense rotation being split between admin and thread starter only. that way the thread starter would know that the ad is either his account or admin account. that would instantly remove any problems.
yb the way when i tried to install it i followed the instructions to the dot but for some reason after it had been installed, when i tried to view a post i just got a warning saying something like "unexpected string /forums/showthread.php on line 31" which is where it says 'adsensesettings'
any idea what i have done wrong?
AlexanderT
05-10-2005, 09:05 PM
well basically to sum up what i would like to see added:
adsense rotation being split between admin and thread starter only. that way the thread starter would know that the ad is either his account or admin account. that would instantly remove any problems.
And that is how it is currently implemented.
something like "unexpected string /forums/showthread.php on line 31" which is where it says 'adsensesettings'
Do you have other hacks installed? Can you show us the line above and below 'hidprofilecache' (around line 30, before you applied my hack)? If you don't have any other hacks installed, make sure to follow the instruction closely:
Find:
'hidprofilecache'
REPLACE IT with:
'hidprofilecache',
'adsensesettings'
(e.g. don't forget to add the comma after 'hidprofilecache').
venomx
05-10-2005, 09:05 PM
well basically to sum up what i would like to see added:
adsense rotation being split between admin and thread starter only. that way the thread starter would know that the ad is either his account or admin account. that would instantly remove any problems.
I think thats the way it is. Plus it never shows the Thread starter his own if you used the right if conditional I believe...
biagrin
05-10-2005, 10:30 PM
ok i get this error now
"parse error: unexpected T_ELSE"
meaning the else in this code
{
$post['ad_client_id'] = $post['field11'];
if (!empty($post['field12'])) {
$post['ad_channel'] = $post['field12'];
}
}
else {
$post['ad_client_id'] = $adsensesettings['clientid'];
if (!empty($adsensesettings['channel'])) {
$post['ad_channel'] = $adsensesettings['channelid'];
AlexanderT
05-10-2005, 10:35 PM
biagrin that excerpt isn't really helpful. Did you include the entire snippet as was described in step 6? Also make sure you add it just below $FIRSTPOSTID = $post['postid']; (as was also described in 6).
biagrin
05-10-2005, 10:48 PM
well for some reason its working now even though i done the same thing as last time.
thanks for the help mate i really appreciate it. :) im new to all this.
one last thing (i hope :) )
how do i set it so that EVERY user group sees the ads but will NEVER see their own ads.
for example: bob makes a thread. his account is picked randomly. he doesnt see the ad but i do.
next time bob view the thread, my account is shown and he sees it but i dont.
beano33
05-12-2005, 02:00 PM
Anyone get this to work in the showthread template so the ad shows after the last post instead of the first as I asked in this post:
https://vborg.vbsupport.ru/showpost.php?p=649879&postcount=32
CallieJo
05-13-2005, 12:29 PM
You can use conditionals in the modifyoptions template so the new profile fields added are only visable for the usergroups you want.
See #2 in this thread (http://www.vbulletin.com/forum/showthread.php?t=101597)
I am trying this but the instructions are not sinking in very good. Like here:
This profile field needs to be the only custom profile field under the selected options category. Any other custom profile fields in the same category will be hidden as well.
I have more than one under edit profile.
Go to your:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Modify User Option Templates -> modifyoptions
In this template you will find several $customfields variables, one for each category in your options (the same categories as the ones for your profile fields). You need to enclose the appropriate $customfields variable with this conditional:
I go here and I do not understand what category? Is it edit profile? And where or what is it called in here?
Thanks!
AlexanderT
05-14-2005, 12:33 AM
I am trying this but the instructions are not sinking in very good. Like here:
This profile field needs to be the only custom profile field under the selected options category. Any other custom profile fields in the same category will be hidden as well.
I have more than one under edit profile.
Go to your:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Modify User Option Templates -> modifyoptions
In this template you will find several $customfields variables, one for each category in your options (the same categories as the ones for your profile fields). You need to enclose the appropriate $customfields variable with this conditional:
I go here and I do not understand what category? Is it edit profile? And where or what is it called in here?
Thanks!
I don't know what you were doing but nowhere do I find any such instruction posted for this hack.
LEAD_WEIGHT
05-16-2005, 11:32 AM
I don't know what you were doing but nowhere do I find any such instruction posted for this hack.
May be he has the real PAID HACK or got lost & was at this link
https://vborg.vbsupport.ru/showthread.php?t=80464&highlight=Adsense
designBox
05-17-2005, 09:19 PM
Maybe a dumb question but:
How difficult will it be to modify this Hack to allow sharing between Admin, Thread Starter and Last Poster?
(And by the way, are we allowed to modify this code or will this be any kind of copyright infrigment?)
By the way, many thanks for this awesome hack, i haven't installed it yet, but, i am sure, as soon as i will have my answers, i'll give it a try.
Thumb up.
venomx
05-17-2005, 09:25 PM
If you get it changed to split that way let me know please? :)
Though I want it so it splits between admin, thread starter, and a random person thats posted in the thread. :)
designBox
05-18-2005, 08:41 AM
Sure i will man :-)
I have another question concerning the actual hack.
Does the thread starter see their own ads?
EDITED: BTW, clicked on INSTALL :D
designbox as of now, I dont think nobody knows what ads are being displayed (if yours, or another specific member) you go to be careful with that because if you click on your own ads you could get banned from Google's adsense program...
venomx
05-18-2005, 02:11 PM
Are you sure it shows the first posters ad to himself?
AlexanderT
05-18-2005, 05:07 PM
Yes, the first poster or the board owner's ads are shown, depending on the percentage you entered in the control panel. It is rather easy to disable the display of ones own ads with an additional check in showthread.php (at least that's what I think now). If it is highly demanded, I could work on adding this feature.
CallieJo
05-19-2005, 01:58 AM
I don't know what you were doing but nowhere do I find any such instruction posted for this hack.
http://www.vbulletin.com/forum/showthread.php?t=101597
Was posted to me in this thread if you read through the posts here....I followed that but chose "options" instead of "edit Profile" in the instructions for the cat.
Basically, I took the advice from a couple peopes who replied to my post in this thread and pieced them together and figured it out. Then I posted to choose "options" instead of "edit profile" according to the tut posted to help direct me with my q.
AlexanderT
05-19-2005, 07:01 AM
[url]Basically, I took the advice from a couple peopes who replied to my post in this thread and pieced them together and figured it out. Then I posted to choose "options" instead of "edit profile" according to the tut posted to help direct me with my q.
I see so the question was more related to the modification posted over at vb.com. Were you able to figure out the problem?
designBox
05-19-2005, 07:25 AM
Yes, the first poster or the board owner's ads are shown, depending on the percentage you entered in the control panel. It is rather easy to disable the display of ones own ads with an additional check in showthread.php (at least that's what I think now). If it is highly demanded, I could work on adding this feature.
I don't know if it will be highly demanded but i guess this would be really better to avoid temptations of peoples clicking on their own ads.
I was also wondering, What will be the easiest to code:
- Revenue shared between Admin, Thread Starter and Last Poster ?
OR
- Revenue shared between Admin and All posters of a Thread?
Would really like to see these modifications or someone who can bring me a little light of how to do this....
Thanks again for this usefull hack :)
vze2yqtm
05-19-2005, 02:32 PM
Originally Posted by beano33
Before I installed this hack I had my ad code in the showthread template where they were displayed after the last post. I modified that code for google_ad_client = "$post[ad_client_id]";
google_ad_channel ="$post[ad_channel]";
but it wasn't inserting any client id so no one way getting paid.
So I removed the ad code from showthread and put it in the postbit template as suggested in the hack instructions. It works fine as far as functionality is concerned, but now the ads appear after the first post and we'd prefer them to show after the last post.
Can anyone tell me how to do one of the following:
1) make the hack work with the ad code in the showthread template, OR
2) get the ad code in the postbit legacy template to display after the last post instead of the first post.
Anyone know how to do this?
MichaelJM13k
05-25-2005, 03:51 AM
Nice hack! :)
For me the google ads show up under the first post on every page (like this: http://www.xbox360boards.com/showthread.php?p=26) how can i get it just to show up under the first post on the FIRST page?
LEAD_WEIGHT
05-25-2005, 03:10 PM
If you would take the time to read through the posts in this thread, you would see it all pertains to THIS thread!
No I'm not lost! Atleast I got it working without a response here...
Next time, don't be so rude!
BTW - it's a she...
BTW - "it's" a she... Describing yourself as female is your problem but I was only trying to help. "L"
topvar
06-02-2005, 02:21 AM
Alexander,
AMAZING job, I greatly enjoyed installing this and think it will prove to be a great addition to my forum.
Thanks for distributing it freely (I too was approached by the $175 guy, and saw a few commercial versions as well).
Spot on, and "Thanks" :)
Am I correct in assuming that I should include a note that tells all that participate "NEVER click an ad in a thread that you started" ?
Party on Garth ;)
topvar
06-02-2005, 05:02 AM
Hmmm... One debug question. I'm not having any channels show up for user-added channels, only the default forum channel.
Any common problem/solution I should be aware of?
I'll let you know if I find the problem as well, in case anyone else has it. But because it seems to work for the forum default, I imagine it's something small I'm missing somewhere.
I noticed there is nothing required for the "Regular Expression" of the channel. Should there be?
Thanks again
---Edit---
I found the problem. The install was so easy I missed something obvious. There are 4 field #'s you need to edit, I only edited 3. Works perfectly now it seems!
---/Edit---
LEAD_WEIGHT
06-03-2005, 07:42 PM
I found a good way to cheat & make bots click on advertise but u should only do this for 5min or less @ a time cause the hits I got were way to much for 5min so I give u a hint by the next time I post and tell u if I got in trouble for it. I did this with other ad links and left the link over night & got over 1000 hits by spiderbots but @ least I am going to get paid for those hits as those spiders have diff. ip's. :nervous:
venomx
06-03-2005, 08:27 PM
ummmmmm WTH?
yinyang
06-03-2005, 11:09 PM
I found a good way to cheat & make bots click on advertise but u should only do this for 5min or less @ a time cause the hits I got were way to much for 5min so I give u a hint by the next time I post and tell u if I got in trouble for it. I did this with other ad links and left the link over night & got over 1000 hits by spiderbots but @ least I am going to get paid for those hits as those spiders have diff. ip's. :nervous:
why not just set it so you only can do a max number.
LEAD_WEIGHT
06-04-2005, 04:57 AM
why not just set it so you only can do a max number.
I get paid for hits. For $15.85 I need 1000 hits in 7days & $7.95 in 3months and so far my hits are @ 1671 in least than 24hrs. all from those beautiful spiders. So why would I set it to do max if only I was playing with google ads which I stop cause I got to many hits in 5mins. I like to have my google ads. :lick:
yinyang
06-04-2005, 05:30 AM
I get paid for hits. For $15.85 I need 1000 hits in 7days & $7.95 in 3months and so far my hits are @ 1671 in least than 24hrs. all from those beautiful spiders. So why would I set it to do max if only I was playing with google ads which I stop cause I got to many hits in 5mins. I like to have my google ads. :lick:
i was referring to your remark about possibly getting "in trouble" for it. so i offered to set a max so it looked less suspicious.
in any case, i'm very interested to know how it goes though and would love for you to release it.
dsboyce8624
06-04-2005, 05:31 AM
I get paid for hits. For $15.85 I need 1000 hits in 7days & $7.95 in 3months and so far my hits are @ 1671 in least than 24hrs. all from those beautiful spiders. So why would I set it to do max if only I was playing with google ads which I stop cause I got to many hits in 5mins. I like to have my google ads. :lick:
This is what causes regular folks who follow the rules trouble.
Common problem, too greedy, and too lazy.
LEAD_WEIGHT
06-04-2005, 05:42 PM
This is what causes regular folks who follow the rules trouble.
Common problem, too greedy, and too lazy.
U talk like that Texas fool in the White House. "regular folks"
I do follow the rules of getting hits to banners by googles if u read what I said then u would know but then u do talk like that Texas fool in the White House. I also follow private advertiser hits to ads. All they want is different ip's address hits & no rehits by same ip in same day. :speechless:
dsboyce8624
06-04-2005, 07:17 PM
U talk like that Texas fool in the White House. "regular folks"
I do follow the rules of getting hits to banners by googles if u read what I said then u would know but then u do talk like that Texas fool in the White House. I also follow private advertiser hits to ads. All they want is different ip's address hits & no rehits by same ip in same day. :speechless:
Right, I'm the fool. I'm the one ripping off Google by using a bot to ping my ads, and then posting it for the whole world to see. I've seen a bunch of your posts all over this site, all you do is insult people and cause trouble. I don't see why you're tolerated at all.
venomx
06-04-2005, 07:19 PM
LEAD_WEIGHT adsense and other programs will cancel your account if you are generating false hits or paying people to click their ads. They want REAL visitors who may BUY something from their advertisers.
LEAD_WEIGHT
06-04-2005, 11:19 PM
Right, I'm the fool. I'm the one ripping off Google by using a bot to ping my ads, and then posting it for the whole world to see. I've seen a bunch of your posts all over this site, all you do is insult people and cause trouble. I don't see why you're tolerated at all.
LEAD_WEIGHT adsense and other programs will cancel your account if you are generating false hits or paying people to click their ads. They want REAL visitors who may BUY something from their advertisers.
One day u will able to read my post and see that I am not using absence google ads. One day u will able to read! As for insults, read the post and then u understand I did not do such a thing. U just can not able to differentiate between the fool in the White House and yourself that is to bad for u I quote what u said and what the fool aways says "regular folks"
I hope u could able to understand that was not an insult just u talk like him. I only insulted the fool in the White House.
Dean C
06-05-2005, 10:22 AM
Ok guys, lets keep on topic. Bare in mind that making bots click on ads will be against the TOS of any ad network you are on. And you risk getting your contract cancelled. In regards to the argueing, please be civil and the rights and wrongs of this issue shouldn't be argued in public, or at least in this thread. This is a modification support thread :) Thankyou for understanding
Stifler
06-13-2005, 04:08 AM
would it be possible to add the google adsense code to geek articles..
for instance, at the top of a page thats a geek article the users google adsense code is displayed?
LEAD_WEIGHT
07-12-2005, 07:46 AM
How do I place my own wrapper image to this properly.
<if condition="THIS_SCRIPT == 'showthread' AND ($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo == 2)">
<if condition="$show['spacer']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $scrolltothis style="font-weight:normal">Word from our Sponsor:</td>
</tr>
<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 = "F6F6F6";
google_color_bg = "F6F6F6";
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>
This is my code image I needed to make it look clean. I tried adding but it fall to show even google ads.
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td class="table_1" width="60" height="35" nowrap="nowrap"></td> <td class="table_2" width="100%" height="35" align="center">Sponsored Affiliates<td class="table_3" width="133" height="35" align="center" nowrap="nowrap"></td></tr></table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
[U]adsence code
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td class="table_4" width="67" height="16" align="center" nowrap="nowrap"></td> <td class="table_5" width="100%" height="16" align="center"></td> <td class="table_6" width="57" height="16" align="center" nowrap="nowrap"></td></tr></table>
</table>
*EDIT
*Got it.
CMilne
07-30-2005, 08:04 AM
Any idea when we can expect this for 3.5.0?
Attilitus
07-31-2005, 05:31 PM
I have emailed Google about this program and they said that it is absolutely not allowed as it is against the TOS. If you read the first response that google gave it is clear that they did not have the slightest clue what this program actually does.
LEAD_WEIGHT
08-16-2005, 12:07 AM
I have emailed Google about this program and they said that it is absolutely not allowed as it is against the TOS. If you read the first response that google gave it is clear that they did not have the slightest clue what this program actually does.
post email then please!.
AlexanderT
08-26-2005, 01:08 PM
I have emailed Google about this program and they said that it is absolutely not allowed as it is against the TOS. If you read the first response that google gave it is clear that they did not have the slightest clue what this program actually does.
Their answer was pretty clear to me: ...you may continue displaying ads from different publishers on your site...we ask that you not place ads from two different accounts on the same web page.
So how does this hack "absolutely" violate their TOS?
Attilitus
08-27-2005, 05:05 PM
Hello John,
Thank you for your email and for your concerns to remain compliant with
our program policies and Terms and Conditions.
We reviewed your request, and unfortunately we cannot grant permission to proceed with the situation described below. Doing so would be in violations of our Terms and Conditions.
We appreciate your checking in with us on this matter.
For additional questions, please visit our AdSense Support site at https://www.google.com/support/adsense or feel free to reply to this email.
We'd also like to encourage you to let us know how we can improve our customer support. Please take a few minutes to fill out our brief survey at http://www.insightexpress.com/s/Google.asp?uid=8&resetposition=true.
Your input is greatly appreciated.
Sincerely,
Natalie
The Google AdSense Team
----------------
To access the Google AdSense home page or to log in to your account, please visit: https://www.google.com/adsense
Original Message Follows:
------------------------
From: "John Smith" <John@smith.com>
Subject: Regarding "incentives for clicking"
Date: Sat, 23 Jul 2005 19:17:39 -0000
I am considering installing a program onto my message board website that
would give topic makers a percentage of the ad revenue that was gained
from within their threads.
I was wondering if this would be a violation of the incentive ban, as I am
not asking them to click the ads I am merely giving them incentive to make
popular topics that recieve alot of traffic.
My concern is that this could be seen as a way of encouraging the topic
maker from clicking the ads within their topic in order to recieve their
percentage of that revenue. I would of course disallow this but I still
fear that because I am putting my trust into other people that I could be
liable for their abuse of the Adsense program.
First, is a program in which people are encouraged to create topics that
recieve alot of traffic in return for a percentage of my Adsense revenue
gained from that topic allowed?
Second, If that is allowed how would I ensure that such a system does not
become abusive.
Thanks.
LEAD_WEIGHT
08-27-2005, 06:35 PM
Hello John,
Thank you for your email and for your concerns to remain compliant with
our program policies and Terms and Conditions.
We reviewed your request, and unfortunately we cannot grant permission to proceed with the situation described below. Doing so would be in violations of our Terms and Conditions.
We appreciate your checking in with us on this matter.
For additional questions, please visit our AdSense Support site at https://www.google.com/support/adsense or feel free to reply to this email.
We'd also like to encourage you to let us know how we can improve our customer support. Please take a few minutes to fill out our brief survey at http://www.insightexpress.com/s/Google.asp?uid=8&resetposition=true.
Your input is greatly appreciated.
Sincerely,
Natalie
The Google AdSense Team
----------------
To access the Google AdSense home page or to log in to your account, please visit: https://www.google.com/adsense
Original Message Follows:
------------------------
From: "John Smith" <John@smith.com>
Subject: Regarding "incentives for clicking"
Date: Sat, 23 Jul 2005 19:17:39 -0000
I am considering installing a program onto my message board website that
would give topic makers a percentage of the ad revenue that was gained
from within their threads.
I was wondering if this would be a violation of the incentive ban, as I am
not asking them to click the ads I am merely giving them incentive to make
popular topics that recieve alot of traffic.
My concern is that this could be seen as a way of encouraging the topic
maker from clicking the ads within their topic in order to recieve their
percentage of that revenue. I would of course disallow this but I still
fear that because I am putting my trust into other people that I could be
liable for their abuse of the Adsense program.
First, is a program in which people are encouraged to create topics that
recieve alot of traffic in return for a percentage of my Adsense revenue
gained from that topic allowed?
Second, If that is allowed how would I ensure that such a system does not
become abusive.
Thanks.
Your making it like if I post something in your site and had this adshare thing with you, that my ad would only appear in that thread and not rotate with other ads from google's.
Yeh, then that would be a problem if that happened.
You should of told them that the ad rotates and it is not possible to know who's ad it is until it is clicked on.
I am going to talk to these guy's, cause I already ask and it was alright back when AlexanderT created it. Now, you are saying it other wise??.
One more thing on this, I know their is one you have to pay $200+ for a simular script and they are cleared by google's absence. I think it is how you word it was the problem.
AlexanderT
08-30-2005, 08:40 AM
I am considering installing a program onto my message board website that would give topic makers a percentage of the ad revenue that was gained from within their threads.
John, this is not how the hack works. Whenever the hack picks the topic maker's client ID, the topic maker receives ALL of the ad revenue, not just a percentage. The percentage is only used to determine how often his client ID is used. Notice however that Google said specifically in my inquiry that while you can do this, you must not use additional GoogleAds with your own client ID attributed to it on the same page. In other words, you must guarantee that GoogeAds of only one GoogleAds client are shown on the page at one time.
LEAD_WEIGHT
08-30-2005, 04:55 PM
John, this is not how the hack works. Whenever the hack picks the topic maker's client ID, the topic maker receives ALL of the ad revenue, not just a percentage. The percentage is only used to determine how often his client ID is used. Notice however that Google said specifically in my inquiry that while you can do this, you must not use additional GoogleAds with your own client ID attributed to it on the same page. In other words, you must guarantee that GoogeAds of only one GoogleAds client are shown on the page at one time.
Here is what they said reguarding this Absense Code Hack from AlexanderT & this code is free unless you want to purchase the $200.00+ version that is approved by Google. Here is the responce I got.
Hello Bond,
Thanks for letting us know of your intentions.
I understand you'd like clarification regarding displaying ads on a web
page that contains ads associated with another Google AdSense customer
(e.g. a web hosting company).
If a website is in compliance with our program policies
(http://www.google.com/adsense/policies ) and the company or owner has
given you permission to display ads on their site, you may place your ad
code along with the other publisher's ad code on the same page. You will,
however, need to contact your web hosting company or the owner of the
website to obtain permission to display ads on their website.
Additionally, including your ads in a rotation is not in violation of our
program policies.
Please keep in mind that a maximum of three regular ad units and one link
unit may be placed on one web page. In addition, please be aware that
every publisher is responsible for the content of a website on which their
ad code is placed. If a website is found in violation of our program
policies, we will notify any publisher(s) whose ad code is on the website,
and ask you to remove the Google code from that page.
Thank you for your understanding and cooperation.
For additional questions, please visit our AdSense Support site at
https://www.google.com/support/adsense or feel free to reply to this
email.
We'd also like to encourage you to let us know how we can improve our
customer support. Please take a few minutes to fill out our brief survey
at http://www.insightexpress.com/s/Google.asp?uid=8&resetposition=true.
Your input is greatly appreciated.
Sincerely,
Guru
The Google AdSense Team
----------------
To access the Google AdSense home page or to log in to your account,
please visit: https://www.google.com/adsense
Original Message Follows:
------------------------
From: "Bond" <James@Bond.MI5>
Subject: Other
Date: Sat, 27 Aug 2005 20:18:48 -0000
I like to know if a program that rotates ads from different Google AdSence
Client ID's is allowed. It rotates ads so you do not know who's ad it is.
I like to share my pub=# to certain webmaster's sites that have this
software script running in their forum. It randomly makes your ad appear
for what ever the webmaster set it at. If I had my ad at another
webmaster's site and then sets my google's ads to appear 50% of the time
or divide among how many webmaster's join this ad sharing script.
I did seen a script that is more complicated than this, and it had
Google's approvel. I like to know if it goes against your TOS rules or is
it alright or do I need that complicated script to participate.
http://img280.imageshack.us/img280/5309/shot17rz.gif
Language: en
AdSenseLocale: en_US
Name: Bond
URL: http://www.theundergroundsource.com/forums
I this also complatible with vbulletin 3.5.0 RC 2?
LEAD_WEIGHT
09-06-2005, 08:08 PM
I this also complatible with vbulletin 3.5.0 RC 2?
vbulletin 3.5.0 RC 3 now and soon vbulletin 3.5.0 RC 4 then it maybe Gold :)
forumrating
10-01-2005, 04:10 PM
wil this code run for vb 3.5 gold latest version ?
b65ran
10-06-2005, 04:34 AM
wil this code run for vb 3.5 gold latest version ?
I am also interested in learnning, if it is going to be ok with 3.5?
italks
10-18-2005, 07:48 PM
still no replies.
aspen0
10-26-2005, 11:46 PM
How to turn off ads if its your own
In postbit.... change the first conditional to include the bold bit
<if condition="($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND ($bbuserinfo['field5'] != $post['ad_client_id'])">
With that small change a user will not be shown an ad if it is their own adcode. Hence, no stray clicks.
softstor
11-11-2005, 01:40 AM
I read that there is a $200 hack that is appoved by google.
Which hack(s) has been approved by google?
MrGeeK
11-14-2005, 09:27 AM
FYI: I've just now managed to get this to work with 3.51, I've hacked and slashed and munged my way through.
I'll pm AlexanderT and check that it's ok to release it. (warning first time I've done any kind of VB mod, I don't promise it will do more than take up disk space!)
Stifler
11-14-2005, 06:06 PM
FYI: I've just now managed to get this to work with 3.51, I've hacked and slashed and munged my way through.
I'll pm AlexanderT and check that it's ok to release it. (warning first time I've done any kind of VB mod, I don't promise it will do more than take up disk space!)
looking forward to a 3.5.x release :squareeyed: thanks
romow
11-14-2005, 08:30 PM
awesome.. looking forward to the released version.
FYI: I've just now managed to get this to work with 3.51, I've hacked and slashed and munged my way through.
I'll pm AlexanderT and check that it's ok to release it. (warning first time I've done any kind of VB mod, I don't promise it will do more than take up disk space!)
oldfan
11-22-2005, 01:07 AM
<if condition="THIS_SCRIPT == 'showthread' AND ($post['postid'] == $GLOBALS['FIRSTPOSTID']) AND (!$show['member'] OR $bbuserinfo[usergroupid] == 2)">
how can I add all my user groups?
I tried 1,2,3,4, but I got errors
thanks
oldfan
11-22-2005, 01:55 AM
why don't i see the ads? http://members.metallifukinca.com
If you are looking for the 3.5.x version of this, please refer here (http://www.vbarticles.com/forum/showthread.php?t=100).
Ported with kind permission from original author, AlexanderT. :)
Alphawolf83
11-27-2005, 11:37 AM
why don't i see the ads? http://members.metallifukinca.com
I guess you do have another adsense block somewhere on your site.
Same problem here. I changed it to another ad and the adsense block was shown.
But all in all a really nice hack! *clicks install* :)
oldfan
11-27-2005, 02:50 PM
I guess you do have another adsense block somewhere on your site.
Same problem here. I changed it to another ad and the adsense block was shown.
But all in all a really nice hack! *clicks install* :)
a second source?
oldfan
11-30-2005, 03:56 AM
could you explain more Alphawolf83?
thanks
Alphawolf83
11-30-2005, 03:21 PM
could you explain more Alphawolf83?
thanks
I actually didn't really know what made it this problem.
I just guessed that you're only allowed to show one adsense block every single page. It was the same problem in my forum. When I put only one adsense block on a page it was displayed, but when I had more than one adsense block displayed in the forum only the upper adsense block was shown.
Finally I put another ad (like superclix ...) in the page to be shown.
Do you have more than one adsense block on your page?
Sorry for the bad english. :p
oldfan
12-01-2005, 11:44 PM
I understand Alphawolf83, thanks
Yes, I have my ads on a sidebar.
Michael_Goldma
12-03-2005, 03:20 PM
Hello there,
I've tried to instal the hack and have these few problems currently:
1.
what are the field12 and field13?
What do you mean by that:
3. Make a note of the field names for 1. and 2. (e.g. field12 and field13)
2.
Also in 5. I can find this lines in the file, it doesn't exist there!:
5. Edit /forums/admincp/index.php
Find:
// *************************************************
$printhr = false;
if (can_administer('canadminstyles'))
3.
Where can I find a script to insert an adsense banner on top, or does this script do it?
4... Does your hack work with VN 3.5?
thanks, Michael
venomx
12-04-2005, 04:53 AM
I actually didn't really know what made it this problem.
I just guessed that you're only allowed to show one adsense block every single page. It was the same problem in my forum. When I put only one adsense block on a page it was displayed, but when I had more than one adsense block displayed in the forum only the upper adsense block was shown.
Finally I put another ad (like superclix ...) in the page to be shown.
Do you have more than one adsense block on your page?
Sorry for the bad english. :p
you can have 2 BUT if theres no ads to be shown for the "keywords" the adsense bot picks up then it will not show a second ad.
LEAD_WEIGHT
12-07-2005, 04:12 AM
thanks, Michael
1. Admin CP -> User Profile Fields -> User Profile Field Manager
and check which field is 'Google AdSense Client ID' & 'Google AdSense Channel ID' named under
2. It is still their in vB3.0.x and not in vB3.5.x
3. You can place the AdSense ad in header template.
4. vB3.5.x (http://www.vbarticles.com/forum/index.php) I think some bugs needs to be work out yet.
browsehosts
12-20-2005, 07:23 AM
how do you know how much each member is earning? how do they know?
LEAD_WEIGHT
12-21-2005, 03:49 AM
how do you know how much each member is earning? how do they know?
I think it works like this?
50% for you and 50% split amongst the rest
I am not sure, but it should be that you get the bigger piece of pie on your site.
hostingforum-it
12-23-2005, 10:52 AM
does this work on 3.5.2 ??
thanks
LEAD_WEIGHT
12-25-2005, 02:12 AM
does this work on 3.5.2 ??
thanks
Yes, it does work for vb3.5.2 in link below only.
http://www.vbarticles.com/forum/
MajorFm.com
02-12-2006, 05:56 PM
I tried installing this, never worked =0(
LEAD_WEIGHT
02-21-2006, 01:54 PM
I tried installing this, never worked =0(
If you need help, you can just pm me and I will help.
Keyser520
02-23-2006, 06:14 PM
Can someone pm me if there is a version of this hack for 3.5?
JeffreyC
03-25-2006, 11:44 PM
I will second the above statement. :)
webmastershome
04-13-2006, 12:37 PM
i have modified this hack in new one for 3.5.4 can i upload it as new hack or not
Regards
Jitender
AmICrazy
04-13-2006, 11:09 PM
i have modified this hack in new one for 3.5.4 can i upload it as new hack or not
Regards
Jitender
Could you please post it as a new hack? I need this as well.
Hemanth
04-18-2006, 04:42 AM
i have modified this hack in new one for 3.5.4 can i upload it as new hack or not
Regards
Jitender
Oh man.. Do it please.. There is a lot of people looking for it :)
nelto
04-25-2006, 08:57 PM
Any one can share this hack working for 3.5.4?
I know 2 foruns using it but they dont share the hack.
Anyone?
LEAD_WEIGHT
04-27-2006, 08:50 PM
i have modified this hack in new one for 3.5.4 can i upload it as new hack or not
Regards
Jitender
AlexanderT gave it to cinq to updated, but I do not see a working link to his site and if you have another newer version, then why not release it and give credits to coder that made it, that if you choose to release it. :)
nelto
05-05-2006, 10:52 AM
Looks like no one is going to pick this up.
Lets see if I can find the differences and get it working.
iacas
08-14-2006, 02:03 PM
Looks like no one is going to pick this up.
Lets see if I can find the differences and get it working.
I had cinq's version working, but the 3.6.0 upgrade has disabled it or something, and now it seems to be a paid product. Does anyone have any updated information? I still have the .php file ("adsenserev_admin.php") that goes into the admin cp, but I'm missing the directions. I still have my 3.5.4 files (including the modified showthread.php and the modified other bits).
sabrawy
01-11-2008, 11:57 PM
i set up it ok
but i modified my profile as a member in the forum with my own adsense account
its still getting the default account not mine
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.