vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Failed Login Logging (https://vborg.vbsupport.ru/showthread.php?t=32639)

Psychdrone 11-24-2001 07:19 PM

I see, you know what I think I'll need this one!
THanks bud!

wot-Mike 11-24-2001 10:49 PM

Very usefull indeed, and I have installed it.

Changed a few things:
in admin/index.php, I added:
makenavoption("Login Failures","loginlog.php?action=modify");

And in loginlog.php I added:
echo "<li><a href=\"loginlog.php?s=$session[sessionhash]&action=prune\">Prune Failed Logins from database</a></li>\n";

The reason? Well, there's already a "Statistics & Logs" part in the admin panel. This fits in just nicely...

wot-Mike 11-24-2001 11:33 PM

Hmm, also imported some stuff from adminlog.php into loginlog.php:

The link to the user edit (well, it needed a little extra)
And the resolve ip address bit :)

JTMON 11-25-2001 01:17 AM

Installed on 2.2.0 and working great! Thanks PPN!

SteveK 11-25-2001 06:11 AM

wot-Mike, Can you post your changes?

Thanks

Admin 11-25-2001 11:15 AM

Love it, appears to work great. :D
Great idea too!

Just a question PPN, why do you name the id field just id?
If you create a table named blabla, naming the id field blablaid enables usages of some nice functions with vBulletin, that rely on the fact that id field is the table name with id suffix. :)

Scott MacVicar 11-25-2001 12:07 PM

that seemed too sensible :D

to tell the truth i done that in 30mins while having dinner and trying to talk on the phone and being pestered by people on AIM trying to get me to send them this hack because "The vBulletin is broken and I can't download anything"

I'll updated it tonight and add a small thing to alter the id name in case anyone using an old copy uploads a new one which will stop errors :D

TheUnforgiven 11-25-2001 12:31 PM

cool nice hack :) thanks!

wot-Mike 11-25-2001 12:48 PM

SteveK requested it, so here's my little changelog to add the user edit and resolve ip bit to loginlog.php. Hope it doesn't mess things up for you, hehe. I'm not very wise in the ways of php

But before you run off to install this, maybe wait a bit to see what PPN comes up with tonight :D

holev 11-25-2001 12:54 PM

very nice idea
installed :)


All times are GMT. The time now is 09:49 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
  • Page Generation 0.01969 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete