Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Adsense Revenue Sharing Hack 1.1 (0 queries version) Details »»
Adsense Revenue Sharing Hack 1.1 (0 queries version)
Version: 1.00, by AlexanderT AlexanderT is offline
Developer Last Online: Jul 2021 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-27-2005 Last Update: Never Installs: 48
 
No support by the author.

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; 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 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 05-19-2005, 07:25 AM
designBox's Avatar
designBox designBox is offline
 
Join Date: Oct 2003
Location: Europa
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexanderT
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
Reply With Quote
  #73  
Old 05-19-2005, 02:32 PM
vze2yqtm vze2yqtm is offline
 
Join Date: Mar 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?
Reply With Quote
  #74  
Old 05-25-2005, 03:51 AM
MichaelJM13k MichaelJM13k is offline
 
Join Date: Feb 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #75  
Old 05-25-2005, 03:10 PM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CallieJo2
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"
Reply With Quote
  #76  
Old 06-02-2005, 02:21 AM
topvar topvar is offline
 
Join Date: May 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #77  
Old 06-02-2005, 05:02 AM
topvar topvar is offline
 
Join Date: May 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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---
Reply With Quote
  #78  
Old 06-03-2005, 07:42 PM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #79  
Old 06-03-2005, 08:27 PM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ummmmmm WTH?
Reply With Quote
  #80  
Old 06-03-2005, 11:09 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LEAD_WEIGHT
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.
Reply With Quote
  #81  
Old 06-04-2005, 04:57 AM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yinyang
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:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06124 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete