vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Delete IP address log for certain users (https://vborg.vbsupport.ru/showthread.php?t=292904)

mathforum 12-12-2012 05:59 AM

Delete IP address log for certain users
 
Hi all,

Is there a way to do this? I don't like having all of my IP addresses over the years logged in the system forever.

Jameson

ForceHSS 12-12-2012 09:20 AM

DELETE FROM `ipdata` WHERE `userid` = 1
just change the userid hope this is what you are looking for

mathforum 12-12-2012 06:40 PM

Quote:

Originally Posted by ForceHSS (Post 2390181)
DELETE FROM `ipdata` WHERE `userid` = 1
just change the userid hope this is what you are looking for

I ran the query and it affected over 1,000 rows, but no luck. Data is still there :(

I'm referring to the IP logs that you can see in the AdminCP. You search for a user and then in the drop-down box click "view IP addresses".

Max Taxable 12-12-2012 06:45 PM

Quote:

Originally Posted by mathforum (Post 2390323)
I ran the query and it affected over 1,000 rows, but no luck. Data is still there :(

I'm referring to the IP logs that you can see in the AdminCP. You search for a user and then in the drop-down box click "view IP addresses".

And you used the correct userID in the query?

kh99 12-12-2012 06:55 PM

I think you want to remove it from the post table, like maybe

Code:

UPDATE post SET ipaddress='' WHERE userid = 1

borbole 12-12-2012 08:20 PM

Quote:

Originally Posted by mathforum (Post 2390323)
I ran the query and it affected over 1,000 rows, but no luck. Data is still there :(

I'm referring to the IP logs that you can see in the AdminCP. You search for a user and then in the drop-down box click "view IP addresses".

To remove it there run this query:

Code:

UPDATE vb_adminlog SET ipaddress = WHERE userid = 1;
2 things to note. First replace the standard vb_ prefix with whatever prefix you use for your db tables. And 1 with your user id if it is something else then 1. Hope it helped.


All times are GMT. The time now is 01:30 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.00988 seconds
  • Memory Usage 1,720KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete