Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Admin CP IP Logging w/last seen Details »»
Admin CP IP Logging w/last seen
Version: 1.00, by Sebastian Sebastian is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-14-2002 Last Update: Never Installs: 65
 
No support by the author.

This hack logs all IP's of visits to the admin CP. It shows the IP of the user, when was the last visit the person made, how many times the person visited, along with the date.

This is great if you want to be informed of any intruders

File with IP/Date will be stored by default to forum/admin/logs/iplog.inc

TODO:
1. add logging of username if registered based on stored cookie
2. code cleaning.

Please Click HERE if you installed, thanks!

Screenshot next post.

Cheers :bunny:

Show Your Support

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

Comments
  #12  
Old 12-16-2002, 10:44 PM
a43079's Avatar
a43079 a43079 is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very mice hack
Reply With Quote
  #13  
Old 12-17-2002, 01:07 AM
matthepepe matthepepe is offline
 
Join Date: Jan 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind i got it to work thanks.
good idea by the way.
Quote:
Originally posted by Sebastian

is it making the file just not writing to it? or is it not making the file at all? did you change the default path admin/logs ?
Reply With Quote
  #14  
Old 12-17-2002, 04:31 AM
Cyberhouse Cyberhouse is offline
 
Join Date: Jun 2002
Location: Sweden
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack.

Installed
Reply With Quote
  #15  
Old 12-17-2002, 08:26 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Good one.
Reply With Quote
  #16  
Old 12-17-2002, 10:18 AM
Exo's Avatar
Exo Exo is offline
 
Join Date: Nov 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, how can i make it to the german date format?
Reply With Quote
  #17  
Old 12-18-2002, 01:15 AM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Exo
nice, how can i make it to the german date format?
explain how german date looks like.
Reply With Quote
  #18  
Old 12-18-2002, 08:25 AM
Exo's Avatar
Exo Exo is offline
 
Join Date: Nov 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

am 18.12.2002 um 20:23:11

or

am 18. Dezember, 2002 um 20:23:11
Reply With Quote
  #19  
Old 12-27-2002, 07:58 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is way cool, Sebastian. Thanks.

I really like showing anyone who stumbles over to our Admin CP login page (in big red letters) that we're keeping track of people who access this area and that their IP addresses are being logged.

Maybe later, we (meaning someone out there, of course, since I'm still such a dunce at this stuff) might like to expand this to let us view the log from a link in the Admin CP. Think I might attempt that, myself, unless someone else already has done so and would like to post that here.

Nice hack. Thanks, again.
Reply With Quote
  #20  
Old 12-27-2002, 11:55 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Talisman

Maybe later, we (meaning someone out there, of course, since I'm still such a dunce at this stuff) might like to expand this to let us view the log from a link in the Admin CP. Think I might attempt that, myself, unless someone else already has done so and would like to post that here.
Open admin/index.php

find:

Code:
// ***
makenavoption("Statistics","stats.php?action=index","<br>");
makenavoption("Admin Log","adminlog.php?action=choose");
makenavselect("Statistics & Logs","<hr>",$df);
Replace with:
Code:
// ***
makenavoption("Statistics","stats.php?action=index","<br>");
makenavoption("Admin Log","adminlog.php?action=choose","<br>");
makenavoption("Admin CP iplogs","vblogs.php?");
makenavselect("Statistics & Logs","<hr>",$df);
Upload the attached php file to forums/admin

if you haven't changed any of the path logs then your set to go, otherwise open vblogs.php and change the include path to the location of your iplogs.inc

save, upload all files, you should see a link under Statistics & Logs to view the logs from admin cp.
Reply With Quote
  #21  
Old 01-10-2003, 12:30 PM
Zaeolos's Avatar
Zaeolos Zaeolos is offline
 
Join Date: Jan 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

***Installed***

Works Perfectly with 2.2.9, but I was wondering. Is there a way to make it start a new line with every new IP address. When you view it in the Admin CP, it just keeps adding back to back. It would be easier to sort out if each IP started a new line.

Thanks.
Reply With Quote
Reply

Thread Tools

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 05:02 PM.


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.05957 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (3)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
  • (2)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