vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [tk] Unblock (https://vborg.vbsupport.ru/showthread.php?t=207466)

gmerin 03-09-2009 01:13 AM

I'd like my users to stay; this will cause them to leave.

Sp32 03-09-2009 02:38 AM

Quote:

Originally Posted by gmerin (Post 1763647)
I'd like my users to stay; this will cause them to leave.

stop hating he made this in his free time for other people to use so be grateful there are people like him



I just installed thanks for this hopefully people will start clicking :)

in the future is it possible you could do basically the exact same as this but still let guests browse? - just an idea

edit: its not working for some reason but I think it might be to do with ad block not working, I blocked the google adsense iframe but nothing changed, am I meant to do something with templateedits-antiadblock.xml?

also is the js file definately meant to be in the forums root.

hambil 03-09-2009 03:17 AM

Quote:

Originally Posted by Sp32 (Post 1763691)
stop hating he made this in his free time for other people to use so be grateful there are people like him



I just installed thanks for this hopefully people will start clicking :)

in the future is it possible you could do basically the exact same as this but still let guests browse? - just an idea

edit: its not working for some reason but I think it might be to do with ad block not working, I blocked the google adsense iframe but nothing changed, am I meant to do something with templateedits-antiadblock.xml?

also is the js file definately meant to be in the forums root.

The js file needs to be in forum root, yes. It's just a harmless empty file.

You need to have the variable $blockit at the bottom of your navbar template. If you have the Template Modification System mods installed before you install this product, it will be done automatically for you. Otherwise you can add it manually, or installed the Template Modification System and then use it to import the templateedits-antiadblock.xml file. I hope this helps.

Doug Nelson 03-09-2009 04:29 AM

Glad it's a bug (ie: fixable) and not something in my configuration.

Quick question: does this follow the conventions of vb's secondary usergroup handling? That is, if I have it enabled for one primary group, but a member also belongs to a secondary group with this disabled, will it then be disabled for that user? I hope so, as I currently block ads for paying users via a secondary usergroup, so I'd like those same paying members to have this plugin disabled for them.

hambil 03-10-2009 02:44 AM

Quote:

Originally Posted by Doug Nelson (Post 1763758)
Glad it's a bug (ie: fixable) and not something in my configuration.

Quick question: does this follow the conventions of vb's secondary usergroup handling? That is, if I have it enabled for one primary group, but a member also belongs to a secondary group with this disabled, will it then be disabled for that user? I hope so, as I currently block ads for paying users via a secondary usergroup, so I'd like those same paying members to have this plugin disabled for them.

It just checks the usergroup permissions as reported by vbulletin, so I would assume it should work just like anything else.

Doug Nelson 03-11-2009 07:04 PM

Quote:

Originally Posted by hambil (Post 1763601)
Hmmm - tested it - It does not work guests/logged out users. I will get that fixed. Thanks.

Any progress on this?

hambil 03-11-2009 07:42 PM

I'm juggling three mods all in need of an update release. But it will be done within the next 24 hours I'd guess.

Doug Nelson 03-12-2009 12:13 AM

Quote:

Originally Posted by hambil (Post 1765960)
I'm juggling three mods all in need of an update release. But it will be done within the next 24 hours I'd guess.

Cool. Thank you for the time and effort you're putting into this excellent mod.

joopster 03-13-2009 12:40 AM

Doesn't work for me 3.8

Have the .js in the right spot and usergroup permissions set.

hambil 03-13-2009 03:06 AM

What site?


All times are GMT. The time now is 01:44 AM.

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.01097 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete