Log in

View Full Version : Board Optimization - Google Adsense Permissions


TheInsaneManiac
09-18-2013, 10:00 PM
This is a minor port of the 3.8 version found HERE (https://vborg.vbsupport.ru/showthread.php?p=1933752). 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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=230582). =]


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 (https://vborg.vbsupport.ru/showpost.php?p=1933078&postcount=18) for giving me a snippet I needed to get it to work.

crazyboy1661
09-19-2013, 08:42 AM
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
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
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
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
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 (https://vborg.vbsupport.ru/showthread.php?t=239981) 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
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 (http://primspinning.ru/forum.php) :confused:

TheInsaneManiac
12-22-2015, 03:48 AM
The module does not work for me (http://primspinning.ru/forum.php) :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.