/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright  2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: User Web Check (for v7.02.xx)
| Author: DrunkeN
| Support Website: http://www.dark-fusion.se
| Co. Author: Septron
| Support Website: http://www.septron.de
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

Install:
	1. Lade die kompletten ordner auf deinem root hoch und schon habt ihr euren Individuellen Check fr eure Seite

	2. oder wenn ihr eure user_web_include schon bearbeitet habt knntihr dies unter den Punkt: Install Manuell:

Install Manual:
	1. open includes/user_fields/user_web_include.php and find

Quellcode:
############################################################################################################
      if (!strstr($user_data['user_web'], "http://") && !strstr($user_data['user_web'], "https://")) {
         $urlprefix = "http://";
      } else {
         $urlprefix = "";
      }
############################################################################################################

Fge dieses danach ein:

Quellcode:
############################################################################################################
/* Prfen Sie, ob URL gltig ist Start */      
        $url_input = (!$urlprefix == "" ? $urlprefix : "").$user_data['user_web'];
        $url_input = trim($url_input, '/');
     if (!preg_match('#^http(s)?://#', $url_input)) {
        $url_input = 'http://'.$url_input;
}

        $parts = parse_url($url_input);
        $web = preg_replace('/^new.php\./', '', $parts['host']);

        $url_chk = fsockopen($web, 80, $errno, $errstr, 30);
      
if(iADMIN){      
  if (!$url_chk) {
        echo "<span style='color: red; font-weight: bold;'>This site url is not valid</span><br />";
}
        else {
        echo "<span style='color: green; font-weight: bold;'>This site url is valid</span><br />";
   }
}
/* Prfen Sie, ob URL gltig ist Ende */
############################################################################################################


2. Speichern und hochladen => ersetze die user_web_include.php und immer eine Kopie der Dateien behalten, die du Modifiziert hast.


3. erledigt :)
