vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Google Adsense (https://vborg.vbsupport.ru/showthread.php?t=210886)

Benumbed 04-10-2009 10:00 PM

Google Adsense
 
1 Attachment(s)
Google Adsense is a very simple mod that is a cinch to install.

Install Instructions:
  1. Install Google Adsense Product
  2. Setup usergroups and the other options to your likings
  3. Insert your adsense code into the code forms.
Notes:
  • The Google Adsense content can be place anywhere and has preset options for Above Navbar, Below Navbar, Above Footer.
  • The Google Adsense content for Postbits can be placed under every post or a certain number. There is also a second that is placed in the top right corner with same options.
  • The Google Adsense content has options to show a border or not around the content.
Known Bugs:
  • None
Version History:
1.0.0 (Initial Release)
  • Added Google Adsense for Search
  • Added (2) Google Adsense for Content
  • Added (2) Google Adsense for Content (Postbit)
1.0.1
  • Added Option where Google Adsense for Content can be placed on last post by using -1, or second to last using -2, etc.
  • Added Option where Google Adsense for Content (Postbit) can be placed on last post by using -1, or second to last using -2, etc.

Davros 04-11-2009 12:17 AM

I'd be wary using this.

No offenece to the coder but look here.

http://www.vbulletin.com/forum/showthread.php?t=304827

Is there anyway it can be used with Adbright or other Ad companies as I've completely lost faith in Adsense since this happened to me and other members.

It shouldn't be too difficult to modify the code. I might have a go myself.

Benumbed 04-11-2009 12:31 AM

Quote:

Originally Posted by Davros (Post 1788557)
I'd be wary using this.

No offenece to the coder but look here.

http://www.vbulletin.com/forum/showthread.php?t=304827

Is there anyway it can be used with Adbright or other Ad companies as I've completely lost faith in Adsense since this happened to me and other members.

It shouldn't be too difficult to modify the code. I might have a go myself.

I read about something like this and was not the cause of this, as Google Adsense started letting it get bundled into programs etc.

I know there was a rule that you could have only 3 on a page at a time, would break rules if you had more than 3. They wont even let more than 3 show now and this mod doesnt go around their code so should be no worrys.

Benumbed 04-11-2009 12:33 AM

Quote:

Originally Posted by Benumbed (Post 1788563)
I read about something like this and was not the cause of this, as Google Adsense started letting it get bundled into programs etc.

I know there was a rule that you could have only 3 on a page at a time, would break rules if you had more than 3. They wont even let more than 3 show now and this mod doesnt go around their code so should be no worrys.

Also it isnt hard to modify as you wouldnt have to modify to put a banner or another companies code.

The code is what Google Adsense or another company gives you, you post that into a input field in admincp.

I guess it could be named something else as it can be used for more than just Google Adsense. Look in the admincp picture if you need to see about how the code is inputted.

Jasem 04-11-2009 02:57 AM

Nice work, thank you!

Installed

universosymbian 04-13-2009 04:16 PM

thank you very much, this is a perfect friend.

slobra 04-17-2009 11:33 PM

Nice mod! Couple questions:

1) If I tell it to put a postbit ad after every 1st post (i.e., enter "1" in the After Post # field) it will show an ad after post 1 and post 11. If I enter 2, it shows it in post 2 and 12. The problem with this is that it uses up Google's maximum 3 ads rule and then it doesn't show the ad I have above the footer. Can this be fixed? You can see an example at: http://truestreetcars.com/forums/pic...down-tree.html

2) Also, how do I tell it to show an ad after the last post? Since I don't know what the number of the last post will be...

Benumbed 04-18-2009 02:19 AM

Quote:

Originally Posted by slobra (Post 1793625)
Nice mod! Couple questions:

1) If I tell it to put a postbit ad after every 1st post (i.e., enter "1" in the After Post # field) it will show an ad after post 1 and post 11. If I enter 2, it shows it in post 2 and 12. The problem with this is that it uses up Google's maximum 3 ads rule and then it doesn't show the ad I have above the footer. Can this be fixed? You can see an example at: http://truestreetcars.com/forums/pic...down-tree.html

2) Also, how do I tell it to show an ad after the last post? Since I don't know what the number of the last post will be...

Will look into why it put them in the x1 or x2's unless it has to do with how many posts per page, will look into it.

Will add an option for the before last post/after last post in next update.

zombietom 04-18-2009 03:32 AM

does this work on 3.7 ?
thanks

Benumbed 04-18-2009 01:18 PM

Quote:

Originally Posted by zombietom (Post 1793714)
does this work on 3.7 ?
thanks

Yes


All times are GMT. The time now is 02:10 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.01370 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete