Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ain - Advanced Google AdSense Details »
Ain - Advanced Google AdSense
Mod Version: 7.0, by al3bed (Member) al3bed is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (50 votes - 4.64 average) Installs: 486
Released: 17 Feb 2009 Last Update: 16 Oct 2009 Downloads: 3739
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files Re-usable Code Translations  

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:
    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin Google/Adsense Site Search Integrated into Advanced Search Page markbolyard vBulletin 3.6 Template Modifications 19 21 Sep 2010 15:16
Integration with vBulletin Ain - Advanced Google AdSense al3bed vBulletin 3.7 Add-ons 113 15 Apr 2010 11:18
Mini Mods Advanced Google AdSense Channel Tracking Adult SEO vBulletin 3.6 Add-ons 7 21 Dec 2007 21:46
Miscellaneous Hacks Google Referral Firefox - Advanced Mr Chad Modification Graveyard 12 26 Jan 2007 03:32

  #91  
Old 06 Apr 2009, 01:13
o0_avid_0o o0_avid_0o is offline
 
Join Date: Mar 2009
hi there.. my partner Paul Schlegel and I are working on a forum at workathometruth.com and we were wondering..

the rev sharing.. can this be used to share between ONLY the admins? like really all we want it for at this point is to split the revenue between the 2 of us for now.. perhaps later on down the road we will use it to share with the users.

I've been poking around in the settings and trying to figure out if this is possible but if it is i don't understand how to get that working.

another thing that boggles me is the field part:

enter the name of the field that contains user adsense publisher id
attention: should build new field, example: field6

i was thinking this might be the way to get it to do what we need. i'm just really not sure what to do with this at all. perhaps a step by step for a simpleton like me would be helpful.



can anyone help us out at all?

thanks guys.. ps i just wanna say to all you coders who have been kind enough to share your work with the rest of us.. Thank you! we might not all always say it, but we appreciate all the hard work you guys do.

thanks in advances, gents.

Rick aka avid/workathometruth.com
Reply With Quote
  #92  
Old 11 Apr 2009, 04:46
crazlunatic crazlunatic is offline
 
Join Date: Mar 2009
Hi. Right now you can only choose between leaderboard, banner, and custom ad.
Can I create two custom ads because for custom ad, I already used it to display image only leaderboards.

I want to make square ads in between posts.

Last edited by crazlunatic; 11 Apr 2009 at 05:02.
Reply With Quote
  #93  
Old 11 Apr 2009, 11:28
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Real name: Haytham
Great. Thanks a lot just installed it and it's working fine on 3.8. Wanna see the cash flow
Reply With Quote
  #94  
Old 17 Apr 2009, 07:58
snerd snerd is offline
 
Join Date: Apr 2007
Version 5.2

Using W3C Markup Validation I get one error:

Validation Output: 1 Error

1. Error Line 76, Column 72: ID "ain_Reload" already defined

… id="vbseo_vhtml_0"></div> <div id="ain_Reload" align="center"><script type="

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

2. Info Line 50, Column 39: ID "ain_Reload" first defined here

</td> </tr> </table> <br /> <div id="ain_Reload" align="center"><script type="

How can I fix this please?

Thank you,
snerd

Last edited by snerd; 17 Apr 2009 at 08:04.
Reply With Quote
  #95  
Old 19 Apr 2009, 18:39
Scamorz Scamorz is offline
 
Join Date: Oct 2006
How works google adsense revenue sharing?
Can you post more details?
thanks
Reply With Quote
  #96  
Old 22 Apr 2009, 01:28
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
first I want to thanks all people support this mod.

PossumX I will find the better way to modify this mod. thanks for sharing me your experience in this mod.

Originally Posted by Queball_Beast View Post
Is there anyway we could ad a search bar in the header or on some part of forum home?
well, in this version I guess no. maybe with farther once..

Originally Posted by Chirag patel View Post
How do you show ads inside the first post?
there is an option for adding ads inside the first post .. see snapshots..

Originally Posted by ryans View Post
I added it and it worked great. I installed a new style, deleted the old style, changed the colors in ain and the old colors stick. is there some cache somewhere to fix my colors?
I guess it's about cookies + some colors not supported by google adsense

Originally Posted by trickfly View Post
Before I install can instead of adsense can I use adbrite code instead ?
no, if you want to use it as primary ads
yes, if you want to rotate adsense with adbrite ads.

Originally Posted by luxmail View Post
hi any idea how in share revenue adsense, the user shall not see his own ads ? any ideea ?
if he can't see his own ads the he will not trust if there are showing or not. but there is a way for this, you need to update some codes. I will try to make sharing options more specific with next version.
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #97  
Old 22 Apr 2009, 01:49
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
I want to use the adsense revenue sharing by displaying the google ads under the pics in the users gallery.

Is this possible?
Reply With Quote
  #98  
Old 22 Apr 2009, 01:51
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
nNJ thanks for suggestions but it's hard to do it like what you explain it. I will try to do it in another way.

can this be used to share between ONLY the admins
yes .. when you build the user field set Private Field to yes, then choose form usergroups admin groups to apply field to them

o0_avid_0o sharing settings have no advance options yet. let's wait the next version

Hi. Right now you can only choose between leaderboard, banner, and custom ad.
Can I create two custom ads because for custom ad, I already used it to display image only leaderboards.

I want to make square ads in between posts.
with v6.0 you can't add square ads in between posts.. next version will include more flexible options and optimized codes.


Using W3C Markup Validation I get one error:
Validation Output: 1 Error
that because I use one id for many attributes to reloading ads. you can fixed it by editing 'ain_adsense_sideH' template find and delete:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after this you will be unable to use reloading option.

I will fix this in the newer version.

How works google adsense revenue sharing?
Can you post more details?
if you want to enable adsense revenue share, you should build user field and write the field name in options of adsense revenue share. you can build field as following:
- AdminCP -> User Profile Fields -> Add New User Profile Field
- choose Profile Field Type: single-line text box then continue
- add information like what in this file then save the field.
- copy the name of field and bring it to main options in AGA.

it's simple.. which part you didn't understand?
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #99  
Old 22 Apr 2009, 23:24
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
wonderful... THanks
Reply With Quote
  #100  
Old 28 Apr 2009, 16:34
Ogmuk Ogmuk is offline
 
Join Date: Jun 2003
Hi,

First of all, great add-on.

Bugs I noticed in 6.0:
1) Main options > main options > choose alignment for ads: at this option left and right are switched.
2) Display Options > display ads in different pages > display ads in archive: yes and no give the same result. Ads are always displayed in the archive.
3) On the page album.php?albumid=* the top ad is displayed after the <br /> and thus isn't displayed correctly (two line breaks before the ad and none after). On the pages album.php and album.php?albumid=*&pictureid=* the ad is showing fine.
4) The option "display after x post" is behaving odd. For instance when using "2" there, on each page of the thread it would show an ad after the first post -and- then 2 posts later, so in-between the 3th and 4th, it would show another, and 2 posts later, etc. So it behaves as if it does "display after first post all page" + the additional x posts later. In addition to this, if this is fixed, could it maybe be possible to have an option "display after x post" and "display after x post all pages"? For instance if you'd like to show the ad after each 2nd post (but not repeat it after every 2 posts like it does now).
5) When viewing pictures in Social Groups, no ads are shown even though ads are turned on for both Social Groups and Albums.
6) If a forum has "Allow Post Icons" set to "No" then the colspan will be wrong and the ad links will be displayed in the wrong area.
7) The link ads show when searching for "Find all posts by user", which uses a different style so they probably shouldn't show then.

Feedback:
1) Could it be possible to add an option to turn off the use of google_ad_slot for archive ads? That way the archive ads would have the default color and would look better with the default colors than with the color scheme I use on the normal (non-archive) version (since that's dark/black instead of white/light).
2) In addition to the feedback above, maybe allow us to put the banner that's showing below the archive at the left side? So 2 side banners and one on top? I've stumbled upon this mod and it gives some more freedom with the archive ads: EZ Archive Ad System. Here an example of a site using it: website.
3) 2 options are missing at the moment. It's impossible to turn off the sidebar in the search results (afaik) and it's also impossible to set the type of banner. I'd like a banner instead of leaderboard and no skyscraper at the side but I can't get this done at the moment:
Display options > display ads in different pages
4) The custom adsense search is showing fine on the forum. Could it be possible to add compatibility with vbadvanced so it will show on the portal page as well?
5) Maybe add the possibility to show ads on forum category pages (i.e. when clicked on category instead of subforum)?



I hope some of that is of use to you and thanks again for the great mod!

Last edited by Ogmuk; 05 May 2009 at 22:12.
Reply With Quote
  #101  
Old 02 May 2009, 11:15
Oren MAZDASPEED Oren MAZDASPEED is offline
 
Join Date: Oct 2007
Installed ver 6 with no problems exept one problem:

In explorer 8 it works without broblems but some users with explorer 6 and 7 complain about ads being aligned sometimes on the left side and sometimes on the center randomly,
(choose alignment for ads - center)

can you check this please?

thanks.
Reply With Quote
  #102  
Old 05 May 2009, 15:21
Scamorz Scamorz is offline
 
Join Date: Oct 2006
Bug:

- if you active ads for social groups the mod is in conflict with "transfer group" system.
Reply With Quote
  #103  
Old 06 May 2009, 20:56
Ogmuk Ogmuk is offline
 
Join Date: Jun 2003
Originally Posted by Ogmuk View Post
3) On the page album.php?albumid=* the top ad is displayed after the <br /> and thus isn't displayed correctly (two line breaks before the ad and none after). On the pages album.php and album.php?albumid=*&pictureid=* the ad is showing fine.
This is the most annoying bug of the ones I reported. If anyone knows how to fix it, let me know.
Reply With Quote
  #104  
Old 09 May 2009, 12:26
Ogmuk Ogmuk is offline
 
Join Date: Jun 2003
Originally Posted by Ogmuk View Post
3) On the page album.php?albumid=* the top ad is displayed after the <br /> and thus isn't displayed correctly (two line breaks before the ad and none after). On the pages album.php and album.php?albumid=*&pictureid=* the ad is showing fine.
Download 6.0 again.

Edit product-ain_adsens.xml, search for:
$vbulletin->templatecache['album_picturelist'] = str_replace($search_text, $search_text.'<br />$adsense_tableh'.'$adsense_tablef', $vbulletin->templatecache['album_picturelist']);}

Replace with:
$vbulletin->templatecache['album_picturelist'] = str_replace($search_text, $search_text.'$adsense_tableh<br />'.'$adsense_tablef', $vbulletin->templatecache['album_picturelist']);}

Go to Plugins & Products -> Add/Import Product -> Allow Overwrite -> YES!
Reply With Quote
  #105  
Old 09 May 2009, 14:30
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
I definitely want to add this one in the near future. I'm especially interested in the revenue sharing aspect of it.

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?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:48.

Layout Options | Width: Wide Color: