Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
earnmoneyworld.com google adsense Revenue Share | 100% revenue share with members Details »»
earnmoneyworld.com google adsense Revenue Share | 100% revenue share with members
Version: 1.00, by DxSEO DxSEO is offline
Developer Last Online: Feb 2017 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 09-17-2010 Last Update: Never Installs: 11
Template Edits
Is in Beta Stage  
No support by the author.

I am using 100% revenue share with members. I am using only one adsense add placement in my forum(only in thread) and i am sharing that with my members.

Author Site : earn money

Here we go

First you need to create a extra field in user profile via admin pannel. (only no)

Code:
admincp > User Profile Fields > Add New User Profile Field 

Select Single-Line Text Box

Title - Google Adsense
Description - Put Your Adsense Code here Only Numbers.
Max length of allowed user input - 16
Field Length - 25
Field Required - No
Field Editable by User - yes
Private Field - no
Field Searchable on Members List 	- no	
Show on Members List - no
Regular Expression -  ^[0-9]{16}$

Display Page - edit Profile

In the template postbit templates > postbit find:

Code:
<vb:if condition="$show['attachments']">
Just Above Post this code

Code:
<vb:if condition="$post[postcount] == 1">
<vb:if condition="$post['fieldName']">
<script type="text/javascript"><!--
google_ad_client = "pub-{vb:raw post.fieldName}";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel = "forum";
google_color_border = "E1E1E1";
google_color_bg = "E1E1E1";
google_color_link = "FFFFFF";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
google_ui_features = "rc:0";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<vb:else />

<script type="text/javascript"><!--
google_ad_client = "pub-";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel = "forum";
google_color_border = "E1E1E1";
google_color_bg = "E1E1E1";
google_color_link = "FFFFFF";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
google_ui_features = "rc:0";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</vb:if></vb:if>
change fieldName with your User Profile Field name (adsense)

Ta Da............. Now your forum is adsense revenue share forum.

Note : Don;t use default header and footer adsense code with this hack. Google adsense terms not allowed to use different adsense code in same page. So plz careful.

you can use same code for your header and footer add or any other add. If you wana installation i can do that for you (not free).

Let's discuss more possibilities of this modification.

Show Your Support

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

Comments
  #12  
Old 09-21-2010, 02:12 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im using a stock vB default theme on my test site.. However no worries.. I was just testing it and have no real use for this.. If it does really work as described it sounds like mod of the month material for sure.. Good Luck!!
Reply With Quote
  #13  
Old 09-22-2010, 07:52 AM
skol skol is offline
 
Join Date: Oct 2008
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic idea,my concern is would Google deem this as click fraud?
Reply With Quote
  #14  
Old 09-22-2010, 08:40 AM
DxSEO's Avatar
DxSEO DxSEO is offline
 
Join Date: Nov 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skol View Post
Fantastic idea,my concern is would Google deem this as click fraud?
no this is not. We are not forcing user to click on ads.
Reply With Quote
  #15  
Old 10-13-2010, 03:50 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any way to makre sharing with percent

in this way u mention it is 100% to thread starter
i want it like 80% or 50%
Reply With Quote
  #16  
Old 10-22-2010, 10:50 AM
massizero massizero is offline
 
Join Date: Apr 2008
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to make only a certain group able to display the banner?
Reply With Quote
  #17  
Old 12-01-2010, 08:37 AM
DxSEO's Avatar
DxSEO DxSEO is offline
 
Join Date: Nov 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abdobasha2004 View Post
any way to makre sharing with percent

in this way u mention it is 100% to thread starter
i want it like 80% or 50%
can be done but we are providing only 100% share

Quote:
Originally Posted by massizero View Post
is it possible to make only a certain group able to display the banner?
yes can be done with vbulletin condition like this

Code:
<vb:if condition="$show['guest']">Show this to guest only</vb:if>
Reply With Quote
  #18  
Old 12-10-2010, 05:00 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does this work? how do you share revenue? I don't have adsense, but this looks promising
Reply With Quote
  #19  
Old 12-18-2010, 07:08 PM
sunnylikbeckham's Avatar
sunnylikbeckham sunnylikbeckham is offline
 
Join Date: Feb 2008
Location: India
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey,great post
but i want something like
for those users who have not added there pub id
mine ads will be shown to there threads
Reply With Quote
  #20  
Old 01-04-2011, 09:29 AM
DxSEO's Avatar
DxSEO DxSEO is offline
 
Join Date: Nov 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Juggernaut View Post
How does this work? how do you share revenue? I don't have adsense, but this looks promising
this will share revenue with thread starter.

Quote:
Originally Posted by sunnylikbeckham View Post
hey,great post
but i want something like
for those users who have not added there pub id
mine ads will be shown to there threads
yes this is same. If user not added pub id ur adsense will show on threads.
Reply With Quote
  #21  
Old 02-26-2011, 10:14 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way I can make it so that only certain user groups can post their publisher ID information in the User Profile field?

I would only like my supporters and staff to be able to use this and make money but not everyone on my site. (Ie My supporters can make money but my regular registered members can not.)

Also what happens if there is a post made and there is no google information (publisher id) for it, does a google ad display or can it use my own Google ID number if there is none there?

Thanks!
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 06:58 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.09782 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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