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)
-   -   Board Optimization - Google Adsense Permissions (https://vborg.vbsupport.ru/showthread.php?t=230582)

TheInsaneManiac 12-18-2009 10:00 PM

Google Adsense Permissions
 
1 Attachment(s)
I was disappointed with VBulletin's Google Adsense Integration not allowing you to show advertisements only to specific usergroups. So with this modification you can now choose what usergroups you don't want seeing advertisements.


Installation
1.) Import the product-googleadsensepermissions.xml.
2.) Mark Installed. =]


Usage
Go into the AdminCP and add the Usergroups that you don't want to see the Google Adsense advertisements.


Upgrading
Import the product and select Allow Overwrite.


Changelog
1.0
Release

1.2
Added an option to disable the modification for certain forums

1.5
Added an option to display alternative ads to the forums that you disabled the modification for.


Special Thanks
Thanks to consolegaming for giving me a snippet I needed to get it to work.

SuperTaz 12-19-2009 11:15 PM

Nice. Thank you.

tafreeh 12-20-2009 01:08 AM

need screenshot of admincp please

TheInsaneManiac 12-20-2009 01:43 AM

Quote:

Originally Posted by tafreeh (Post 1933817)
need screenshot of admincp please

Check the first post.

Really not needed at all. It does exactly what I said it does and that's it. If you have a suggestion you'd like to add... let me know.

bhanuprasad1981 12-20-2009 07:21 AM

can you please add per forum option ? also show alternative ads in disabled forums can be helpful too :) i have some forums which are not as per rules of adsense i want to show other ads for that forums instead of adsense :)

TheInsaneManiac 12-21-2009 10:10 AM

Quote:

Originally Posted by bhanuprasad1981 (Post 1933912)
can you please add per forum option ? also show alternative ads in disabled forums can be helpful too :) i have some forums which are not as per rules of adsense i want to show other ads for that forums instead of adsense :)

I've included the feature request you have asked for in version 1.5 in which you may disable the modification in certain forums along with using your own advertisements for the disabled forums.

Updated the Admin CP screenshot BTW.

bhanuprasad1981 12-23-2009 04:31 AM

thank you very much :D

TheInsaneManiac 12-23-2009 05:29 PM

Quote:

Originally Posted by bhanuprasad1981 (Post 1936066)
thank you very much :D

No problems.

aaronrand 01-20-2010 01:58 PM

any chance this will work or get updated for 4.0.1?

TheInsaneManiac 01-21-2010 12:10 PM

Quote:

Originally Posted by aaronrand (Post 1961213)
any chance this will work or get updated for 4.0.1?

I have no intentions on purchasing 4.0, so no.


All times are GMT. The time now is 02:07 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.01903 seconds
  • Memory Usage 1,737KB
  • 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