vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - IE6 Blocker - JQuery version (https://vborg.vbsupport.ru/showthread.php?t=248758)

TheSupportForum 08-15-2010 10:00 PM

IE6 Blocker - JQuery version
 
1 Attachment(s)
Description:

compeletly block IE6 Users from browsing your forum, this is a jQuery version and works 100%.


How to Install:
1) Upload the contents into your forum root Folder
2) add 2 lines of code to Headinclude
Admincp>> Styles & Templates >> >> Style Manager >> All Style Options
Select Common Templates
you shoudl see 3 sections
Header
headinclude
footer

within headinclude after uploading all the content to your forum root folder
add the following code to the bottom of headinclude

Code:

<script type="text/javascript" src="/includes/ie6blocker/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="/includes/ie6blocker/jquery.ie6blocker.js"></script>

the code should be below:

Code:

</vb:if>
{vb:raw template_hook.headinclude_css}

Example screenshot of what it looks like using my website www.ereptalk.co.uk

http://a.imageshack.us/img844/1696/ie6checker.png

TheSupportForum 08-16-2010 08:56 PM

ChangeLog:

17 Aug 2010 - Added Arabic Translation provided by Dr.osamA

Dr.osamA 08-16-2010 09:18 PM

thanxx bro

good work

installed + 5 stars + translation to Arabic

Rich 08-19-2010 09:42 PM

Why would you want to block IE6 users? That certainly doesn't make your website user friendly. I would go so far as to call this mod silly. You don't want to block any valid user from accessing your website.

goran424 08-23-2010 12:40 PM

Quote:

Originally Posted by Rich (Post 2086564)
Why would you want to block IE6 users? That certainly doesn't make your website user friendly. I would go so far as to call this mod silly. You don't want to block any valid user from accessing your website.

I thought the same but my forum looks real silly if you browsing with IE6. Hard to explain, only forum owners can see what difference makes viewing VB with IE6 or IE8.

To me, this modification is very useful. Thanks Doc Osama.

Paul M 08-23-2010 12:55 PM

Quote:

Originally Posted by Rich (Post 2086564)
Why would you want to block IE6 users? That certainly doesn't make your website user friendly. I would go so far as to call this mod silly. You don't want to block any valid user from accessing your website.

I agree with your point - blocking (just) IE6 seems a very poor decision and a good way to drive away visitors - however, this is a support thread, not the place to discuss the merits of such a system. Please start a thread in the discussion areas of the forum if you wish to discuss this. Thanks.

TheSupportForum 08-24-2010 12:58 PM

Quote:

Originally Posted by goran424 (Post 2088278)
I thought the same but my forum looks real silly if you browsing with IE6. Hard to explain, only forum owners can see what difference makes viewing VB with IE6 or IE8.

To me, this modification is very useful. Thanks Doc Osama.


i am the developer please remember Doc Osama is a contriburo for the arabic version

ZeuQma 10-20-2010 06:04 PM

good idea :) we dont like ie6 or below version..

nezr 07-14-2011 02:57 PM

I'm gonna try this to block spam bots!

Max Taxable 07-14-2011 10:38 PM

Quote:

Originally Posted by nezr (Post 2220459)
I'm gonna try this to block spam bots!

It is very effective for that and also zombie computers that are part of botnets. Most all of those use IE 6 or earlier, that's how they got into the botnet to start with.

The percentage of legitimate humans using IE 6 or earlier continues to dwindle, it's not even worth entertaining them any more IMO. They need to get themselves a 21st Century browser.

If Microsoft really wanted to shut down 90% of all botnets, they would either cancel the user key on systems that have IE 6, or force-update these to the latest version of IE. This alone would probably stop 90% of DDoS attacks and spambots.

S3Ponline 07-16-2011 06:49 AM

Why not something to help people.

What about some type of message that updates people on how old their browser is and to update it.

I want to phase out IE7 now as well.

http://wordpress.org/extend/plugins/no-more-ie6/

Something likes this. This would be great for IE6 and IE7. Also something that provides something that gives a link to a different type of forum style since some people can’t upgrade because they are coming on from work.

Also a way to recommend another browser like google chrome.

Max Taxable 07-16-2011 09:06 PM

Quote:

Originally Posted by S3Ponline (Post 2221106)
Why not something to help people.

What about some type of message that updates people on how old their browser is and to update it.

I want to phase out IE7 now as well.

Something likes this. This would be great for IE6 and IE7. Also something that provides something that gives a link to a different type of forum style since some people can?t upgrade because they are coming on from work.

Also a way to recommend another browser like google chrome.

That's exactly what this vB hack does.

However as I said, there are very few human eyes that would actually see the message.

S3Ponline 07-25-2011 08:16 AM

Quote:

Originally Posted by Max Taxable (Post 2221310)
That's exactly what this vB hack does.

However as I said, there are very few human eyes that would actually see the message.

well I don?t want to block them, I just want them to see how screwed up everything is and update.

And your image file isn?t showing so I couldn?t see what the image would look like.

Max Taxable 07-25-2011 10:52 AM

Quote:

Originally Posted by S3Ponline (Post 2224671)
well I don?t want to block them, I just want them to see how screwed up everything is and update.

And your image file isn?t showing so I couldn?t see what the image would look like.

Well, it's not my image file, it's not my hack.

All this does is overlay a image over the board, explains you are using IE6 and says "We don't support it" and gives links to upgrade to either the latest version of IE or Firefox.

I doubt very many humans actually see it where it's installed. It's going to be botnet slave computers still using IE6 and earlier, in the vast majority.

Here's a screengrab from a board that has this:

https://vborg.vbsupport.ru/external/2011/07/12.png

I think we are well past the point of having anyone out there to offend. If there are any humans still using IE6, they need to get themselves a 21st Century browser, since we are in the 21st Century. They would be doing themselves a huge favor in getting rid of that wet paper sack, archaic dinosaur, piece of crap, IE6.

S3Ponline 07-28-2011 05:20 AM

Ah, that’s not bad.

How can I get something that detects IE7 browsers too? Things a piece of junk as well.

Max Taxable 07-28-2011 10:30 AM

Quote:

Originally Posted by S3Ponline (Post 2225920)
Ah, that?s not bad.

How can I get something that detects IE7 browsers too? Things a piece of junk as well.

This will still block any IE7 installation that is still using the IE6 kernel, which is alot of them.

Max Taxable 10-19-2011 12:05 PM

UPDATE on use of this.

I removed the code for this from headinclude and placed it instead in the register template.

In "register" template find:
Code:

dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
And add the code supplied here under it, or really anywhere in the script so it will be called up. You can I guess, put it at the very top or very bottom. I don't think it matters.

This allows humans still using IE6 to read your content unimpeded, but if they try to register they will get this IE6 blocker when they land on the do=register page after agreeing to the forum rules.

We stop the botnet zombies from registering with this, and if it blocks a human they can still send us feedback. Or, they can use the links provided to get themselves a modern browser and join the 21st Century already.

Additionally, I edited the "jquery.ie6blocker.js" file to where it now says, "If you would like to register with us please... etc" instead of "If you would like to read our content please... etc."

Of course, this will not stop people or bots on IE6 who have javascript disabled. For making sure we get such bots stopped we also installed this "Is Bot" mod. The thread explains how to edit that mod to work with vB4 as well.

too_cool_3 11-01-2011 09:29 PM

Quote:

Originally Posted by Max Taxable (Post 2258941)
UPDATE on use of this.

I removed the code for this from headinclude and placed it instead in the register template.

In "register" template find:
Code:

dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
And add the code supplied here under it, or really anywhere in the script so it will be called up. You can I guess, put it at the very top or very bottom. I don't think it matters.

This allows humans still using IE6 to read your content unimpeded, but if they try to register they will get this IE6 blocker when they land on the do=register page after agreeing to the forum rules.

We stop the botnet zombies from registering with this, and if it blocks a human they can still send us feedback. Or, they can use the links provided to get themselves a modern browser and join the 21st Century already.

Additionally, I edited the "jquery.ie6blocker.js" file to where it now says, "If you would like to register with us please... etc" instead of "If you would like to read our content please... etc."

I downloaded the files in the first post, then I edited the "jquery.ie6blocker.js" file, then I uploaded the files to my root and finally, edited the "register" template for both my styles. This is on vB 4.1.7

Unfortunately, I don't have a machine running IE6 to test this mod with but I have not encountered any errors so THANK YOU Max Taxable for the UPDATE! =D

-Marc

Max Taxable 11-02-2011 12:19 AM

Quote:

Originally Posted by too_cool_3 (Post 2263573)
I downloaded the files in the first post, then I edited the "jquery.ie6blocker.js" file, then I uploaded the files to my root and finally, edited the "register" template for both my styles. This is on vB 4.1.7

Unfortunately, I don't have a machine running IE6 to test this mod with but I have not encountered any errors so THANK YOU Max Taxable for the UPDATE! =D

-Marc

Test it with this:

http://ipinfo.info/netrenderer/index.php

There's a option there to make it IE6 or older to run the test with and it will give you a nice screenshot.

I've since installed another mod that is brilliant, really makes this one sort of obsolete... check that here and read the thread for instructions on how to make it work with vB4.x.x

DAMINK 03-18-2012 06:48 AM

Quote:

Originally Posted by Max Taxable (Post 2263621)
Test it with this:


I've since installed another mod that is brilliant, really makes this one sort of obsolete... check that here and read the thread for instructions on how to make it work with vB4.x.x

Here is the same mod but for 4.0
https://vborg.vbsupport.ru/showthread.php?p=2293355

Max Taxable 03-18-2012 01:27 PM

Quote:

Originally Posted by DAMINK (Post 2310570)

Actually, different coding. The one I linked WILL work with vB4.

Additionally, I no longer use the Mod posted in this thread, I did away with support for ALL early IE browsers, explained here:

https://vborg.vbsupport.ru/showpost....&postcount=281

And..

https://vborg.vbsupport.ru/showpost....&postcount=283


All times are GMT. The time now is 12:30 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.02217 seconds
  • Memory Usage 1,798KB
  • 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
  • (4)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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