"m-jay, post: 66663, member: 20288":
The easiest way would be run a sql query to empty the passwords in the table and ask members on the login page to use recover password to make a new one,
They is a few examples of converting old md5 passwords on stack overflow so I'll check for anything that might be helpfull the main part now is testing members can use recovery
SET @DATABASE_NAME = 'name_of_your_db';
SELECT CONCAT('ALTER TABLE `', table_name, '` ENGINE=InnoDB;') AS sql_statements
FROM information_schema.tables AS tb
WHERE table_schema = @DATABASE_NAME
AND `ENGINE` = 'MyISAM'
AND `TABLE_TYPE` = 'BASE TABLE'
ORDER BY table_name DESC;USE `your_database_name`;
paste here all the tables you got from the previous code.
// remove ";" from the last ALTER input."MicroMonkey, post: 66638, member: 311":
so does this work correctly? I assume there will always be a file called duplicate.torrent and it just gets overwritten each time? If so, nice job :) Thanks for sharing
if(!$captcha){
$message = '<h2>Please check the the captcha form.</h2>';
header("Refresh: 1; url= account-login.php");
} if(!$captcha){
$message = '<h2>Please check the the captcha form.</h2>';
header("Refresh: 1; url= account-login.php");
}if (mysqli_errno($GLOBALS["DBconnector"]) == 1062)
show_error_msg(T_("UPLOAD_FAILED"), T_("UPLOAD_ALREADY_UPLOADED"), 1);if (mysqli_errno($GLOBALS["DBconnector"]) == 1062) {
rename("$torrent_dir/$fname", "$torrent_dir/duplicate.torrent");
show_error_msg(T_("UPLOAD_FAILED"), T_("UPLOAD_ALREADY_UPLOADED"), 1);
} function guestadd() {
$ip = $_SERVER['REMOTE_ADDR'];
$time = gmtime();
SQL_Query_exec("INSERT INTO `guests` (`ip`, `time`) VALUES ('$ip', '$time') ON DUPLICATE KEY UPDATE `time` = '$time'");
}
function getguests() {
$past = (gmtime() - 2400);
SQL_Query_exec("DELETE FROM `guests` WHERE `time` < $past");
return get_row_count("guests");
}"m-jay, post: 66617, member: 20288":
I'll have a look at this some point this week it should be input username but it would be better if once you type a letter it would recommend names, this helps with spelling so you don't get errors by users

if (!$body)
show_error_msg...//===| Anti-Flood
if ( strlen($body) > $site_config['floodsize'] )
show_error_msg("Error", "Your comment is too big, only $site_config[floodsize] characters are allowed.", 1);
$res = SQL_Query_exec("SELECT COUNT(*) FROM `comments` WHERE user = $CURUSER[id] AND added > '" . get_date_time(gmtime() - ($site_config["floodtime"] * 60)) . "'");
$row = mysqli_fetch_row($res);
if ($row[0] > $site_config["floodlimit"])
show_error_msg("Error", "You are only prohibited $site_config[floodlimit] comments in $site_config[floodtime] minutes.", 1);
//===| End // text
$s = preg_replace("/\[center\]((\s|.)+?)\[\/center\]/", "<center>\\1</center>", $s); case '':
var start = document.forms[form].elements[text].selectionStart;
var end = document.forms[form].elements[text].selectionEnd;
if (start != end) {
var body = document.forms[form].elements[text].value;
var left = body.substr(body, start);
var middle = "[center]" + body.substring(start, end) + "";
var right = body.substr(end, body.length);
document.forms[form].elements[text].value = left + middle + right;
} else {
document.forms[form].elements[text].value = document.forms[form].elements[text].value + "";
}
break; "spiritblue, post: 66595, member: 401":
ok(y), but on my side I remove "async defer" and it does not change anything :rolleyes: