|
You last visited: Today at 12:11
Advertisement
[mini mini Release] Warning for IE for heni script
Discussion on [mini mini Release] Warning for IE for heni script within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
04/29/2011, 08:31
|
#1
|
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
|
[mini mini Release] Warning for IE for heni script
this is nothing special
I just i see a lots of people have troubles with the Internet Explorer browser on the almost all HP have be release on epvp
so i will explain a bether way to warning the user he is using the internet explorer and you recomend use firefox or chrone without using enterpage
1 put this code inside the <head> </head> tag
PHP Code:
<!--[if lt IE]> <script type="text/javascript"> alert ("You are using Internet Explorer. To see our site correctly, please use Firefox or Chrone. Kind Regards your server Team") </script> <![endif]-->
2 Done
screen
German / Deutsch:
PHP Code:
<!--[if lt IE]> <script type="text/javascript"> alert ("Du nutzt derzeit Internet Explorer. Damit unsere Seite korrekt dargestellt werden kann nutze bitte FireFox oder Chrome. Mit freundlichen Grüßen dein Server Team") </script> <![endif]-->
|
|
|
04/29/2011, 10:36
|
#2
|
elite*gold: 0
Join Date: Mar 2009
Posts: 30
Received Thanks: 45
|
Very nice
|
|
|
04/29/2011, 11:48
|
#3
|
elite*gold: 80
Join Date: Feb 2010
Posts: 4,406
Received Thanks: 2,855
|
German / Deutsch:
PHP Code:
<!--[if lt IE]> <script type="text/javascript"> alert ("Du nutzt derzeit Internet Explorer. Damit unsere Seite korrekt dargestellt werden kann nutze bitte FireFox oder Chrome. Mit freundlichen Grüßen dein Server Team") </script> <![endif]-->
|
|
|
04/29/2011, 12:53
|
#4
|
elite*gold: 0
Join Date: Jan 2011
Posts: 1,484
Received Thanks: 3,151
|
hehe.
|
|
|
04/29/2011, 13:32
|
#5
|
elite*gold: 0
Join Date: Feb 2011
Posts: 2,023
Received Thanks: 947
|
Nice gemacht,
Danke!
|
|
|
04/29/2011, 13:46
|
#6
|
elite*gold: 1862
Join Date: Jan 2009
Posts: 3,725
Received Thanks: 7,671
|
Fail'd!
Man, ich würd' eine IF Abfrage in PHP einbauen.
PHP Code:
<?php if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== TRUE) { echo'<h1>YOU ARE AN IDIOT! TAKE FIREFOX DUDE!</h1>'; die("</br>DONE!"); } else { ... der Rest der Homepage! }
?>
|
|
|
04/29/2011, 13:51
|
#7
|
elite*gold: 0
Join Date: Dec 2008
Posts: 173
Received Thanks: 135
|
PHP Code:
public function isIE() { if(strpos($_SERVER["HTTP_USER_AGENT"],"MSIE") !== false) return true; else return false; }
meine funktion ;D
lg xenor
|
|
|
04/29/2011, 14:43
|
#8
|
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
|
Quote:
Originally Posted by IgorGlock
Fail'd!
Man, ich würd' eine IF Abfrage in PHP einbauen.
PHP Code:
<?php if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== TRUE) { echo'<h1>YOU ARE AN IDIOT! TAKE FIREFOX DUDE!</h1>'; die("</br>DONE!"); } else { ... der Rest der Homepage! }
?>?>
|
good you have find another way to do the same
this
PHP Code:
<!--[if lt IE]> <script type="text/javascript"> alert ("Du nutzt derzeit Internet Explorer. Damit unsere Seite korrekt dargestellt werden kann nutze bitte FireFox oder Chrome. Mit freundlichen Grüßen dein Server Team") </script> <![endif]-->
or
PHP Code:
<?php if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== TRUE) { echo'<h1>YOU ARE AN IDIOT! TAKE FIREFOX DUDE!</h1>'; die("</br>DONE!"); } else { ... der Rest der Homepage! } ?>
will do the same no mather what method use do the same
my is a litle bether for html and php code yours just work on php pages
but tanks for share
|
|
|
04/29/2011, 14:45
|
#9
|
elite*gold: 0
Join Date: Dec 2008
Posts: 173
Received Thanks: 135
|
yeah i think the most people will create a webpage with php ^^
i dont think anyone would use perl or python or somethink like that
and i like my method :P
greetz
|
|
|
04/29/2011, 14:50
|
#10
|
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
|
Quote:
Originally Posted by xenor
yeah i think the most people will create a webpage with php ^^
i dont think anyone would use perl or python or somethink like that
and i like my method :P
greetz
|
looool i will not coment is bether i dont coment your post
i am ther not to debate what is bether or not i am make a release you like click tanks you dont like close the window
|
|
|
05/01/2011, 02:39
|
#11
|
elite*gold: 20
Join Date: Jun 2010
Posts: 2,237
Received Thanks: 956
|
Quote:
Originally Posted by sLay.
German / Deutsch:
PHP Code:
<!--[if lt IE]> <script type="text/javascript"> alert ("Du nutzt derzeit Internet Explorer. Damit unsere Seite korrekt dargestellt werden kann nutze bitte FireFox oder Chrome. Mit freundlichen Grüßen dein Server Team") </script> <![endif]-->
|
"korrekt"
Wen dann schon richtig o.ö
~ Sie nutzen derzeit den Internet Explorer. Damit unsere Seite richtig dargestellt werden kann nutze bitte den FireFox oder Chrome Browser. Mit freundlichen .....
Nur als Tipp o.ö
|
|
|
05/01/2011, 05:40
|
#12
|
elite*gold: 0
Join Date: Jul 2008
Posts: 1,812
Received Thanks: 1,977
|
Also wenn ich das jetzt richtig verstehe, wollt ihr das man mit Internet Explorer die HP nicht anzeigen lassen kann stattdessen aber mit FireFox und Chrome schon.
Hmm kann mich glücklich schätzen einer unter wenigen zu sein deren HP von Bloshy auch
unter IE läuft O.o
Frage mich was ihr für ein Problem habt bei euch das die Seite mit IE nicht angezeigt wird...
das Teil braucht nur paar kleine feinschliffe das wars x'D bissl an index und css schuften
und fertig ...
|
|
|
05/01/2011, 08:46
|
#13
|
elite*gold: 0
Join Date: Feb 2011
Posts: 115
Received Thanks: 462
|
Quote:
Originally Posted by ~LuckyStrike~
Also wenn ich das jetzt richtig verstehe, wollt ihr das man mit Internet Explorer die HP nicht anzeigen lassen kann stattdessen aber mit FireFox und Chrome schon.
Hmm kann mich glücklich schätzen einer unter wenigen zu sein deren HP von Bloshy auch
unter IE läuft O.o
Frage mich was ihr für ein Problem habt bei euch das die Seite mit IE nicht angezeigt wird...
das Teil braucht nur paar kleine feinschliffe das wars x'D bissl an index und css schuften
und fertig ...
|
Egal ob es bei dir geht oder nicht IE ist einfach ein drecks Browser und man muss etwas gegen IE User tun :P
btw. eben getestet, bei mir geht die auch in IE, aber da ich IE nach wie vor hasse werde ich soetwas auch einbauen, egal ob die in IE geht oder nicht ^^.
|
|
|
09/19/2011, 16:57
|
#14
|
elite*gold: 0
Join Date: Apr 2010
Posts: 30
Received Thanks: 5
|
thanks
|
|
|
09/19/2011, 18:29
|
#15
|
elite*gold: 252
Join Date: Mar 2008
Posts: 3,111
Received Thanks: 3,911
|
@Tunii:
Immer noch falsch^^ Besser wäre eine neue Formulierung. Zumal du oben die Kommasetzung nicht berücksichtigt hast. Ich halte allgemein nicht viel von Anreden.
~ Diese Webseite wird auf dem Internet Explorer nicht richtig angezeigt. Bitte verwende Firefox oder Google Chrome.
|
|
|
Similar Threads
|
Ruben Mini Mini Hack
01/12/2011 - WarRock Hacks, Bots, Cheats & Exploits - 8 Replies
http://www.imguploaden.nl/img/11259.jpg
Information :
5th slot
NFD
Premium
DOWNLOAD
|
[Mini-Script] Shutdown on DC
02/16/2008 - Silkroad Online - 14 Replies
I usually leave my pc stalling all night, the problem is that sometimes when I wake up I have the DC confirmation window and I think: "wtf... dc? I might as well leave my pc off".
But today I had an Idea.. What about if wenever the game DCs the pc shutsdown? well this is what this script does..
I was gonna make an .exe of it, but since then I would get a lot of noobs sain it was a keylogger and things like that I'll just paste the code here.
Instructions:
1Download and install Autoit V3...
|
All times are GMT +2. The time now is 12:11.
|
|