earnmoneyworld.com google adsense Revenue Share | 100% revenue share with members
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 : http://earnmoneyworld.com 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']"> 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> 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. Download No files for download. |