Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-06-2006, 04:41 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default how do i clear IPs logged

Hi,

https://vborg.vbsupport.ru/showthread.php?p=892363

As you can see from the above thread and the marijuana online communities, overgrow.com and some other websites have been closed and records have been seized by canadian government officials.

My website is of similar content, and I just want to ensure my users that there is limited liability. I have IP logs set to display only to admin, but I am looking to no longer log ip addresses and delete existing logs.

How do I get rid of IPs logged in the database?
Reply With Quote
  #2  
Old 02-06-2006, 05:00 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin Options > Message Posting and Editing Options > Log IP Addresses - set to "Do no Log".

You will need to run an sql query to clear old ip addresses, and delete all old database backups (or keep them where no one can find them except you).

[sql]update post set ipaddress = '';[/sql]
Reply With Quote
  #3  
Old 02-06-2006, 06:47 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont forget the webserver itself logs aswell.
Reply With Quote
  #4  
Old 02-06-2006, 07:48 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, and I suppose my cpanel webalizer and other various preintalled stat scripts store this info too, to some extent. Atleast it doesn't make it super easy and associate a username with ip address.

I'm not so sure any government parties in the U.S. would actually use the IP information. But I guess we could all speculate.

PaulM thanks for the help, I'm doing this now. I wonder if their IP addresses will still be stored in the database for each member or whatever.

I just searched for some IP addresses and found all the places they are stored. I use vbgallery so I ran
Code:
UPDATE adv_gallery_images SET ipaddress ='';
UPDATE adv_gallery_posts SET ipaddress='';
Then I ran this. Obviously if you don't use the gallery above don't bother running the above queries, they won't succeed. Of course these 2 queries are in addition to what paul said above. Just to be thorough.
Code:
UPDATE search SET ipaddress='';
UPDATE user SET ipaddress='';
I'm sure you can't be thorough enough, this is only to make things not so easy in the event your site winds up like overgrow.
Reply With Quote
  #5  
Old 02-11-2006, 04:05 AM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then to stop the registration section from updating the new users user table with the ipaddress you find this in your register.php file:

Code:
$userdata->set('ipaddress', IPADDRESS);
& replace it with this

Code:
$userdata->set('ipaddress','');
save upload, be sure to rerun the update on your user table above......
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:03 AM.


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.04938 seconds
  • Memory Usage 2,195KB
  • Queries Executed 13 (?)
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
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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