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.

Depot 01-21-2010 01:56 PM

stock users get ads.
modified users do not.

werks perfectly like that.

but a stock user with modified as an additional usergroup still gets ads. is there a fix for that?

the reason I have it set up like that is for my paid subscriptions... I cant seem to figure out how to get their primary usergroup set back to stock after their subscription runs out so instead it just adds the additional usergroup and removes it when times up.

any help would be much appreciated

tx

D

silvermerc 01-21-2010 02:48 PM

Guess this doesnt work if your only on version 3.8.3?

Depot 01-21-2010 04:58 PM

im running 3.8.4 pl2

TheInsaneManiac 01-22-2010 11:32 AM

Quote:

Originally Posted by silvermerc (Post 1962413)
Guess this doesnt work if your only on version 3.8.3?

vB Version: 3.8.x

Anything above 3.8.x I can not vouch for. Meaning I do not know if it will work on 4.0.

Depot 01-22-2010 11:46 AM

Im not upgrading to 4 anytime soon.. still running 3.8.4

D

mmurtha 08-23-2010 11:59 AM

Hey TheInsaneManiac,

I know many of us stayed with VB 3.8 too ...

Is there anyway you can add a revenue sharing feature for forum members to your Mod here? The one mod I was using isn't supported anymore, and that last update came out buggie, so it's no longer useable for this purpose.

Thanks ...

TheInsaneManiac 11-18-2010 03:58 PM

Could you explain mmurtha?

As far as VB 4.0, I gave in to my members and went ahead and renewed with 4.0. Expect ports of all my products.

ChiNa 09-18-2013 10:31 AM

With Help of this Plugin I have disabled the ADS for our VIP and GOLD members. This plugin + Google Adsense Plugin by vBulletin brings our forum arround 100 US Dollars every year.



I am a Small Developer myself, and I was helping a friend to find a version for vB4, because I have used this plugin for years now. I noticed that there is none for vBulletin 4.x. I realised what an amazing Plugin this is!

This Developer behind this Product is geniouse. He is using some options that fits perfect with the Adsense plugin released by vBulletin and can be downloaded from Members Area. By this it means that you can use this plugin WITH the Google Adsense plugin by vBulletin and have full control over your adsense.

- You decide where you want your Ads to appear, and who you want to see it. They both work perfect together!!

- You can enable the options for some usergroups and i can also enable it in the forums I want to!

- You can also add my OWN ADSENSE which makes this perfect!

- You can also enable and let some usergroups see the option, while at the same time there are others that cannot see it.

Big Props and Respect to TheInsaneManiac.

TheInsaneManiac 09-19-2013 02:09 AM

Quote:

Originally Posted by ChiNa-Man (Post 2446457)
With Help of this Plugin I have disabled the ADS for our VIP and GOLD members. This plugin + Google Adsense Plugin by vBulletin brings our forum arround 100 US Dollars every year.



I am a Small Developer myself, and I was helping a friend to find a version for vB4, because I have used this plugin for years now. I noticed that there is none for vBulletin 4.x. I realised what an amazing Plugin this is!

This Developer behind this Product is geniouse. He is using some options that fits perfect with the Adsense plugin released by vBulletin and can be downloaded from Members Area. By this it means that you can use this plugin WITH the Google Adsense plugin by vBulletin and have full control over your adsense.

- You decide where you want your Ads to appear, and who you want to see it. They both work perfect together!!

- You can enable the options for some usergroups and i can also enable it in the forums I want to!

- You can also add my OWN ADSENSE which makes this perfect!

- You can also enable and let some usergroups see the option, while at the same time there are others that cannot see it.

Big Props and Respect to TheInsaneManiac.

Thanks mate, I actually forgot I developed this haha. I did it because I needed it for my forums, now my forums are 4.0 as well, I actually already ported this a couple years back and forgot to release it. So look for 4.0 soon.

EDIT: Apparently the one I ported was meant for my needs initially. I will work to bring it to the current version, but here it is for 4.0. :)
https://vborg.vbsupport.ru/showthrea...50#post2446650

ChiNa 09-19-2013 01:58 PM

@TheInsaneManiac, Perfect Job Mate but weird enough I couldnt find any under the same name! I didnt wanna build a plugin for it because I knew you already made one so I went to ask you if you could do it and here you are! This Mod have really saved our forum for some hosting money!

@ozzy37, Thanks for the Like Mate

mbc100 09-23-2013 08:08 PM

it dosn`t work

ozzy47 09-23-2013 11:02 PM

Quote:

Originally Posted by mbc100 (Post 2447525)
it dosn`t work

Posting comments like that does not help the developer address your issues. Please be specific when posting issues. :)

TheInsaneManiac 11-24-2013 08:56 PM

Quote:

Originally Posted by ozzy47 (Post 2447559)
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. :)

Cusski 07-27-2015 09:11 PM

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?

ChiNa 03-08-2016 05:29 PM

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

webnsn 07-05-2016 09:41 AM

Why this ?

VBads already have a option to insert User groups to show ads then why this?


All times are GMT. The time now is 03:23 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.01195 seconds
  • Memory Usage 1,792KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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