Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Log Logins Hack Details »»
Log Logins Hack
Version: 2.0, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-24-2006 Last Update: 08-24-2006 Installs: 482
Uses Plugins
Additional Files  
No support by the author.

Log Logins Hack 2.0


About this hack:
This hack will log the userid, username, ipaddress, where the login is, and time all your users log onto your forum.

Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload via FTP: 2
  • Time to install: 1 minute max

Updates:

Version 2.0 (08/25/06):
  • First release of this hack for vb3.6.
Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.


This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-29-2007, 07:47 PM
GiaNNi GiaNNi is offline
 
Join Date: Nov 2001
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are some users, which are not used to write, only moderate; and this users are shared by some people. And some months ago someone changed a password, and i couldnt know who.
When logging passwords, if this occures again, i can see which IP loged first with a changed (new) pass.

Sorry for my bad enlgish.
Reply With Quote
  #53  
Old 01-29-2007, 10:02 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GiaNNi View Post
I want to know if any of my moderators change his password, because they cant do it, (internal forum team rules).
There is a usergroup option to log old passwords in vb. Maybe this can help you. It logs it encrypted but maybe keeps a date.
Reply With Quote
  #54  
Old 02-06-2007, 07:08 PM
Lovinmysailor Lovinmysailor is offline
 
Join Date: Aug 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I click on the Log Manager it tells me "No log file defined in vBulletin Options" What do I do? TIA
Reply With Quote
  #55  
Old 02-12-2007, 12:09 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lovinmysailor View Post
When I click on the Log Manager it tells me "No log file defined in vBulletin Options" What do I do? TIA
Not sure what you mean.
Reply With Quote
  #56  
Old 02-14-2007, 03:04 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed... we will see how it goes. So far I've tried to look into 2 accounts that I know have shared at least 1 from before, but it doesn't show anything ??
Reply With Quote
  #57  
Old 02-14-2007, 03:31 PM
GeekDrew GeekDrew is offline
 
Join Date: Dec 2004
Location: Columbus, OH, USA
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PinkDaisy View Post
Installed... we will see how it goes. So far I've tried to look into 2 accounts that I know have shared at least 1 from before, but it doesn't show anything ??
... what? All this modification does is write a log entry when someone logs in.
Reply With Quote
  #58  
Old 02-14-2007, 03:53 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh. I thought i would show when they log into each others accounts..lol. Sory!!
Reply With Quote
  #59  
Old 02-14-2007, 04:02 PM
GeekDrew GeekDrew is offline
 
Join Date: Dec 2004
Location: Columbus, OH, USA
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PinkDaisy View Post
Oh. I thought i would show when they log into each others accounts..lol. Sory!!
For that, check here.
Reply With Quote
  #60  
Old 02-14-2007, 04:13 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GeekDrew View Post
For that, check here.
Yeah I have that... lol I dunno what I was thinking!! Thanks..
Reply With Quote
  #61  
Old 03-01-2007, 11:40 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone else tried this edit below to the mod with 3.6.4? Does it work well?

-vissa

Quote:
Originally Posted by serg472 View Post
Quick solution for those who want this mod to log cookie logins as well (UNOFFICIAL, UNSUPPORTED, USE AT YOUR OWN RISK etc.).

The only minor issue after the following modification is that when user logs in using a standart login form it will log this twice - as a standart login and a cookie login. I don't want to modify this hack too much, so I left it as it is.

1. Open product-log_logins.xml and find:
PHP Code:
<phrase name="reg_login" date="0" username="" version=""><![CDATA[Standard]]></phrase
add below:
PHP Code:
<phrase name="cookie_login" date="0" username="" version=""><![CDATA[Cookie]]></phrase
2. Open loginlog.php and find:
PHP Code:
else if ($log['logintype'] == 'modcplogin')
{
    
$log['logintype'] = $vbphrase['mod_login'];

add below:
PHP Code:
else if ($log['logintype'] == 'cookie')
{
    
$log['logintype'] = $vbphrase['cookie_login'];

3. Open includes/class_core.php and find:
PHP Code:
// or maybe we can use a cookie..
if (($gotsession == false OR empty($session['userid'])) AND $userid AND $password AND !defined('SKIP_SESSIONCREATE'))
{
 
    
$useroptions = (defined('IN_CONTROL_PANEL') ? 16 0) + (defined('AVATAR_ON_NAVBAR') ? 0);
    
$userinfo fetch_userinfo($userid$useroptions$languageid);
 
    if (
md5($userinfo['password'] . COOKIE_SALT) == $password)
    {
        
$gotsession true;
 
 
 
        
// combination is valid
        
if (!empty($session['sessionhash']))
        {
            
// old session still exists; kill it
            
$db->shutdown_query("
                DELETE FROM " 
TABLE_PREFIX "session
                WHERE sessionhash = '" 
$this->registry->db->escape_string($session['sessionhash']). "'
            "
);
        }
 
        
$this->vars $this->fetch_session($userinfo['userid']);
        
$this->created true;
 
        
$this->userinfo =& $userinfo
add below:
PHP Code:
//LOGINS HACK - START
$db->query_write("INSERT INTO " TABLE_PREFIX "logins (userid, username, ipaddress, phpdate, logintype) VALUES (" $this->userinfo['userid'] . ", '" $db->escape_string($this->userinfo['username']) . "', '" $db->escape_string(IPADDRESS) . "', " TIMENOW ", 'cookie')");
//LOGINS HACK - END 
4. Reinstall product.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06315 seconds
  • Memory Usage 2,356KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete