![]() |
Quote:
Doest show installed. That is the problem. Had a DB crash. Was able to get a partial restore. And just have building on that. |
Quote:
|
Quote:
It was previously installed. Had a DB crash.(this is where it was installed) Restored most of the Database. Ending up having to complete start a new forum. Use Impex to get my users and forums. (lost all post,pm,plugins.) Rebuilt from there. Now when I attempt to install I get the error above. |
Quote:
|
Worked You all are the greatest.
|
Bonjour
Merci beaucoup pour ce hack @++ |
Works great!
however I'm having security issues with users trying to log in to other peoples accounts. Failing, But trying. I've had several email complaints from the users who had emails sent to them stating someone tried logging into their account. Actually, I just wrote it myself. using your code as a base. Here are the mods I did. My hack for Logging Failed attempts Two files now need to be modified to enable it. (Backup everything first) First ./includes/function_login.php Now look for the section for "Exec_strike_User". there will be a query inserting a strike into the system. Right before or after the code "$strikes++;" add the following code. Code:
$vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "logins (userid, username, ipaddress, phpdate, logintype) VALUES (" . $vbulletin->userinfo['userid'] . ", '" . $vbulletin->db->escape_string($vbulletin->userinfo['username']) . "', '" . $vbulletin->db->escape_string(IPADDRESS) . "', " . TIMENOW . ", 'FAILED ATTEMPT')"); Now modify the following file ./adminCP/loginlog.php Find the while loop Code:
while ($log = $db->fetch_array($logs)) Code:
else if ($log['logintype'] == 'FAILED ATTEMPT') |
Is it possible to modify the options of this hack to create a log file of all failed logins?
Would be good to be able to see the amount of attempts (reoccuring) on a single account. |
Great hack. Installed. :D
|
Quote:
|
All times are GMT. The time now is 11:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|