Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 12:11

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old   #1
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
Arrow [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]--> 
.Rebel is offline  
Thanks
7 Users
Old 04/29/2011, 10:36   #2
 
yekta59's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 30
Received Thanks: 45
Very nice
yekta59 is offline  
Old 04/29/2011, 11:48   #3



 
sLay.'s Avatar
 
elite*gold: 80
The Black Market: 121/0/1
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]--> 
sLay. is offline  
Thanks
1 User
Old 04/29/2011, 12:53   #4
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,484
Received Thanks: 3,151
hehe.
Daroolein is offline  
Old 04/29/2011, 13:32   #5
 
.Plazmaa's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 2,023
Received Thanks: 947
Nice gemacht,

Danke!
.Plazmaa is offline  
Old 04/29/2011, 13:46   #6

 
IgorGlock's Avatar
 
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!
}
?>
IgorGlock is offline  
Thanks
1 User
Old 04/29/2011, 13:51   #7
 
xenor's Avatar
 
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
xenor is offline  
Old 04/29/2011, 14:43   #8
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
Quote:
Originally Posted by IgorGlock View Post
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
.Rebel is offline  
Thanks
1 User
Old 04/29/2011, 14:45   #9
 
xenor's Avatar
 
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
xenor is offline  
Old 04/29/2011, 14:50   #10
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
Quote:
Originally Posted by xenor View Post
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
.Rebel is offline  
Old 05/01/2011, 02:39   #11
 
-Tuni's Avatar
 
elite*gold: 20
Join Date: Jun 2010
Posts: 2,237
Received Thanks: 956
Quote:
Originally Posted by sLay. View Post
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.ö
-Tuni is offline  
Old 05/01/2011, 05:40   #12
 
~LuckyStrike~'s Avatar
 
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 ...
~LuckyStrike~ is offline  
Old 05/01/2011, 08:46   #13
 
elite*gold: 0
Join Date: Feb 2011
Posts: 115
Received Thanks: 462
Quote:
Originally Posted by ~LuckyStrike~ View Post
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 ^^.
Hoshikuro is offline  
Old 09/19/2011, 16:57   #14
 
elite*gold: 0
Join Date: Apr 2010
Posts: 30
Received Thanks: 5
thanks
koraycan123 is offline  
Old 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.
.Alessa is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.