Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
No more IE (Internet Explorer) Details »»
No more IE (Internet Explorer)
Version: 1.00, by Dr.osamA Dr.osamA is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.8 Rating:
Released: 11-22-2010 Last Update: Never Installs: 4
Template Edits
Re-useable Code Translations  
No support by the author.

No more IE (Internet Explorer)

First, I apologize for my bad English

What's this?
This addition was achieved and detect , type of browser used by the visitor and informing him that the browser makes a change if the type of Internet Explorer,

plzz look at attachments in IE and FF

How to install ?

First, we downloaded the file attachment, and then raise the contents of the photos to the dir vb/images

then open template header and copy paste this code in top of it


PHP Code:
<head>
<
script type="text/javascript">
if(
navigator.appName != "Microsoft Internet Explorer"){
    
document.writeln("<div id=\"alra7ba1\"><center><img src=\"/vb/images/41.gif\" style=\"vertical-align: middle;\" alt=\"\" /><font color=\"#FF0000\"> Thank you very much because you do not use the <del>Internet Explorer</del> </font></center></div>");
}else if (
navigator.appName == "Microsoft Internet Explorer"){
    
document.writeln("<div id=\"alra7ba1\"><center><img src=\"/vb/images/14.gif\" style=\"vertical-align: middle;\" alt=\"\" /> <font color=\"#FF0000\">This is very unfortunate because you are using <del>Internet Explorer</del>,it is best to try <a href=\"http://www.mozilla.com/en-US/firefox/\">FireFox</a></font></center></div>");
}
</
script>
</
head

note: if you have your forum as VB or forum or anything else you havf to change dir " /vb/images/41.gif " to your one

then open template additional.css and in end of it paste this code

PHP Code:
 #alra7ba1{
color #FFFFFF;
width 100%;
background-color:black;
position:fixed;
right:0px;
top:0px;
z-index1;


with this we done

the second Code is optional if you like, Is in the corner ,A picture and hide the link below to the subject against the Internet Explorer and replace it with a link located in the code

link of subject is:
http://www.alra7ba.info/vb/t39801.html



copy and paste the code in the top of template header

PHP Code:
<div style="float:top left; position:absolute; overflow:visible; z-index:2; left:0px; top:0px; height:233px; width:233px;"><a href="http://www.alra7ba.info/vb/t39801.html" target="_blank"><img src="/vb/images/noie-1.png" border="0" alt="Do not support Internet Explorer 6" width="233" height="233"></a></div
upload the image noie-1.png to dir vb/images

Demo : alra7ba

user : vBulletin
pass : 123456

That is all for now ... dont pres Install i dont care

Screenshots

File Type: jpg IE1.jpg (131.8 KB, 0 views)
File Type: jpg FF.jpg (126.0 KB, 0 views)
File Type: png noie-1.png (58.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-28-2010, 06:23 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do you found this picture? I search another one like that.

Regards
Reply With Quote
  #13  
Old 11-28-2010, 08:51 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure if im getting why this is good for a board
Reply With Quote
  #14  
Old 11-28-2010, 11:51 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Robru View Post
I think, its better to allow all browser types, and not only Firefox. But, this is your party
hi

you can use the code as you like bro ... you can add there all browser types , it is Re-usable Code

Quote:
Originally Posted by Kraxell View Post
Where do you found this picture? I search another one like that.

Regards
Easy to make this image in photoshop, my friend

Quote:
Originally Posted by basilrath View Post
not sure if im getting why this is good for a board
To alert members to stop the use of browser Explorer and start use browsers more compatibility with Release VB 4.x.x
As in Facebook and other most Famous sites

guys it is up to you how to reuse this code
Reply With Quote
  #15  
Old 05-13-2011, 06:12 PM
Special Pages Special Pages is offline
 
Join Date: Nov 2010
Location: www.TheDiscussionCafe.com
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great one. Thanks mate!
Reply With Quote
  #16  
Old 01-15-2013, 11:06 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very good plug.
Reply With Quote
  #17  
Old 01-16-2013, 12:23 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your demo is not working
Reply With Quote
  #18  
Old 08-16-2014, 11:18 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this!

I edited the code a bit to match my forums though. And I made it so the message only shows up when a user is using Internet Explorer. Check out the attached screenshot.

If anyone wants the code, here it is:

Note: I also attached the image I am using in my code. Put "attention.png" in *vbroot*/images . You may use it any way you like.

header:

Code:
<head>
<script type="text/javascript">
if (navigator.appName == "Microsoft Internet Explorer"){
    document.writeln("<div id=\"alra7ba1\"><center><img src=\"/images/attention.png\" style=\"vertical-align: middle;\" alt=\"\" /> <font color=\"#FF0000\"><b>Attention</b>: This site does not support <del>Internet Explorer</del>,TTG runs best with <a href=\"http://www.mozilla.com/en-US/firefox/\">FireFox</a></font></center></div>");
}
</script>
</head>
Change the RED text to your liking.




additional.css:


Code:
#alra7ba1  {

color : #FFFFFF;
width : 550px;
background-color: rgba(0, 0, 0, 0.5) ;  /* Added Opacity to the background */
border: 2px solid rgba(69, 63, 63, 0.5); /* Added Opacity to the border to match background */
border-radius: 4px;  /* Added a radius to the border for rounded corners */
position:fixed;
right:410px;  /* You may need to adjust this to get it centered */
top:0px;
z-index: 1;

}  

#alra7ba1 a:hover {
color: #FFFFFF;  /* Added a hover color to the FireFox Link - It was Black */

}


Thank you Dr.osamA!
Attached Images
File Type: jpg IE_error.jpg (19.7 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:11 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.07576 seconds
  • Memory Usage 2,326KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (4)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete