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
  #152  
Old 10-13-2009, 07:46 AM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for late, update will be available on Friday 16 October, 2009 I changed the hole system covered most suggestions. I just start updating this mod 2 weeks ago, so please give me chance to test it.

I will be able to answer your questions on this friday.

thank you
Reply With Quote
  #153  
Old 10-15-2009, 10:25 PM
luket79 luket79 is offline
 
Join Date: May 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this mod, it's great. Is there any way to use this in the blog or in my ibparcade? The variables aren't recognized in the arcade.
Reply With Quote
  #154  
Old 10-15-2009, 10:26 PM
linuxututs linuxututs is offline
 
Join Date: Oct 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is GREAT !

Waiting on this, its the last thing I have to do to get My Board ready for production.

Thanks a 1,000,000
Reply With Quote
  #155  
Old 10-16-2009, 06:41 PM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated ..

- 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
Reply With Quote
  #156  
Old 10-16-2009, 07:53 PM
linuxututs linuxututs is offline
 
Join Date: Oct 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You so Much.............
Installing now.

Thanks,

UPDATE: Man, This is the easiest Adsense integration I ever done.

One question though .
How can I place an add in the footer ? Plus I'd have to disable one of the others to only have 3, correct ?

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

I would like to thank Ogmuk, ArnyVee, Zilvia and all other who participate for their suggestions

Quote:
Originally Posted by ArnyVee
Once you create the new user profile field(s) and they put their Google Adsense info into the field(s) where will that code display?

I'd want them to have the 'within first post' option so that it encourages them to post new threads since it shows their ads and possible money for them!

Is that the way it does (or can) work?
with v7.0 all ads in showthread page will be changed.. so choose where you want to put them by yourself or choose them from avialable options offered by this mod

Quote:
<script type="text/javascript">
sas_pageid='9614/72079'; // P?gina : RAZORMAN/foro
sas_formatid=3854; // Formato : 300x250 300x250
sas_target=''+wlrcmd; // Targeting
SmartAdServer(sas_pageid,sas_formatid,sas_target);
</script>
fmntprsv, I guess this will not work in that location even with rotate option

Quote:
Originally Posted by Zilvia
1. Allow for finer usergroup permissions, preferably unique display rights per ad. I like to show the top ad (under navbar) to guests only
2. Ability to add multiple custom code(s) per ad location
3. Ability to define the display post ad after every x post
1. you can do it by yourself with v7.0 if you want a table or a div or a specific condition for your ad, you can do it. for example ads for guests only: we will put in navbar:

PHP Code:
<if condition="!$show['member']">$ain_adsense[xx]</if> 
where xx is the id of your ad

2. you can add million custom code with 7.0 but it's will need your effort to change the id every time you need to change it.

3. I think this is somehow hard to do it right now, because this will need option for each thread (may you want to put ad under the 10th post in thread 124 but you don't in thread 154)


Quote:
Originally Posted by abdobasha2004
1- I want the ads inside posts to work with revenue share
2- It is not allowed in google adsense to publish 2 different acoounts on same page
1. you can with new v7.0
2. who tell you that? I read twice Google AdSense Program Policies but nothing about publish 2 different acoounts on same page? please provide me a evidence and thank you

Quote:
Originally Posted by mmurtha
Never mind! I got someone whi fixed everything up by stripping out the old code and only entering the #s code in the ad setup boxes. Appriceate the mod a lot.
good to read that I think v6.0 was a buggy version but it's was not very bad
just you need to know how it's work and I'm sorry for not be here to help you that day


Quote:
Originally Posted by apnifry
Database Error Occurs, if Threads are merged without leaving redirect. If you try to access old urls which has been merged with new thread, you will see error.

The error will appear only if revenue sharing is enabled.
I hope you can try it with v7.0 if it's still exist or not . thanks for reporting this
Reply With Quote
  #158  
Old 10-17-2009, 12:25 PM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Hi!
I got some error like apnifry! If a thread doesnt exist:
Datenbankfehler in vBulletin 3.8.2:
Invalid SQL:
SELECT COUNT(postid) AS posts FROM post WHERE userid =;
I guess I just know the problem .. I fixing it now

Quote:
Problem solved, I was entering the name of the new user profile field instead of the field number.
you will not need to do it by yourself any more with v7.0

Quote:
Originally Posted by snoopy5
The boxes of this Mod within the ACP for the google adsense code, do they work also with other affiliates? Do they also have only numbers to type in? If not, how to use it in this Mod? Which affiliate programs would you recommend? Which of these recommended are compatible with this Mod here? I would like to try them all out.
hi, this mod is for google adsense only but if you want to rotate adsnese with other? yes you can up to 2 or 3 .. search for similar adsense program you will find too much there but as my experince Adbrite is the best alternative.

Quote:
I found an incompatibility with another Mod called "Video-Directory Remixed"
you mean ads not shown in vedio.php page? if so, then sure they will not showed there because that mod use different pages that forum sections. but how about try the new version 7.0 to add variables ad in template that will show them is Video-Directory Remixed. try it and let me know if it's work or not. thank you

Quote:
Originally Posted by bmckinley
Still expect a July 25 release for update???
sorry for late. you can update it now

Quote:
I ended up in hardcoding the Google adsense code into the template of the Video hack.
oh good you solve it for yourself

Quote:
Originally Posted by tahrim
my user got only Page impressions they haven't got any click.. and there Earnings is 0
anybody can help me?
don't use more than 1 ad in a page. this mod is help you to show ads in your forum but it's can't help you to make more profit or tell people to click.. this against google law.. update to v7.0

Quote:
help. I tried to install something else on the board and started getting error messages about a security token. I uninstalled that mod.. but now this adsense mod is not working and neither is another one. I uninstalled the adsense mod, reinstalled but nothing shows up.
there are no form in v6.0 to be a security token in this mod. check the compatibilty of the other stuff you are trying to install and good luck

Quote:
Where's the promised update?
sorry

Quote:
update sorry Monday 25 July, 2009
so sorry

Quote:
Hmm, there is no Monday 25 July, 2009
sorry guys and I'm still active .. I got a bug in my life so I leave fixing this mod going to fix my life first .. and now I'm back with the update good luck all
Reply With Quote
  #159  
Old 10-17-2009, 12:40 PM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by manning
Also, how exactly does the rotate ads work? What if I have leaderboards, banners, and squares set up in different locations, yet I only want to have banners rotate? Doesnt seem to be enough control currently to prevent leaderboards from rotating with smaller size ads...
yes there are no control for rotate ads even in v7.0 I will try to make it esay in next version

Quote:
Displaying more than 3 slots on page is against Google TOS
update to v7.0 no more 3 ads show up in a page, but actually it's your responsibility to have 3 ads in a page.. this mod is give you options so you are the one - I mean anyone who use this mod - who decide what ads and how many! good luck

Quote:
XML Error: Not well-formed (invalid token) at Line 0
download the product again .. it's seems your connection cut of the download or there is a problem in your board.

Quote:
is there adsharing for users in thier own blog ?
no, not yet.

Quote:
I installed the mod on my forum. Problem is on the forum display I see one blank row at the beginning and one at the end.

Any solution to get rid of those?
check out your publisher id in ads setup options

Quote:
What are the Portal Output Global Variables so I can intergrate this into vbAdvanced?
may you can with v7.0

Quote:
Originally Posted by matthewhotdude
get errors on every page now
are you sure this because this mod?

Quote:
variables aren't recognized in the arcade
try the new version 7.0 and let me know if it's work with arcade!

Quote:
Originally Posted by linuxututs
How can I place an add in the footer ? Plus I'd have to disable one of the others to only have 3, correct ?
yes, you are smart

good luck all guys
best wishes
Reply With Quote
  #160  
Old 10-17-2009, 08:23 PM
almozafarr almozafarr is offline
 
Join Date: Aug 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks going to upgrade

بارك الله فيك
Reply With Quote
  #161  
Old 10-18-2009, 12:10 AM
luket79 luket79 is offline
 
Join Date: May 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesnt appear to be working. Upgraded from 6 to 7 and when I try to add a new ad unit, so my colors match again, clicking "save" doesn't add it to the list nor assign it an ID. Now I am displaying default google ads and cannot seem to change the colors...
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 05:08 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.08292 seconds
  • Memory Usage 2,389KB
  • 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_php
  • (26)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
  • (2)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