Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Google Adsense Permissions Details »»
Google Adsense Permissions
Version: 1.1, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Board Optimization - Version: 4.x.x Rating:
Released: 09-18-2013 Last Update: 12-18-2015 Installs: 26
Uses Plugins
 
No support by the author.

This is a minor port of the 3.8 version found HERE. Will update it to more current sometime in the following days.

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. Currently it only supports permissions.


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.1
Bug Fixes

1.0
Release


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

Download Now

File Type: xml product-googleadsensepermissions.xml (5.7 KB, 102 views)
File Type: xml product-googleadsensepermissions 1.1.xml (5.7 KB, 47 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.
Благодарность от:
Pspfanatic

Comments
  #12  
Old 05-06-2014, 08:38 PM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great plugin, TIM. Any chance you could update it to exclude AdSense from certain forum sections, private messages and social groups? I don't want ads shown in private sections, and vBulletin's standard ad management is not useful when it comes to excluding certain sections. This plugin is excellent in that regard, but it has limited use in where to place the ad.
Reply With Quote
  #13  
Old 10-07-2014, 08:59 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod doesn't seem to be working for us. I have all the usergroups selected, but you can still see the ads.
Reply With Quote
  #14  
Old 08-04-2015, 04:09 PM
leemart44 leemart44 is offline
 
Join Date: Oct 2013
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed the 3.8 version in 4.23 and works good thanks
Reply With Quote
  #15  
Old 10-03-2015, 04:22 AM
iiioroh iiioroh is offline
 
Join Date: Jan 2011
Posts: 32
Благодарил(а): 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
  #16  
Old 12-19-2015, 06:50 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iiioroh View Post
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?
Sorry I don't receive emails anymore for some reason on new posts to my modifications. I noticed this was happening as I was updating this morning and set out to fix it. I just released 1.1 to fix this issue. Sorry for the inconvenience.
Reply With Quote
  #17  
Old 12-20-2015, 12:14 AM
iiioroh iiioroh is offline
 
Join Date: Jan 2011
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The module does not work for me
Reply With Quote
  #18  
Old 12-22-2015, 03:48 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iiioroh View Post
The module does not work for me
Did you set the usergroups not allowed to see ads in the AdminCP?
Reply With Quote
  #19  
Old 01-20-2016, 12:48 PM
Wmteknik Wmteknik is offline
 
Join Date: Dec 2015
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you..
Reply With Quote
  #20  
Old 12-16-2018, 03:11 AM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this on my vb 4.2.5 forum, as I want to allow members to pay a subscription to not see ads. Unfortunately, this is not working at all. Ads are shown even though I have enabled AdSense permissions and set the excluded usergrouls to: 5|6|7|30

My premium group is 30 (set as additional Usergroup), but this mod does not appear to do anything.
Reply With Quote
Reply

Thread Tools

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 11:31 PM.


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.05591 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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