Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2002, 08:29 PM
Craznik Craznik is offline
 
Join Date: Aug 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default IP logging hack

As of now, the only way IP's are logged it seems is if someone makes a post. While this is useful, it really doesnt help me all that much. I need to see all the IP's that view as well and log each different IP a user views the site with individually and permanently.

Also, I need to be able to see this log when using the [View IPs for username] link in the admin CP.

Also, is there a way to make the list that the [View IPs for username] link creates, list IPs that are shared between different userIDs in another color? Dunno if that would be possible or not but it would be cool as hell if it could. Some people have 20 or 30 IPs, if the ones that are shared by someone else showed up in red or something to warn of another user having the same IP... that would be cool.

This hack comes very close to what I need but it has no searching options at all and it also deletes the logs (it has to to prevent it from getting so huge) after 3 days. Great hack but no resources to use it.
Reply With Quote
  #2  
Old 09-17-2002, 08:44 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Umm, I guess this can be done, I have released 2 IP Logging hacks here. One that log the ip that you try to locate. The other one logs all ips that go to the admin/ while you lock it.

My way, logs each time a page is accesed, the logs go inside a document on your webserver.

Reply back if your still interested
Regards
-Arunan
Reply With Quote
  #3  
Old 09-17-2002, 08:47 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DrkFusion
My way, logs each time a page is accesed, the logs go inside a document on your webserver.
I'd be interested Drk, this sounds good. I'd like a better log then my webserver provides, with info like userid, script, refferer, time, date and ip all in one neat log instead of having 4 different logs
Reply With Quote
  #4  
Old 09-17-2002, 10:08 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey NTLDR, if you want, check out my Restrict Admin CP with ip logg hack, and copy the code from fopen(); to fclose(); or something similar, but if you are willing to wait I can do that

-Arunan
Reply With Quote
  #5  
Old 09-17-2002, 10:33 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Drk, I'll take a look
Reply With Quote
  #6  
Old 09-18-2002, 12:29 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, great, Im sorry I would do it myself, but I got alot of stuff on my hand right now, and taking up 60% of what I do is school.

Thanks again,
-Arunan
Reply With Quote
  #7  
Old 09-18-2002, 12:57 AM
Craznik Craznik is offline
 
Join Date: Aug 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YES!! I am very interested in this... Thanks for your fast response.
Reply With Quote
  #8  
Old 12-16-2002, 07:43 PM
jwischka jwischka is offline
 
Join Date: Oct 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is exactly what i'm looking for. is there some easy way to modify that code so that it will log every event instead of just admin cp ones? i can even live with just going into the database to look at it and not having a nice gui...

thanks in advance...

~jeff
Reply With Quote
  #9  
Old 12-16-2002, 08:56 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you would have a very popular board, the file would jsut get bigger and bigger, and well it will just be a waste of space.
Reply With Quote
  #10  
Old 12-16-2002, 10:30 PM
jwischka jwischka is offline
 
Join Date: Oct 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm aware of that... i would probably clean it out on a semi-daily basis. my board is not that popular, and it would help greatly with security. even if they were automatically deleted after 5 or 6 days that would be fantastic...

~jeff
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 05:31 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.04315 seconds
  • Memory Usage 2,244KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete