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
  #2  
Old 11-23-2010, 02:18 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WoW bro, you always bring small mods that really make the difference. Nice Mod specially for me that im a IE hater. lol

But one thing though, Im trying to force users to get Firefox, how can I add a link to Firefox on that image?
Reply With Quote
  #3  
Old 11-23-2010, 06:52 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 El Intocable View Post
WoW bro, you always bring small mods that really make the difference. Nice Mod specially for me that im a IE hater. lol

But one thing though, Im trying to force users to get Firefox, how can I add a link to Firefox on that image?
welcome bro

ther is link to Firefox under word Firefox

but if you insest to ut it there on problem

ohhhhhh

you main link under this pic.

you can fined link:
http://www.alra7ba.info/vb/t39801.html

You can replace this link with following link:

http://www.mozilla.com/en-US/firefox/

try it then let me know bro
Reply With Quote
  #4  
Old 11-23-2010, 07:25 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, thank you so much
Reply With Quote
  #5  
Old 11-23-2010, 07:41 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are welcome
Reply With Quote
  #6  
Old 11-23-2010, 07:55 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Surely it would be better to write the code as.

if(navigator.appName != "Mozilla Firefox") then show nothing ELSE show your code.

As browsing your demo via Firefox and Safari still shows your message which I think is not needed if you are already in your preferred browser, which is FF!
Reply With Quote
  #7  
Old 11-23-2010, 09:20 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 RobbieZ View Post
Surely it would be better to write the code as.

if(navigator.appName != "Mozilla Firefox") then show nothing ELSE show your code.

As browsing your demo via Firefox and Safari still shows your message which I think is not needed if you are already in your preferred browser, which is FF!
I agree with you ,but
This is an propaganda to stop the use of Internet Explorer specifically IE6

MicroSoft company stopped supporting this browser and require users to revoke it from their computer

that is why we shows message in other browsers FF ,Safari and Opera

thank you for you notis
Reply With Quote
  #8  
Old 11-24-2010, 07:51 AM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And they are gone! Your visitors, LOL !!
Reply With Quote
  #9  
Old 11-26-2010, 01:45 AM
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
And they are gone! Your visitors, LOL !!

This is my friend alerted visitors to the need to replace their browser

And if they go that is there business .. God with them
Reply With Quote
  #10  
Old 11-27-2010, 10:05 AM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think, its better to allow all browser types, and not only Firefox. But, this is your party
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 01:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07190 seconds
  • Memory Usage 2,338KB
  • Queries Executed 24 (?)
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
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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