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

ok, try this:

open 'postbit_lagecy' template find:
HTML Code:
<!-- message -->
above it add:
HTML Code:
<if condition="$post[postcount] == 1"><div><div style="float:right; margin-left: 5px;">$ain_adsense[id]</div></if>
then find:
HTML Code:
$template_hook[postbit_signature_end]
above it add:
HTML Code:
<if condition="$post[postcount] == 1"></div></if>
this should work
you can customize your options there... for the float ,margin, ad unit id or postcount

good luck
Reply With Quote
  #213  
Old 11-04-2009, 08:33 PM
elwachiman's Avatar
elwachiman elwachiman is offline
 
Join Date: Nov 2009
Location: Venezuela
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pronto Lo Instalo
Reply With Quote
  #214  
Old 11-04-2009, 08:45 PM
rgvtruck rgvtruck is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by al3bed View Post
ok, try this:

open 'postbit_lagecy' template find:
HTML Code:
<!-- message -->
above it add:
HTML Code:
<if condition="$post[postcount] == 1"><div><div style="float:right; margin-left: 5px;">$ain_adsense[id]</div></if>
then find:
HTML Code:
$template_hook[postbit_signature_end]
above it add:
HTML Code:
<if condition="$post[postcount] == 1"></div></if>
this should work
you can customize your options there... for the float ,margin, ad unit id or postcount

good luck
I still get a gap
Reply With Quote
  #215  
Old 11-04-2009, 11:03 PM
alahmed alahmed is offline
 
Join Date: Apr 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello al3bed

Thank you so much for this fantastic product

i am using version 6 , and i want to ask if the issues i am going to talk about is still in version 7 or not


i have two questions i want to ask:

1- in Ain - Advanced Google Ad Sense - Main Options ===>> choose alignment for ads

you could control the direction of the ads , Right , left or middle

This options controls all ads whatever the size or the type is or the location

i want to be able to control each type separately, either to move them right or left or leave them in the middle , even you could say each location could be controled separatly.




2- The square ad inside the subject is not above the subject , in some case on the same line as the 1st line of the message



Reply With Quote
  #216  
Old 11-05-2009, 02:05 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by al3bed View Post
I think it's possible to do it, a page controlled by showing a template for specific reason make sense sure.
Hey bud just wondering if you plan on adding these addons in a near new version?
Reply With Quote
  #217  
Old 11-05-2009, 08:00 AM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
Hey bud just wondering if you plan on adding these addons in a near new version?
yes sure.. I like the idea

Quote:
Originally Posted by rgvtruck View Post
I still get a gap
gap between sig & post exist even if you don't use these stuff? or it's only there is a gap because the ad unit?

Quote:
Originally Posted by alahmed View Post
hello al3bed

Thank you so much for this fantastic product

i am using version 6 , and i want to ask if the issues i am going to talk about is still in version 7 or not

i have two questions i want to ask:
1- in Ain - Advanced Google Ad Sense - Main Options ===>> choose alignment for ads
you could control the direction of the ads , Right , left or middle

This options controls all ads whatever the size or the type is or the location

i want to be able to control each type separately, either to move them right or left or leave them in the middle , even you could say each location could be controled separatly.

2- The square ad inside the subject is not above the subject , in some case on the same line as the 1st line of the message
hi, it's better to upgrade to v7.0 .. v6.0 somehow bugy

1. no, even with new version you need to setup each ad unit manually if you want to control each location separatly.

2. it's depend on your choice for adsense inside first post. check the display option for ads in first post and change it to 'below the title'. .. you can find arabic version of this hack in traidnt.net/vb
Reply With Quote
  #218  
Old 11-05-2009, 10:06 AM
alahmed alahmed is offline
 
Join Date: Apr 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you ..

i did not find the Arabic version 7.0 in Traident.

1- if Google ads (links) on the same side as the thread titles it would perfect , So adding at least an option to control the links ads alone in showthread template is a good option as i think.

2- its already chosen " below the title" while i am have this little problem.
how to add at least one line between the square ad the beginning of the threads ( the message)

have a nice day
Reply With Quote
  #219  
Old 11-07-2009, 10:14 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a SUPERB add-on, but i need to know if i can put my personal banners into the rotation or under/over the google ads ... it's possible? how?

TIA
Reply With Quote
  #220  
Old 11-07-2009, 12:01 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im not sure if this is a bug or if its me.

First I reported that the links in the side column don't actually link to the options in the VB-options panel. Not a big deal I can always just go to the vb-options to edit.

This is the bug or problem I'm having.

With this hack enabled I cannot edit most of the standard VB features in the vb-options panel. Things like changing the human verification will not reset if I remove or add options.

If I disable and turn off the hack I can edit the options. Back on I cant edit options so its this modification in the admin cp that's causing it to hang and return a blank panel.

Not a white page but If I click save the frame forwards to a blank options panel with only the sidebar. I have to go back to the VB-Options tab to get the frame back.

Hope this is clear I really want to use the mod but If I have to disable it every time I edit VB-options its going to get old quick.
Reply With Quote
  #221  
Old 11-07-2009, 09:31 PM
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alahmed View Post
Thank you ..

i did not find the Arabic version 7.0 in Traident.

.... So adding at least an option to control the links ads alone in showthread template is a good option as i think.
there you go: http://www.traidnt.net/vb/showthread.php?t=1358616

sorry I can't add more options for displaying ads.

Quote:
Originally Posted by KURTZ View Post
i need to know if i can put my personal banners into the rotation or under/over the google ads ... it's possible? how?
you can only if you put them there manually but without rotate .. rotate will be more effecitve with the next version of this mod

Quote:
Originally Posted by Scalemotorcars View Post
Im not sure if this is a bug or if its me.

First I reported that the links in the side column don't actually link to the options in the VB-options panel. Not a big deal I can always just go to the vb-options to edit.

This is the bug or problem I'm having.

With this hack enabled I cannot edit most of the standard VB features in the vb-options panel. Things like changing the human verification will not reset if I remove or add options.

If I disable and turn off the hack I can edit the options. Back on I cant edit options so its this modification in the admin cp that's causing it to hang and return a blank panel.

Not a white page but If I click save the frame forwards to a blank options panel with only the sidebar. I have to go back to the VB-Options tab to get the frame back.

Hope this is clear I really want to use the mod but If I have to disable it every time I edit VB-options its going to get old quick.
I just checked that with 3.6.12 and .. no problems with other vb options


search for deleted products that still have xml files in includes/xml folder. if there any non defualt, please let me know so I can help you if it's a problem of compatibility otherwise all are running good
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 01:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12086 seconds
  • Memory Usage 2,387KB
  • 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
  • (8)bbcode_html
  • (1)bbcode_php
  • (8)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