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
Google Adsense Permissions Details »»
Google Adsense Permissions
Version: 1.5, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.8.x Rating:
Released: 12-18-2009 Last Update: 12-20-2009 Installs: 17
Uses Plugins
 
No support by the author.

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.

Download Now

File Type: zip Google Adsense Permissions.zip (973 Bytes, 54 views)
File Type: zip Google Adsense Permissions 1.2.zip (1.1 KB, 37 views)
File Type: zip Google Adsense Permissions 1.5.zip (1.5 KB, 183 views)

Screenshots

File Type: jpg Google Adsense Permissions.jpg (93.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
ChiNa, vithorius

Comments
  #22  
Old 09-23-2013, 08:08 PM
mbc100 mbc100 is offline
 
Join Date: Feb 2009
Location: K.S.A
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it dosn`t work
Reply With Quote
  #23  
Old 09-23-2013, 11:02 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mbc100 View Post
it dosn`t work
Posting comments like that does not help the developer address your issues. Please be specific when posting issues.
Reply With Quote
  #24  
Old 11-24-2013, 08:56 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Posting comments like that does not help the developer address your issues. Please be specific when posting issues.
Thanks for the help mate. Yes mdc100 if you could let me know what's going on I will be more than happy to help. Also I am working on some other projects at this time, so after posting please PM me to alert me that you have replied. Thanks.
Reply With Quote
  #25  
Old 07-27-2015, 09:11 PM
Cusski Cusski is offline
 
Join Date: Feb 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 4.2.3 and when this plugin is cative, i have the following all over the place (has been working perfectly untill this update)

PHP Warning: Illegal string offset 'userid' in ..../includes/functions.php on line 989

PHP Warning: Illegal string offset 'userid' in ..../includes/functions.php on line 992

PHP Warning: Illegal string offset 'usergroupid' in ..../includes/functions.php on line 932

PHP Warning: Illegal string offset 'usergroupid' in ..../includes/functions.php on line 998

PHP Warning: Illegal string offset 'userid' in ..../includes/functions.php on line 998

PHP Warning: Illegal string offset 'usergroupid' in ..../includes/functions.php on line 998

any ideas on how to fix this?
Reply With Quote
  #26  
Old 03-08-2016, 05:29 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This Addon Works perfectly with vBulletin's Google Adsense Integration Addon for vBulletin 3.8. I use it to Disable Ads for certain Usergroups and Forums on my Forum Board.

If you guys want Install vBulletins "Google Adsense Integration" Addon then you dont even have to add any HTML Ads in the 3 Textareas. The Addon will Automatically assign the Ads in 3 Random Spots on your Forum. All you need have do is Install the "Google Adsense Integration" addon and Install the "Google Adsense Permission" product afterwards.

Next Access your "Google Adsense Permission" Settings from your AdminCP and add the Usergroup ID's or Forum ID's for those Forums and Usergroups that you want to Enable/Disable the Adsense for.

For vBulletins Google Adsense Integration Tutorial: CLICK HERE
Reply With Quote
  #27  
Old 07-05-2016, 09:41 AM
webnsn webnsn is offline
 
Join Date: Oct 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why this ?

VBads already have a option to insert User groups to show ads then why this?
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 09:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04176 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
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
  • (2)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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (2)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (4)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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