vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - Google Adsense Permissions (https://vborg.vbsupport.ru/showthread.php?t=302436)

TheInsaneManiac 09-18-2013 10:00 PM

Google Adsense Permissions
 
1 Attachment(s)
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.

crazyboy1661 09-19-2013 08:42 AM

1 Attachment(s)
Hi I am not getting the page as you have shown in the screen shot. But getting only one option
to add the group IDs. Find the attached file.

TheInsaneManiac 09-19-2013 03:55 PM

Quote:

Originally Posted by crazyboy1661 (Post 2446654)
Hi I am not getting the page as you have shown in the screen shot. But getting only one option
to add the group IDs. Find the attached file.

Sorry the screenshot is old. As the topic states, it's just a minor port right now. Will finalize everything later tonight. For now it's just the permissions. I apologize for any inconvenience.

ChiNa 09-19-2013 07:44 PM

So finally it just got added in Google Search :D...

For those of you who dont know, I earlier made a comment on the version for vBulletin 3.8 This Plugin has helped our forum achieve arround 100 US DOLLARS every year! To make it work correctly, simply download the vBulletin Google Adsens Plugin from the Members Area and Simply use this for your VIP Members who you dont want the ads to appear for! Thats what I use it for and it has been amazingly helpfull for our forum.

@TheInsaneManiac, Thanks mate for the Link that you sent me earlier today! Infact I forgot to say thanks and add 5 Stars Rep. But its not allowing me to do non of it :D. But Thanks a Lot Mate. I also noticed that you actually just released it and sent me the link immediately! Its trully very classy and niceof you. It wasnt for me but for a good friend of mine! I guess he will be thanking you as well later on!

God Bless, CM!

Robru 09-24-2013 10:53 AM

Fantastic!! Thank you :)

ozzy47 09-24-2013 07:09 PM

Quote:

Originally Posted by ChiNa-Man (Post 2446763)
So finally it just got added in Google Search :D...

@TheInsaneManiac, Thanks mate for the Link that you sent me earlier today! Infact I forgot to say thanks and add 5 Stars Rep. But its not allowing me to do non of it :D. But Thanks a Lot Mate. I also noticed that you actually just released it and sent me the link immediately! Its trully very classy and niceof you. It wasnt for me but for a good friend of mine! I guess he will be thanking you as well later on!

God Bless, CM!

If you don't have the mod marked as installed, you will not be able to rate it.

tanzeelniazi 09-26-2013 08:27 AM

where i add adsense code ? i cant see

friendlymela 09-26-2013 09:31 AM

Quote:

Originally Posted by tanzeelniazi (Post 2448083)
where i add adsense code ? i cant see

You can add it below headinclude or footer etc

tanzeelniazi 09-27-2013 09:36 AM

can you tell me step by step because this mod have not options to add a adsense code

TheInsaneManiac 11-24-2013 08:59 PM

Quote:

Originally Posted by tanzeelniazi (Post 2448331)
can you tell me step by step because this mod have not options to add a adsense code

Right now its not in the product. I have been paid to take on another product at this time, so I have not had time to update any other products. Seems I may need to get a co-author in on a few of my projects. Will try and add this feature back in upcoming versions.

EliasAlucard 05-06-2014 08:38 PM

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.

Disco_Dave 10-07-2014 08:59 AM

This mod doesn't seem to be working for us. I have all the usergroups selected, but you can still see the ads.

leemart44 08-04-2015 04:09 PM

Just installed the 3.8 version in 4.23 and works good thanks

iiioroh 10-03-2015 04:22 AM

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?

TheInsaneManiac 12-19-2015 06:50 AM

Quote:

Originally Posted by iiioroh (Post 2556144)
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.

iiioroh 12-20-2015 12:14 AM

The module does not work for me :confused:

TheInsaneManiac 12-22-2015 03:48 AM

Quote:

Originally Posted by iiioroh (Post 2560820)
The module does not work for me :confused:

Did you set the usergroups not allowed to see ads in the AdminCP?

Wmteknik 01-20-2016 12:48 PM

Thank you..

Peter Walker 12-16-2018 03:11 AM

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.


All times are GMT. The time now is 07:14 PM.

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.01177 seconds
  • Memory Usage 1,758KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete