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)
-   -   Admin CP IP Logging w/last seen (https://vborg.vbsupport.ru/showthread.php?t=46695)

a43079 12-16-2002 10:44 PM

very mice hack

matthepepe 12-17-2002 01:07 AM

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 ?


Cyberhouse 12-17-2002 04:31 AM

Nice hack.

Installed ;)

Smoothie 12-17-2002 08:26 AM

Installed. Good one.

Exo 12-17-2002 10:18 AM

nice, how can i make it to the german date format?

Sebastian 12-18-2002 01:15 AM

Quote:

Originally posted by Exo
nice, how can i make it to the german date format?
explain how german date looks like.

Exo 12-18-2002 08:25 AM

am 18.12.2002 um 20:23:11

or

am 18. Dezember, 2002 um 20:23:11

Talisman 12-27-2002 07:58 PM

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.

Sebastian 12-27-2002 11:55 PM

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.

Zaeolos 01-10-2003 12:30 PM

***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.


All times are GMT. The time now is 07:05 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.01062 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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