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
  #112  
Old 11-27-2005, 11:37 AM
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oldfan
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*
Reply With Quote
  #113  
Old 11-27-2005, 02:50 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alphawolf83
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?
Reply With Quote
  #114  
Old 11-30-2005, 03:56 AM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could you explain more Alphawolf83?
thanks
Reply With Quote
  #115  
Old 11-30-2005, 03:21 PM
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oldfan
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.
Reply With Quote
  #116  
Old 12-01-2005, 11:44 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand Alphawolf83, thanks
Yes, I have my ads on a sidebar.
Reply With Quote
  #117  
Old 12-03-2005, 03:20 PM
Michael_Goldma Michael_Goldma is offline
 
Join Date: Nov 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Quote:
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!:

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

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

Quote:
Originally Posted by Michael_Goldma
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 I think some bugs needs to be work out yet.
Reply With Quote
  #120  
Old 12-20-2005, 07:23 AM
browsehosts browsehosts is offline
 
Join Date: Apr 2003
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you know how much each member is earning? how do they know?
Reply With Quote
  #121  
Old 12-21-2005, 03:49 AM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by browsehosts
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.
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 09:27 PM.


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.05307 seconds
  • Memory Usage 2,309KB
  • 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
  • (8)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
  • (1)pagenav_pagelinkrel
  • (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