vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=92266

Log Logins Hack
by Abe1
15 Jul 2005 17:19

2 Attachment(s)
Log Logins Hack 1.1


About this hack:
This hack will log the userid, username, ipaddress, where the login is, and time all your users log onto your forum.
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 2
  • Time to install: 1 minutes max
Updates:

Version 1.0 (11/05/05):
  • GOLD Release of this hack for vBulletin version 3.5
Version 1.1 (11/06/05):
  • Added logging of were the log was made. (Standard, Mod CP, or Admin CP)
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.

Pictures:
  1. Admin Control Panel View of Stats

Chris M 15 Jul 2005 17:24

Nice idea :)

/me considers for installation :)

Satan

Allan 15 Jul 2005 18:24

little screen of result please :)

Chris M 15 Jul 2005 18:33

Quote:

Originally Posted by Allan
little screen of result please :)

There is no data displayed - You have to view it through PhpMyAdmin, therefore just imagine a PhpMyAdmin screen with data:p

Satan

cipciop 15 Jul 2005 19:13

after lunch the puglin i have the problem with database:

Database error in vBulletin 3.5.0 Beta 4:

Invalid SQL:
CREATE TABLE IF NOT EXISTS`logins` (
`logid` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`userid` int(10) NOT NULL,
`username` char(100) NOT NULL,
`ipaddress` char(15) NOT NULL,
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
`phpdate` int(10) NOT NULL);

MySQL Error : You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use near
'CURRENT_TIMESTAMP,
`phpdate` int(10) NOT NULL)' at line 6
Error Number : 1064

What can resolved this problem ?

Tks.

Sorry for my bad english

Abe1 15 Jul 2005 21:30

Quote:

Originally Posted by cipciop
after lunch the puglin i have the problem with database:

Database error in vBulletin 3.5.0 Beta 4:

Invalid SQL:
CREATE TABLE IF NOT EXISTS`logins` (
`logid` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`userid` int(10) NOT NULL,
`username` char(100) NOT NULL,
`ipaddress` char(15) NOT NULL,
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
`phpdate` int(10) NOT NULL);

MySQL Error : You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use near
'CURRENT_TIMESTAMP,
`phpdate` int(10) NOT NULL)' at line 6
Error Number : 1064

What can resolved this problem ?

Tks.

Sorry for my bad english

OK. I updated the zip file. Please try to install again now. Also, you sould first manualy delete any hooks that got installed before. After you delete them, you can import this new file.

Christine 15 Jul 2005 23:17

Hi Abe,

This is interesting! Thanks for sharing it -- I will check with my board teams and see if there is anything they would like to do with this information.

derekivey 17 Jul 2005 04:33

I installed it, It does the job well! :)

Jenta 19 Jul 2005 19:48

Installed.

Is it possible you can create a session log one?

I need to see how often certain members are visiting the forums. I don't care how large the table grows and I have had no luck figuring out the new session code.

Thanks

jesus likes pie 20 Jul 2005 01:08

Are you working on making it show in some place in the admincp rather than phpmyadmin?

Abe1 20 Jul 2005 02:32

Quote:

Originally Posted by jesus likes pie
Are you working on making it show in some place in the admincp rather than phpmyadmin?

Eventually.

Reimer 22 Jul 2005 12:55

It would be nice to add logging for the logout function as well because I have some problems with multiple accounts.

ExpertDomino 04 Aug 2005 02:01

I can Confirm this in not compiatbile with 3.5.0 RC1 GRRRRRRRRRRRR, now I have some issues to fix.

derekivey 04 Aug 2005 02:38

Yup, it doesn't work for me also on vBulletin 3.5 RC1.

Derek

Abe1 04 Aug 2005 12:47

Updated for vb3.5rc1.

Is anyone upgrading this hack? I suggest uninstall then re-install.


All times are GMT. The time now is 12:19.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.