phpBB2.de Foren-Übersicht  
[netclusive - internet broadcasting]
 FAQ  •  Suchen  •  Download  •  Lesezeichen  •  Mitgliederliste  •  Benutzergruppen   •  Registrieren  •  Profil  •  Einloggen, um private Nachrichten zu lesen  •  Login
 
        
 
        
 

LinkLift

Nächstes Thema anzeigen
Vorheriges Thema anzeigen

Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.
Autor Nachricht
Blisk
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 27.11.2003
Beiträge: 994
Wohnort: sLOVEnia

BeitragVerfasst am: Do 08 Jun, 2006 22:32 Antworten mit ZitatNach oben 

Thank you for this quick response, this was really fast.
Thanks

and here is file.

And for others, there is some more files to update in plus 1.5x than in regulair update.
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen
Google







Verfasst am: Nach oben

Titus
Administrator
Administrator



Anmeldungsdatum: 24.03.2004
Beiträge: 4255

BeitragVerfasst am: Do 08 Jun, 2006 22:50 Antworten mit ZitatNach oben 

i think youre file was ok with the changes, but i missing md5() at
Code:
// End add - Protect user account MOD
if( $password == $row['user_password'] && $row['user_active'] )

around $password

correct was
Code:
// End add - Protect user account MOD
if( md5($password) == $row['user_password'] && $row['user_active'] )
if you have not modify the encryption of the passwords

_________________
"geht nicht" ist keine Fehlerbeschreibung mit der man was anfangen kann
bei Fragen erst suchen
Downloads gibts hier und da
HiddenBenutzer-Profile anzeigenPrivate Nachricht senden
BladeM
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 11.03.2005
Beiträge: 229

BeitragVerfasst am: Do 08 Jun, 2006 23:09 Antworten mit ZitatNach oben 

es ist komisch die beiden updates sind das selbe.
phpBB 2.0.21 to phpBB 2.0.21 Code Changes
phpBB2 Plus 1.53 Code Changes to 2.0.21 Code

das problem ist was bei phpBB 2.0.21 to phpBB 2.0.21 Code Changes für plus nicht zu finden war ist auch bei phpBB2 Plus 1.53 Code Changes to 2.0.21 Code nicht zu finden ?

beispiel confrm.php ist das selbe. beim login.php genau so die codes sind einfach nict bei plus vorhanden ?

mfg
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
Luthien79
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 10.05.2006
Beiträge: 21

BeitragVerfasst am: Do 08 Jun, 2006 23:23 Antworten mit ZitatNach oben 

Na ich warte auch lieber noch ein Weilchen.
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
stefan
Administrator
Administrator



Anmeldungsdatum: 01.08.2002
Beiträge: 4735
Wohnort: Aachen

BeitragVerfasst am: Do 08 Jun, 2006 23:36 Antworten mit ZitatNach oben 

Ich wüsste nicht was im Update File falsch sein sollte. Sieht alles ok aus. Das die Codestellen in der usercp_confirm.php und usercp_register.php nicht gefunden werden können ist klar, es steht ja nicht umsonst an den entsprechenden Stellen oben drüber:

Code:
# on PLUS Boards with Adv-Captcha activated this is not required !

_________________
Bye
Stefan

Styles Demo Forum :: Download Database :: phpBB2 Plus 1.5x Demo
phpBB2 Toplist :: International phpBB2 Support

Anwesend - Back in Business
Kein Support per PM - No Support via PM
HiddenBenutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenWebsite dieses Benutzers besuchenICQ-Nummer
BladeM
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 11.03.2005
Beiträge: 229

BeitragVerfasst am: Fr 09 Jun, 2006 00:13 Antworten mit ZitatNach oben 

stefan hat folgendes geschrieben:

Code:
# on PLUS Boards with Adv-Captcha activated this is not required !


Ja wie wers bitte mit Deutsch ? das kann nicht jeder wissen,Ich habe das erstmal auch übersetzen lassen.

Ich finde das sollte deutsch und englisch sein.
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
ThePassion
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 13.03.2006
Beiträge: 128

BeitragVerfasst am: Fr 09 Jun, 2006 05:12 Antworten mit ZitatNach oben 

Where is this at I don't see it on the 1.53 Plus final!

Instructions.

Code:

#
#-----[ OPEN ]---------------------------------------------
# on PLUS Boards with Adv-Captcha activated this is not required !
#
includes/usercp_confirm.php

#
#-----[ FIND ]---------------------------------------------
# Line 64
// If we can we will generate a single filtered png else we will have to simply
// output six seperate original pngs ... first way is preferable!
if (@extension_loaded('zlib'))
{
   $_png = define_filtered_pngs();

   $total_width = 320;
   $total_height = 50;
   $img_height = 40;
   $img_width = 0;
   $l = 0;

   list($usec, $sec) (' ', microtime());
   mt_srand($sec * $usec);

   $char_widths = array();
   for ($i = 0; $i < strlen($code); $i++)
   {
      $char = $code{$i};

      $width = mt_rand(0, 4);
      $char_widths[] = $width;
      $img_width += $_png[$char]['width'] - $width;
   }

   $offset_x = mt_rand(0, $total_width - $img_width);
   $offset_y = mt_rand(0, $total_height - $img_height);

   $image = '';
   $hold_chars = array();
   for ($i = 0; $i < $total_height; $i++)
   {
      $image .= chr(0);

      if ($i > $offset_y && $i < $offset_y + $img_height)
      {
         $j = 0;

         for ($k = 0; $k < $offset_x; $k++)
         {
            $image .= chr(mt_rand(140, 255));
         }

         for ($k = 0; $k < strlen($code); $k++)
         {
            $char = $code{$k};

            if (empty($hold_chars[$char]))
            {
               $hold_chars[$char] = explode("\n", chunk_split(base64_decode($_png[$char]['data']), $_png[$char]['width'] + 1, "\n"));
            }
            $image .= randomise(substr($hold_chars[$char][$l], 1), $char_widths[$j]);
            $j++;
         }

         for ($k = $offset_x + $img_width; $k < $total_width; $k++)
         {
            $image .= chr(mt_rand(140, 255));
         }

         $l++;
      }
      else
      {
         for ($k = 0; $k < $total_width; $k++)
         {
            $image .= chr(mt_rand(140, 255));
         }
      }

   }
   unset($hold);

   $image = create_png(gzcompress($image), $total_width, $total_height);

   // Output image
   header('Content-Type: image/png');
   header('Cache-control: no-cache, no-store');
   echo $image;

   unset($image);
   unset($_png);
   exit;

}
else
{
   $_png = define_raw_pngs();

   $c = intval($HTTP_GET_VARS['c']);
   $char = substr($code, $c - 1, 1);
   
   header('Content-Type: image/png');
   header('Cache-control: no-cache, no-store');
   echo base64_decode($_png[$char]);

   unset($_png);
   exit;
}

exit;

#
#-----[ REPLACE WITH ]---------------------------------------------
#
// We can we will generate a single filtered png
// Thanks to DavidMJ for emulating zlib within the code :)
$_png = define_filtered_pngs();

$total_width = 320;
$total_


#
#-----[ FIND ]---------------------------------------------
# Line 198
function create_png($gzimage, $width, $height)

#
#-----[ REPLACE WITH ]---------------------------------------------
#
function create_png($raw_image, $width, $height)

#
#-----[ FIND ]---------------------------------------------
# Line 202
   // IDAT
   $image .= png_chunk(strlen($gzimage), 'IDAT', $gzimage);

#
#-----[ REPLACE WITH ]---------------------------------------------
#

   if (@extension_loaded('zlib'))
   {
      $raw_image = gzcompress($raw_image);
      $length = strlen($raw_image);
   }
   else
   {
      // The total length of this image, uncompressed, is just a calculation of pixels
      $length = ($width + 1) * $height;

      // Adler-32 hash generation
      // Optimized Adler-32 loop ported from the GNU Classpath project
      $temp_length = $length;
      $s1 = 1;
      $s2 = $index = 0;

      while ($temp_length > 0)
      {
         // We can defer the modulo operation:
         // s1 maximally grows from 65521 to 65521 + 255 * 3800
         // s2 maximally grows by 3800 * median(s1) = 2090079800 < 2^31
         $substract_value = ($temp_length < 3800) ? $temp_length : 3800;
         $temp_length -= $substract_value;

         while (--$substract_value >= 0)
         {
            $s1 += ord($raw_image[$index]);
            $s2 += $s1;

            $index++;
         }

         $s1 %= 65521;
         $s2 %= 65521;
      }
      $adler_hash = pack('N', ($s2 << 16) | $s1);

      // This is the same thing as gzcompress($raw_image, 0) but does not need zlib
      $raw_image = pack('C3v2', 0x78, 0x01, 0x01, $length, ~$length) . $raw_image . $adler_hash;

      // The Zlib header + Adler hash make us add on 11
      $length += 11;
   }

   // IDAT
   $image .= png_chunk($length, 'IDAT', $raw_image);

#


Code:

<?php
/***************************************************************************
 *                            usercp_confirm.php
 *                            -------------------
 *   begin                : Feb 23, 2006
 *   copyright            : (C) 2006 AmigaLink
 *   website              : www.AmigaLink.de
 *
 *   $Id: usercp_confirm.php,v 2.0.9.0 2006/03/29 14:03:00 AmigaLink Exp $
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
   die('Hacking attempt');
   exit;
}

// Do we have an id? No, then just exit
if (empty($HTTP_GET_VARS['id']))
{
   exit;
}

$confirm_id = htmlspecialchars($HTTP_GET_VARS['id']);

// Define available charset
$chars = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',  'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',  'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9');

#if (!preg_match('/^[A-Za-z0-9]+$/', $confirm_id))
if (!preg_match('/^[[:alnum:]]+$/', $confirm_id))
{
   $confirm_id = '';
}

if ($confirm_id === 'Admin')
{
   if ( !$userdata['session_logged_in'] )
   {
      die('Hacking attempt');
      exit;
   }
   $code = 'SAMPLE';
   $font_debug = true;
}
else
{
   // Try and grab code for this id and session
   $sql = 'SELECT code 
      FROM ' . CONFIRM_TABLE . "
      WHERE session_id = '" . $userdata['session_id'] . "'
         AND confirm_id = '$confirm_id'";
   $result = $db->sql_query($sql);

   // If we have a row then grab data else create a new id
   if ($row = $db->sql_fetchrow($result))
   {
      $db->sql_freeresult($result);
      $code = $row['code'];
   }
   else
   {
      exit;
   }
}

srand((double)microtime()*1000000);
#include($phpbb_root_path.'includes/functions_captcha.'.$phpEx);

// Read the config table
$sql = "SELECT *
   FROM " . CAPTCHA_CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
   message_die(CRITICAL_ERROR, "Could not query captcha config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
   $captcha_config[$row['config_name']] = $row['config_value'];
}
$db->sql_freeresult($result);

// For better compatibility with some servers which need absolut path to load TTFonts
$phpbb_root_path = str_replace('index.'.$phpEx, '', realpath($phpbb_root_path.'index.'.$phpEx));

// Prefs
$total_width = $captcha_config['width'];
$total_height = $captcha_config['height'];

$hex_bg_color = get_rgb($captcha_config['background_color']);
$bg_color = array();
$bg_color = explode(",", $hex_bg_color);

$jpeg = $captcha_config['jpeg'];
$img_quality = $captcha_config['jpeg_quality'];
// Max quality is 95

$pre_letters = $captcha_config['pre_letters'];
$pre_letter_great = $captcha_config['pre_letters_great'];
$rnd_font = $captcha_config['font'];
$chess = $captcha_config['chess'];
$ellipses = $captcha_config['ellipses'];
$arcs = $captcha_config['arcs'];
$lines = $captcha_config['lines'];
$image = $captcha_config['image'];

$gammacorrect = $captcha_config['gammacorrect'];

$foreground_lattice_y = $captcha_config['foreground_lattice_y'];
$foreground_lattice_x = $captcha_config['foreground_lattice_x'];
$hex_lattice_color = get_rgb($captcha_config['lattice_color']);
$rgb_lattice_color = array();
$rgb_lattice_color = explode(",", $hex_lattice_color);

// Fonts and images init
if ($image)
{
   $bg_imgs = array();
   if ($img_dir = opendir($phpbb_root_path.'captcha/pics/'))
   {
      while (true == ($file = @readdir($img_dir)))
      {
         if ((substr(strtolower($file), -3) == 'jpg') || (substr(strtolower($file), -3) == 'gif'))   
         {         
            $bg_imgs[] = $file;
         }     
      }
      closedir($img_dir);
   }
   // Grab a random Background Image or set FALSE if none was found
   $bg_img = ( count($bg_imgs) ) ? rand(0, (count($bg_imgs)-1)) : false;
}

$fonts = array();
if ($fonts_dir = opendir($phpbb_root_path.'captcha/fonts/'))
{
   while (true == ($file = @readdir($fonts_dir)))
   {
      if ((substr(strtolower($file), -3) == 'ttf'))
      {         
         $fonts[] = $file;
      }     
   }
   closedir($fonts_dir);
}
$font = rand(0, (count($fonts)-1));

// Generate
$image = (gdVersion() >= 2) ? imagecreatetruecolor($total_width, $total_height) : imagecreate($total_width, $total_height);
$background_color = imagecolorallocate($image, $bg_color[0], $bg_color[1], $bg_color[2]);
imagefill($image, 0, 0, $background_color);
#imagecolortransparent($image, $background_color);

// Generate backgrund
if ($chess == '1' || $chess == '2' && rand(0,1))
{
   // Draw rectangles
   for($i = 0; $i <= 8; $i++)
   {
      $rectanglecolor = imagecolorallocate($image, rand(100,200),rand(100,200),rand(100,200));
      imagefilledrectangle($image, 0, 0, round($total_width-($total_width/8*$i)), round($total_height), $rectanglecolor);
      $rectanglecolor = imagecolorallocate($image, rand(100,200),rand(100,200),rand(100,200));
      imagefilledrectangle($image, 0, 0, round($total_width-($total_width/8*$i)), round($total_height/2), $rectanglecolor);
   }
}
if ($ellipses == '1' || $ellipses == '2' && rand(0,1))
{
   // Draw random ellipses
   for ($i = 1; $i <= 60; $i++)
   {
      $ellipsecolor = imagecolorallocate($image, rand(100,250),rand(100,250),rand(100,250));
      imagefilledellipse($image, round(rand(0, $total_width)), round(rand(0, $total_height)), round(rand(0, $total_width/8)), round(rand(0, $total_height/4)), $ellipsecolor);   
   }
}
if ($arcs == '1' || $arcs == '2' && rand(0,1))
{
   // Draw random partial ellipses
   for ($i = 0; $i <= 30; $i++)
   {
      $linecolor = imagecolorallocate($image, rand(120,255),rand(120,255),rand(120,255));
      $cx = round(rand(1, $total_width));
      $cy = round(rand(1, $total_height));
      $int_w = round(rand(1, $total_width/2));
      $int_h = round(rand(1, $total_height));
      imagearc($image, $cx, $cy, $int_w, $int_h, round(rand(0, 190)), round(rand(191, 360)), $linecolor);
      imagearc($image, $cx-1, $cy-1, $int_w, $int_h, round(rand(0, 190)), round(rand(191, 360)), $linecolor);
   }
}
if ($lines == '1' || $lines == '2' && rand(0,1))
{
   // Draw random lines
   for ($i = 0; $i <= 50; $i++)
   {
      $linecolor = imagecolorallocate($image, rand(120,255),rand(120,255),rand(120,255));
      imageline($image, round(rand(1, $total_width*3)), round(rand(1, $total_height*5)), round(rand(1, $total_width/2)), round(rand(1, $total_height*2)), $linecolor);
   }
}
//


$text_color_array = array('255,51,0', '51,77,255', '204,51,102', '0,153,0', '255,166,2', '255,0,255', '255,0,0', '0,255,0', '0,0,255', '0,255,255');
shuffle($text_color_array);
$pre_text_color_array = array('255,71,20', '71,20,224', '224,71,122', '20,173,20', '255,186,22', '25,25,25');
shuffle($pre_text_color_array);
$white = imagecolorallocate($image, 255, 255, 255);
$gray = imagecolorallocate($image, 100, 100, 100);
$black = imagecolorallocate($image, 0, 0, 0);
$lattice_color = imagecolorallocate($image, $rgb_lattice_color[0], $rgb_lattice_color[1], $rgb_lattice_color[2]);

#$x_char_position = (round($total_width/6));
$x_char_position = (round(($total_width - 12) / strlen($code)) + mt_rand(-3, 5));

for ($i = 0; $i < strlen($code); $i++)
{
   mt_srand((double)microtime()*1000000);

   $char = $code{$i};
#   $size = mt_rand(18, ceil($total_height / 2.8));
   $size = mt_rand(floor($total_height / 3.5), ceil($total_height / 2.8));
   $font = ($rnd_font) ? rand(0, (count($fonts)-1)) : $font;
   $angle = mt_rand(-30, 30);

   $char_pos = array();
   $char_pos = imagettfbbox($size, $angle, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);
   $letter_width = abs($char_pos[0]) + abs($char_pos[4]);
   $letter_height = abs($char_pos[1]) + abs($char_pos[5]);

   $x_pos = ($x_char_position / 4) + ($i * $x_char_position);
   ($i == strlen($code)-1 && $x_pos >= ($total_width - ($letter_width + 5))) ? $x_pos = ($total_width - ($letter_width + 5)) : '';
   $y_pos = mt_rand(($size * 1.4 ), $total_height - ($size * 0.4));

//   Pre letters
   $size = ($pre_letter_great) ? $size + (2 * $pre_letters) : $size - (2 * $pre_letters);
   for ($count = 1; $count <= $pre_letters; $count++)
   {
      $pre_angle = $angle + mt_rand(-20, 20);

      $text_color = $pre_text_color_array[mt_rand(0,count($pre_text_color_array)-1)];
      $text_color = explode(",", $text_color);
      $textcolor = imagecolorallocate($image, $text_color[0], $text_color[1], $text_color[2]);

      imagettftext($image, $size, $pre_angle, $x_pos, $y_pos-2, $white, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);
      imagettftext($image, $size, $pre_angle, $x_pos+2, $y_pos, $black, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);
      imagettftext($image, $size, $pre_angle, $x_pos+1, $y_pos-1, $textcolor, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);

      $size = ($pre_letter_great) ? $size - 2 : $size + 2;
   }

//   Final letters
   $text_color = $text_color_array[mt_rand(0,count($text_color_array)-1)];
   $text_color = explode(",", $text_color);
   $textcolor = imagecolorallocate($image, $text_color[0], $text_color[1], $text_color[2]);

   imagettftext($image, $size, $angle, $x_pos, $y_pos-2, $white, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);
   imagettftext($image, $size, $angle, $x_pos+2, $y_pos, $black, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);
   imagettftext($image, $size, $angle, $x_pos+1, $y_pos-1, $textcolor, $phpbb_root_path.'captcha/fonts/'.$fonts[$font], $char);
}


($gammacorrect) ? imagegammacorrect($image, 1.0, $gammacorrect) : '';

// Generate a white lattice in foreground
if ($foreground_lattice_y)
{
   // x lines
   $ih = round($total_height / $foreground_lattice_y);
   for ($i = 0; $i <= $ih; $i++)
   {
      imageline($image, 0, $i*$foreground_lattice_y, $total_width, $i*$foreground_lattice_y, $lattice_color);
   }
}
if ($foreground_lattice_x)
{
   // y lines
   $iw = round($total_width / $foreground_lattice_x);
   for ($i = 0; $i <= $iw; $i++)
   {
      imageline($image, $i*$foreground_lattice_x, 0, $i*$foreground_lattice_x, $total_height, $lattice_color);
   }
}

// Font debug
if ($font_debug && !$rnd_font)
{
   imagestring($image, 5, 2, 0, $fonts[$font], $white);
   imagestring($image, 5, 5, 0, $fonts[$font], $white);
   imagestring($image, 5, 4, 2, $fonts[$font], $gray);
   imagestring($image, 5, 3, 1, $fonts[$font], $black);
}

// Display
header("Last-Modified: " . gmdate("D, d M Y H:i:s") ." GMT");
header("Pragma: no-cache");
header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
(!$jpeg) ? header("Content-Type: image/png") : header("Content-Type: image/jpeg");

(!$jpeg) ? imagepng($image) : imagejpeg($image, '', $img_quality);
imagedestroy($image);
exit;

// Function get_rgb by Frank Burian
// http://www.phpfuncs.org/?content=show&id=46
function get_rgb($hex){
    $hex_array = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
        'A' => 10, 'B' => 11, 'C' => 12, 'D' => 13, 'E' => 14,
        'F' => 15);
    $hex = str_replace('#', '', strtoupper($hex));
    if (($length = strlen($hex)) == 3) {
        $hex = $hex{0}.$hex{0}.$hex{1}.$hex{1}.$hex{2}.$hex{2};
        $length = 6;
    }
    if ($length != 6 or strlen(str_replace(array_keys($hex_array), '', $hex)))
        return NULL;
    $rgb['r'] = $hex_array[$hex{0}] * 16 + $hex_array[$hex{1}];
    $rgb['g'] = $hex_array[$hex{2}] * 16 + $hex_array[$hex{3}];
    $rgb['b']= $hex_array[$hex{4}] * 16 + $hex_array[$hex{5}];
    return $rgb['r'].','.$rgb['g'].','.$rgb['b'];
}

// Function  gdVersion by Hagan Fox
// http://de3.php.net/manual/en/function.gd-info.php#52481
function gdVersion($user_ver = 0)
{
   if (! extension_loaded('gd')) { return; }
   static $gd_ver = 0;
   // Just accept the specified setting if it's 1.
   if ($user_ver == 1) { $gd_ver = 1; return 1; }
   // Use the static variable if function was called previously.
   if ($user_ver !=2 && $gd_ver > 0 ) { return $gd_ver; }
   // Use the gd_info() function if possible.
   if (function_exists('gd_info')) {
       $ver_info = gd_info();
       preg_match('/\d/', $ver_info['GD Version'], $match);
       $gd_ver = $match[0];
       return $match[0];
   }
   // If phpinfo() is disabled use a specified / fail-safe choice...
   if (preg_match('/phpinfo/', ini_get('disable_functions'))) {
       if ($user_ver == 2) {
           $gd_ver = 2;
           return 2;
       } else {
           $gd_ver = 1;
           return 1;
       }
   }
   // ...otherwise use phpinfo().
   ob_start();
   phpinfo(8);
   $info = ob_get_contents();
   ob_end_clean();
   $info = stristr($info, 'gd version');
   preg_match('/\d/', $info, $match);
   $gd_ver = $match[0];
   return $match[0];
} // End gdVersion()
?>
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
Blisk
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 27.11.2003
Beiträge: 994
Wohnort: sLOVEnia

BeitragVerfasst am: Fr 09 Jun, 2006 07:50 Antworten mit ZitatNach oben 

OK, I did update all over again and found that this code doesn't match in
search.php

Code:
search.php

#
#-----[ FIND ]---------------------------------------------
# Line 216
            if( !$only_bluecards && ( strpos($search_author, '%') !== false ) && ( strlen(str_replace('%', '', $search_author)) < 3 ) )

#
#-----[ REPLACE WITH ]---------------------------------------------
#
            if( !$only_bluecards && ( strpos($search_author, '%') !== false ) && ( strlen(str_replace('%', '', $search_author)) < $board_config['search_min_chars'] ) )

#
#-----[ FIND ]---------------------------------------------
# Line 288
            if (!$only_bluecards && (preg_match('#^[\*%]+$#', trim($split_search[$i])) || preg_match('#^[^\*]{1,2}$#', str_replace(array('*', '%'), '', trim($split_search[$i])))) )

#
#-----[ REPLACE WITH ]---------------------------------------------
#
            if (!$only_bluecards && ( strlen(str_replace(array('*', '%'), '', trim($split_search[$i]))) < $board_config['search_min_chars'] ) )

#
#-----[ FIND ]---------------------------------------------
# Line 439
         if (preg_match('#^[\*%]+$#', trim($search_author)) || preg_match('#^[^\*]{1,2}$#', str_replace(array('*', '%'), '', trim($search_author))))
         {
            $search_author = '';
         }
         $search_author = str_replace('*', '%', trim(str_replace("\'", "''", $search_author)));

#
#-----[ REPLACE WITH ]---------------------------------------------
#
         $search_author = str_replace('*', '%', trim($search_author));

         if( ( strpos($search_author, '%') !== false ) && ( strlen(str_replace('%', '', $search_author)) < $board_config['search_min_chars'] ) )
         {
            $search_author = '';
         }

OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen
Titus
Administrator
Administrator



Anmeldungsdatum: 24.03.2004
Beiträge: 4255

BeitragVerfasst am: Fr 09 Jun, 2006 07:51 Antworten mit ZitatNach oben 

ThePassion hat folgendes geschrieben:
Where is this at I don't see it on the 1.53 Plus final!

1.53 have ADV-Captcha by default, but some people have to use the old phpBB captcha if the new one not work - so we have not delete this part

_________________
"geht nicht" ist keine Fehlerbeschreibung mit der man was anfangen kann
bei Fragen erst suchen
Downloads gibts hier und da
HiddenBenutzer-Profile anzeigenPrivate Nachricht senden
Blisk
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 27.11.2003
Beiträge: 994
Wohnort: sLOVEnia

BeitragVerfasst am: Fr 09 Jun, 2006 07:58 Antworten mit ZitatNach oben 

Titus hat folgendes geschrieben:
i think youre file was ok with the changes, but i missing md5() at
Code:
// End add - Protect user account MOD
if( $password == $row['user_password'] && $row['user_active'] )

around $password

correct was
Code:
// End add - Protect user account MOD
if( md5($password) == $row['user_password'] && $row['user_active'] )
if you have not modify the encryption of the passwords


This is out because of secure login MOD.
Do you think this mod is useless?
Code:
##############################################################
## MOD Title: Secure Login
## MOD Author: TerraFrost < > (Jim Wigginton) http://www.frostjedi.com/phpbb
## MOD Releasedate: August 20, 2004
## MOD Description: Improves the security of the phpBB login process.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## New Features:
##     Secure Login
##
## Files To Edit: 3
## login.php
## templates/subSilver/login_body.tpl
## templates/subSilver/index_body.tpl
##     
## Included Files: 1
## javascript/md5.js
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen
Titus
Administrator
Administrator



Anmeldungsdatum: 24.03.2004
Beiträge: 4255

BeitragVerfasst am: Fr 09 Jun, 2006 08:09 Antworten mit ZitatNach oben 

Blisk hat folgendes geschrieben:
This is out because of secure login MOD.
Do you think this mod is useless?
Code:
##############################################################
## MOD Title: Secure Login
## MOD Author: TerraFrost < > (Jim Wigginton) http://www.frostjedi.com/phpbb
## MOD Releasedate: August 20, 2004
## MOD Description: Improves the security of the phpBB login process.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## New Features:
##     Secure Login
##
## Files To Edit: 3
## login.php
## templates/subSilver/login_body.tpl
## templates/subSilver/index_body.tpl
##     
## Included Files: 1
## javascript/md5.js

no i think this is not realy bad, you send the crypted hash to the webserver,
but the other side is, anyone how can get youre PW hashes can simply access to youre board (without bruteforce to get youre clear-PW)

_________________
"geht nicht" ist keine Fehlerbeschreibung mit der man was anfangen kann
bei Fragen erst suchen
Downloads gibts hier und da
HiddenBenutzer-Profile anzeigenPrivate Nachricht senden
Blisk
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 27.11.2003
Beiträge: 994
Wohnort: sLOVEnia

BeitragVerfasst am: Fr 09 Jun, 2006 08:13 Antworten mit ZitatNach oben 

So it is better not to use this MOD!
Can you help me with update of search.php
I used original update of phpbb for search, and search doesn't work.
If I use update for 1.53 for search, I can't find a code.
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen
sabotage
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 28.09.2005
Beiträge: 35

BeitragVerfasst am: Fr 09 Jun, 2006 19:06 Antworten mit ZitatNach oben 

I just have a small question. I'm new to 1.53, just installed for first time a few days ago.

I was wondering if the updated files will be made available for users to simply upload and replace old one. I'm hoping someone can help me answer this before I spend an hour or more trying to update. Thank you for your time. Embarassed
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
ThePassion
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 13.03.2006
Beiträge: 128

BeitragVerfasst am: So 11 Jun, 2006 06:49 Antworten mit ZitatNach oben 

Can this update be made compatibile with the plus????????
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
Coralreef
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 25.06.2004
Beiträge: 86
Wohnort: Denmark

BeitragVerfasst am: Mo 12 Jun, 2006 06:48 Antworten mit ZitatNach oben 

I have done the update with out props, but i STILL get these 2 errors on my site(the text is danish but i think you all know what errors they are)...

XML-siden kan ikke vises
XML-kan ikke vises ved hjælp af typografiarket XSL. Ret fejlen, og klik derefter på knappen Opdater, eller prøv igen senere.


--------------------------------------------------------------------------------

Et semikolon var ventet. Der opstod en fejl under behandling af ressourcen 'http://www.saltvandsforum.dk/viewtopic.php?t=42...

<td class="row2" align="center" height="4" nowrap="nowrap"><span class="genmed"><a href="././calendar_sche...
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen
Beiträge der letzten Zeit anzeigen:      
Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.

Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum nicht posten
Du kannst Dateien in diesem Forum nicht herunterladen

Ähnliche Beiträge
Thema Autor Forum Antworten Verfasst am
wbb auf phpbb2.023 auf phpBB-3.0.4 mö... Torsten68 phpBB2.x - Diskussion 1 Mi 25 März, 2009 20:51 Letzten Beitrag anzeigen
Upgrading from phpBB 2.0.22 to 2.0.23 ndiniz Installation / Upgrading 1 Do 12 Feb, 2009 22:08 Letzten Beitrag anzeigen
Problem mit phpBB 2.0.23 und Advance... cododerdritte phpBB2.x - Support 0 Sa 31 Jan, 2009 00:36 Letzten Beitrag anzeigen
wo finde ich phpbb christian91 phpBB2.x - Support 3 Mo 05 Jan, 2009 21:14 Letzten Beitrag anzeigen
Itemstats & phpBB plus Nogger Mods & Co. 3 Di 23 Dez, 2008 14:04 Letzten Beitrag anzeigen