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

This modification is in the archives.
vB Version: 3.7.x Rating: (17 votes - 4.71 average) Installs: 184
Released: 06 Oct 2008 Last Update: 16 Oct 2009 Downloads: 899
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
Please remember to click Mark as Installed if you use this modification.
Also, if you like it nominate it for MOTM, donate to make it better



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 and 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 16:16
Mini Mods Advanced Google AdSense Channel Tracking Adult SEO vBulletin 3.6 Add-ons 7 21 Dec 2007 22:46
Miscellaneous Hacks Google Referral Firefox - Advanced Mr Chad Modification Graveyard 12 26 Jan 2007 04:32

  #61  
Old 22 Feb 2009, 13:37
PAKIDIL PAKIDIL is offline
 
Join Date: Jan 2007
its not working for me i have tried a lot in forumdisplay page its shows only " sponser link" but no ads when i enable ads shows in first post after title bar there's ad shows only but the rest places it isnt . i have tried with default skin too to check it but same problem exist so any help please ?
Reply With Quote
  #62  
Old 23 Feb 2009, 02:03
merkaz merkaz is offline
 
Join Date: Sep 2008
very nice mod .

it will be nice if we can export admincp options on xml file to try more times and get the best .
Reply With Quote
  #63  
Old 23 Feb 2009, 13:47
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Originally Posted by PAKIDIL View Post
its not working for me i have tried a lot in forumdisplay page its shows only " sponser link" but no ads when i enable ads shows in first post after title bar there's ad shows only but the rest places it isnt . i have tried with default skin too to check it but same problem exist so any help please ?
is the ads not shown or there is white spaces but ads not shown in it? what version of vbulletin you are use? try to update your custom templates.. check your google codes in options..

good luck

Originally Posted by merkaz View Post
very nice mod .

it will be nice if we can export admincp options on xml file to try more times and get the best .
.. I will do that only if it's need it on coming versions
thanks
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #64  
Old 24 Feb 2009, 17:29
dt-pain dt-pain is offline
 
Join Date: Dec 2003
Great job coder. One more small thing. When you go to forums with sub forums all the ads are displayed under the subforums rather then the side and above..
Reply With Quote
  #65  
Old 24 Feb 2009, 20:02
dt-pain dt-pain is offline
 
Join Date: Dec 2003
Thanks again. Can you help me again with the same problem different template. Take a look here http://www.sacpaintball.com/forum/fo...play.php?f=163

This is for a client. He would like everything below the threads and above the footer to align right so that the sponsor ad would fallow just under the last thread. Do you understand what I'm saying? Thank you!!
Reply With Quote
  #66  
Old 24 Feb 2009, 20:30
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Originally Posted by dt-pain View Post
Great job coder. One more small thing. When you go to forums with sub forums all the ads are displayed under the subforums rather then the side and above..
yes, so what is the problem?

you mean you want them show up there!

Originally Posted by dt-pain View Post
Thanks again. Can you help me again with the same problem different template. Take a look here http://www.sacpaintball.com/forum/fo...play.php?f=163

This is for a client. He would like everything below the threads and above the footer to align right so that the sponsor ad would fallow just under the last thread. Do you understand what I'm saying? Thank you!!
ok, this is very complex! and will implemented in all tables
try this:

in ain_adsense_tableH template search for:

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

replace it with:

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


I will try to include more flexibility options to choose which ads you want to put in each fourm ... next version 6.0 wait it on 10 Mar, 2009
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #67  
Old 24 Feb 2009, 22:55
dt-pain dt-pain is offline
 
Join Date: Dec 2003
Originally Posted by al3bed View Post
yes, so what is the problem?

you mean you want them show up there!



ok, this is very complex! and will implemented in all tables
try this:

in ain_adsense_tableH template search for:

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

replace it with:

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


I will try to include more flexibility options to choose which ads you want to put in each fourm ... next version 6.0 wait it on 10 Mar, 2009
I cant seem to find the template ain_adsense_tableH but i am looking. And on the subform questions. Yes If we can get the subforums to display the left side ads like the rest of the site that would be great. Thanks for all your help..
Reply With Quote
  #68  
Old 24 Feb 2009, 23:12
dt-pain dt-pain is offline
 
Join Date: Dec 2003
Sorry but I can not seem to find that template. Can you direct me please?
However i did find that line of code in the xml and made the changes and uploaded that over writing the old one with no luck. It sort of just jacked up the page.
Reply With Quote
  #69  
Old 25 Feb 2009, 07:39
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
hi dt-pain,

this template (ain_adsense_tableH) is come with the product
you should found it in all styles .. this is the div that centers your ads

or try another one... add to your leaderboard code in options
at the start: <div align="right">
at the end: </div>

let me know if you still cant change align.
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #70  
Old 25 Feb 2009, 18:06
dt-pain dt-pain is offline
 
Join Date: Dec 2003
Originally Posted by al3bed View Post
hi dt-pain,

this template (ain_adsense_tableH) is come with the product
you should found it in all styles .. this is the div that centers your ads

or try another one... add to your leaderboard code in options
at the start: <div align="right">
at the end: </div>

let me know if you still cant change align.
Thanks but that still did not help!

Here is what I have in the tableH template

<if condition="($vboptions[ain_adsense_border])"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>
<td class="thead">$vboptions[ain_adsense_sponser]</td>
</tr>
<tr>
<td class="alt1"></if><div id="ain_Reload" align="right">
Reply With Quote
  #71  
Old 25 Feb 2009, 22:38
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
change any align="center" in this template to align="right"
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #72  
Old 26 Feb 2009, 03:43
dt-pain dt-pain is offline
 
Join Date: Dec 2003
Originally Posted by al3bed View Post
change any align="center" in this template to align="right"

Haha that didnt work either. If you want I can PM you the login to the site and you can take a look?

Thanks!!!!!!!!!!!!!!!!!
Reply With Quote
  #73  
Old 26 Feb 2009, 21:05
Mongez's Avatar
Mongez Mongez is offline
 
Join Date: Mar 2008
Real name: Haytham
awesome mode

good work al3loo ,but what about arabic version ?

thanks
__________________
Reply With Quote
  #74  
Old 27 Feb 2009, 12:33
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Originally Posted by dt-pain View Post
Haha that didnt work either. If you want I can PM you the login to the site and you can take a look?

Thanks!!!!!!!!!!!!!!!!!
no problem but this adjustments should work !!


Originally Posted by Mongez View Post
awesome mode

good work al3loo ,but what about arabic version ?

thanks
you can found it in traidnt.net/vb

good luck
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #75  
Old 17 Mar 2009, 11:02
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
updated ..

- 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
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
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 14:23.

Layout Options | Width: Wide Color: