Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ain - Advanced Google AdSense Details »»
Ain - Advanced Google AdSense
Version: 7.0, by al3bed al3bed is offline
Developer Last Online: Jul 2021 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.x Rating:
Released: 02-16-2009 Last Update: 10-15-2009 Installs: 488
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

peace on you

work on vBulletin 3.8, 3.7 and 3.6 latest Versions
remember to click Mark as Installed if you use this modification.

please do not nominate this mod in any case
and in case become in MTOM please do not vote for it
and in case won the MTOM do not worry they will kick it out because of the two lines above




About this hack:
Advanced Ads for famous Google adsense program (for the program, click here) are now very high-class show in all pages of your forum, many options to offer more than a way of advertising in all pages. this product contains group of main features:
  • Google adsense Manager: system to add, edit and display adsense in your vbulletin forum
  • adsense revenue share: share with admins, friends or users
  • rotate ads: rotate adsense with other ads


why this is better than "Google AdSense Integration" feature:
Google AdSense Integration have only specific packages. And these packages have no options.



but let's take a look on Advanced Google AdSense features



Main features:
  • you can add adsense ads info into your database then call them by variables.
  • You can exclude or add forums, users, usergroups or ips from display ads to them.
  • practicability to show ads in specific locations with tables and borders or css divs.
  • practicability to choose best alignment to show your ads.
  • practicability to add extra ads under side left/right adsense ads.
  • with adsense share you can specifying how many post should user reach, percentage of share and either you want to share users or admins.
  • practicability to show adsense for search in popup forum search menu in navbar.
  • practicability to use old style of adsense code and use it with your fourm.
  • practicability to rotate adsense ads with other program ads for example like bidvertiser.
  • practicability to add specific ads for specific forum.
  • very high classifying options to show your adsene in different locations.


Screenshots:
First: admincp options

Second: google adsense manager
Third: display options pages

Install/upgrade the product:
- upload file cpnav_ain_adsens.xml inside includes\xml (replace it if you are upgrading from 6.0)
- Import product-ain_adsens.xml file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] (Allow overwrite if you are upgardeing)


How to use it:
  1. after installation/upgrade go to your forum admin control panel (main page) and check out if your publisherid is empty or not. if it is, ads will not work until you update it. please visit ads setup options page to update it.
  2. in ads setup options, click on the link in the second option. you will be redirected to ads units system to ad your ads. from there you can delete, update or preview your adsense codes. if you planning to use adsense share it's better to add custom adsense unit.
  3. any ads already in your list, you can use it in any template. if your ad unit id is 5 and you want to display it in header template. you can go to header then add this code:
    PHP Code:
    $ain_adsense[5
    this in case you want to do it by yourself.
  4. in case you want to display your ads by the avilable option, go to Display options then click on the link you want to edit options in it. for example, you want to mange your adsense ads in forum home page. after you enterd the page, you have to choose locations where you want to show your ads. then on each location you choosed there are place to put ad id you preferd to that location. finally save and enjoy
  5. if you want to exclude users, usergroups, forums or ips you can do it from main options. you will need to take a look on options there.
  6. adsense share is completely optional, if you want to enable sharing take a look on Adsense Share options and if you still have questions I will be here to help if possible.


Versions:
  • v1.0 - not released beta.
  • v2.0 - first release for 3.7
  • v3.0 -
    • coordinating options in admincp.
    • options to display ads as links unit.
    • option to use css tables with ads.
    • add new option to display ads under first post only.
    • add new option to display ads beside the first post.
    • options to display ads in search result page.
  • v4.0 -
    • enhance tables show position when tables option checked.
    • add option to display ads left hand side in forumhome.
    • add option to display ads left hand side in forumdisplay.
    • new options to show link units ads.
    • new option display ads between post after x post.
    • add member profile page to 'show ads in different pages' option.
    • enhance codes & templates to work perfect with board.
  • v5.0 -
    • add option to show ads on side for showthread page.
    • new options to show ads on albums.
    • new options to show ads on social groups.
    • new option to exclude users id from showing ads.
    • option added: change phrase that shows beside ads
    • option added: to auto reload ads every x sec.
    • option added: to choose best direction to show vertical ads
    • enhance and fixed some codes in templates & plugin.
  • v5.1 -
    • fixed bug in code of reload ads every x sec
    • fixed problem with display ads between posts
  • v5.2 -
    • option added: exclude or add forums
    • option added: exclude or add groups
    • bug fixed: ads not showing to gusts
    • bug fixed: exclude forums problems
    • all permission are enables on archive
  • v6.0 -
    • divide options in ACP, create cpnav file
    • options added for adsense revenue share
    • option added for alignment ads in pages
    • options added to create old adsense unit
    • options added for rotate ads
    • option added to include ads in each forum
    • option added for google adsense search box
    • options added to choose different ads to show for each ads group
    • options added to choose type of cincturing for each ads group
    • codes enhanced, variable for ads available to use in any template
  • v7.0 -
    • divide adsense share in new group options, edit cpnav file
    • option removed auto refresh option
    • option added to exclude ip addresses
    • adsense share: option added to share revenue with admins, friends or users
    • adsense share: auto build new field for users
    • new system to add ads info into database table
    • extra ads to display under side left/right ads
    • another field to add code for rotate stuff
    • new pages for display options
    • options removed links ads and search page
    • extra options to dispaly ads in archive


Please post your comments or suggestions for this hack.
Thank you for supporting this modification, donate to make this mod even better
don't forget to Click to Mark as Installed



..

Download Now

File Type: zip Advanced Google AdSense [7.0].zip (34.2 KB, 1784 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
TTayfun

Comments
  #62  
Old 03-16-2009, 12:43 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedHacker View Post
if i installed can down from threads this....?
Do know anyone....?
Reply With Quote
  #63  
Old 03-16-2009, 01:25 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to remove phrase....?
Reply With Quote
  #64  
Old 03-16-2009, 05:03 AM
jmw jmw is offline
 
Join Date: Jan 2005
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aren't there any instructions for the settings? Can't get it to work. Do I have to set the forums the ads will show on or does this hack already have these settings set by default?
Reply With Quote
  #65  
Old 03-16-2009, 07:51 AM
Queball_Beast's Avatar
Queball_Beast Queball_Beast is offline
 
Join Date: Mar 2006
Location: Sunny Florida
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also getting this same error

Quote:
Originally Posted by Sweeks View Post
Just updated to the latest version with a few problems. Any ideas as I am going to downgrade now. Also, when I first overwrote the product with the new product the ads locations seemed all messed up and looked aful compared to the older version. Hope this can be fixed soon.
Reply With Quote
  #66  
Old 03-16-2009, 01:17 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Queball_Beast View Post
I am also getting this same error
Did you overwrite the product and upload the contents of the ZIP, as that was all that I done.
________
Masturbation solo
Reply With Quote
  #67  
Old 03-16-2009, 11:36 PM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yellow Slider
by rotate ads do you mean that we can show random ads?
rotate is random change ads per refresh, you can use it with other ads like adsnese program - I mean it's better - but you can also use it for any other banners.

rotate ads replaced in 3 places in each of showthread, forumdisplay and forumhome.. I will try to add more options to rotate section with next version.

Quote:
Originally Posted by Yellow Slider
here is my last post in this thread, you said that these options will be in your next version?
yes. I do most of your suggestions with 6.0:
- you can manually add ads in any template locations
- you can choose different code ads for different pages
- you can choose ads alignment (center, left or right)

you need to setup your ads + set options as you like. if in any case ads that automaticly added to your pages not comfortable to you, you can add them manually to templates because I can't cover all options that may someone will choose!

best regards

Quote:
Originally Posted by BozzaJos View Post
Al3bed, thanks for this mod! I've installed it a while ago and installation/setup was very easy. I still need to upgrade but I've got a question first.

Ever since I installed this add-on, my eCPM has dropped to USD 0,00 or USD 0,01. In the past seven days, I had over a million ads views but a revenue of USD 10,54. Is there something I am doing wrong is or is there something wrong with the add-on? To see where I've placed the ads, please visit my site, FMFormation.

I hope you can help me with my problem. I know you can't really make so much money with Google Adsense but a eCPM of 0,00 or 0,01 is ridiculous right?

Thank you in advance!
there are no relationship between showing ads and revenue. I can help you if ads not shown to your guests or users in forum, but why the eCPM goes down? sorry, I don't know about these issues ..


Quote:
Originally Posted by RedHacker View Post
if i installed can down from threads this....?
sorry, I don't get the idea.. can you explain please?

Quote:
Originally Posted by Sweeks View Post
In the updated version you released today can I use IF conditions within the code boxes for example:

Code:
<if condition="THIS_SCRIPT == 'index'"></if>
I would like extra ads on the side of our homepage but the above IF wont work for me in the code boxes.

Great mod and the best adsense integration as of yet!

Thank you.
first, there are no code boxes with new version.. the code ads boxes with olders version like 5.2. And even if you are using these IF conditions with code boxes it's will not work because these IF conditions just work with vbulletin templates.

you can add more ads to side by edit ain_adsense_sideH template. find $ain_skyscraper add after it your extra ads with IFs. also I will try to add options for side ads in next version..

good luck

Quote:
Originally Posted by Yellow Slider View Post
I have the same problem too, my earnings are more then 50$ lower then what it was before I installed this addon, it's good to know that I'm not the only one.
eCPM is calculated by dividing total earnings by total number of impressions in thousands. so it is my problem if your guests does not click on ads?! or may this add-on effect the eCPM?

may you are right, because if you show many ads in your forum the impressions will increased in thousands. so people will not click on ads more than impressions. but I need someone to tell me what common between system that show ads and how much earnings you will get form ads?

Quote:
Originally Posted by Sweeks View Post
Just updated to the latest version with a few problems. Any ideas as I am going to downgrade now. Also, when I first overwrote the product with the new product the ads locations seemed all messed up and looked aful compared to the older version. Hope this can be fixed soon.
you need to enter your client id to get hack work. ensure if you upgrade from 5.2 or older to delete your codes from google_ad_slot options.

Quote:
Originally Posted by jmw
Aren't there any instructions for the settings? Can't get it to work. Do I have to set the forums the ads will show on or does this hack already have these settings set by default?
you do not need to set forums ids.. if you wanna use this mod you should setup you ads. after install or upgrade go to: AdminCP > Google Adsense > Ads Setups ..
you need to enter your adsense client id to get hack work.

ensure if you upgrade from 5.2 or older to delete your codes from google_ad_slot options.

thanks anyway for comment

Quote:
I am also getting this same error
if you upgrading .. be sure to delete all codes from google_ad_slot options


good luck
Reply With Quote
  #68  
Old 03-16-2009, 11:46 PM
Queball_Beast's Avatar
Queball_Beast Queball_Beast is offline
 
Join Date: Mar 2006
Location: Sunny Florida
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes I did, I did it twice, there is only 1 xml file and the product so it should be simple.

5.2 worked great :up:

Thanks


Quote:
Originally Posted by Sweeks View Post
Did you overwrite the product and upload the contents of the ZIP, as that was all that I done.
Reply With Quote
  #69  
Old 03-16-2009, 11:53 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by al3bed View Post
rotate is random change ads per refresh, you can use it with other ads like adsnese program - I mean it's better - but you can also use it for any other banners.

rotate ads replaced in 3 places in each of showthread, forumdisplay and forumhome.. I will try to add more options to rotate section with next version.



yes. I do most of your suggestions with 6.0:
- you can manually add ads in any template locations
- you can choose different code ads for different pages
- you can choose ads alignment (center, left or right)

you need to setup your ads + set options as you like. if in any case ads that automaticly added to your pages not comfortable to you, you can add them manually to templates because I can't cover all options that may someone will choose!

best regards



there are no relationship between showing ads and revenue. I can help you if ads not shown to your guests or users in forum, but why the eCPM goes down? sorry, I don't know about these issues ..




sorry, I don't get the idea.. can you explain please?



first, there are no code boxes with new version.. the code ads boxes with olders version like 5.2. And even if you are using these IF conditions with code boxes it's will not work because these IF conditions just work with vbulletin templates.

you can add more ads to side by edit ain_adsense_sideH template. find $ain_skyscraper add after it your extra ads with IFs. also I will try to add options for side ads in next version..

good luck



eCPM is calculated by dividing total earnings by total number of impressions in thousands. so it is my problem if your guests does not click on ads?! or may this add-on effect the eCPM?

may you are right, because if you show many ads in your forum the impressions will increased in thousands. so people will not click on ads more than impressions. but I need someone to tell me what common between system that show ads and how much earnings you will get form ads?



you need to enter your client id to get hack work. ensure if you upgrade from 5.2 or older to delete your codes from google_ad_slot options.



you do not need to set forums ids.. if you wanna use this mod you should setup you ads. after install or upgrade go to: AdminCP > Google Adsense > Ads Setups ..
you need to enter your adsense client id to get hack work.

ensure if you upgrade from 5.2 or older to delete your codes from google_ad_slot options.

thanks anyway for comment



if you upgrading .. be sure to delete all codes from google_ad_slot options


good luck
Well the old version seems to provide all I need. I was looking for the templates and must have missed them.

The main reason I wanted to use IFs was so that on the index where you can scroll more I could add more ads and exclude them on showthread and forumdisplay where obviously a few skyscrapers will push the editor right to the bottom.

Thank you.

EDIT: Just spent a few mins looking for Ain Adsense Templates or similar, naming the parent title Algdeer had me lost, maybe change that in future releases so we can find them easier?
________
CREAMPIE INTERNAL
Reply With Quote
  #70  
Old 03-17-2009, 08:04 AM
Queball_Beast's Avatar
Queball_Beast Queball_Beast is offline
 
Join Date: Mar 2006
Location: Sunny Florida
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

6.0 is not working for me.
If I enter Pub ID and not fill in the 5 ad slots below it, then it would display two 728 x 90 ads throughout the forums


But, If I fill in the Pub ID and the 5 ad slots below with the ads I was displayed, then I get an error throughout the forums.

I have imported and overwritten the product a few times and uploaded the xml file to includes/xml/xml file

see Screen shot below

Reply With Quote
  #71  
Old 03-17-2009, 08:47 AM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Queball_Beast View Post
6.0 is not working for me.
If I enter Pub ID and not fill in the 5 ad slots below it, then it would display two 728 x 90 ads throughout the forums


But, If I fill in the Pub ID and the 5 ad slots below with the ads I was displayed, then I get an error throughout the forums.

I have imported and overwritten the product a few times and uploaded the xml file to includes/xml/xml file
you must enter a valid slot number. If you are copy the whole code it's will not work and you will get this errors.. look please to this picture:
https://vborg.vbsupport.ru/attachmen...0&d=1237071506

there is only numbers in slot options
you can get the slot number from you code it' looks like:

Code:
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
/* 120x600, created on 21/10/08 */
google_ad_slot = "7067436542";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
you just need to put the number in google_ad_slot value.
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:41 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.06837 seconds
  • Memory Usage 2,390KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (15)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete