vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   how to delete the IP history (https://vborg.vbsupport.ru/showthread.php?t=247274)

BlackHoster 07-25-2010 04:28 PM

how to delete the IP history
 
hi guys
i have a question please

how could i delete completely the IP history that stored of any member from the database of even from the Control Panel ??? ,,by the way I'm using VB4.0.5

Regards

borbole 07-25-2010 04:43 PM

Quote:

Originally Posted by BlackHoster (Post 2074324)
hi guys
i have a question please

how could i delete completely the IP history that stored of any member from the database of even from the Control Panel ??? ,,by the way I'm using VB4.0.5

Regards

Do you want to delete the ip addresses of all users in all the posts?

BlackHoster 07-25-2010 04:52 PM

Quote:

Originally Posted by borbole (Post 2074332)
Do you want to delete the ip addresses of all users in all the posts?

Yea something like that
i wish i could delete all the IP addresses of all Users which were saved in the forum database

--------------- Added [DATE]1280080983[/DATE] at [TIME]1280080983[/TIME] ---------------

https://vborg.vbsupport.ru/external/2010/07/19.jpg

how could i delete all these IP's i wanna delete them all something like make my forum start fresh without these IP's

borbole 07-25-2010 05:15 PM

Quote:

Originally Posted by BlackHoster (Post 2074335)
Yea something like that
i wish i could delete all the IP addresses of all Users which were saved in the forum database

--------------- Added [DATE]1280080983[/DATE] at [TIME]1280080983[/TIME] ---------------

https://vborg.vbsupport.ru/external/2010/07/19.jpg

how could i delete all these IP's i wanna delete them all something like make my forum start fresh without these IP's

Go to phpmyadmin and run this queries at the SQL box.

Code:

UPDATE adminlog SET ipaddress = '';
This will delete all the ip addresses when checking the logs in the Acp


Code:

UPDATE moderatorlog SET ipaddress = '';

This will delete all the ip addresses from the moderator log


Code:

UPDATE post SET ipaddress = '';

This will delete all the ip addresses from the posts


Code:

UPDATE user SET ipaddress = '';

This will delete all the ip addresses from the user table

These are where the ipaddresses are stored off the top of my head. If your db tables use a prefix, append it to the table name when running the queries. Hope it helps.

P.s. Note that this will delete the ip''s for everyone. But all the posts, mod/admin actions made in the future will store their ip''s. To delete them anytime a post is made or when an admin or mod does moderation etc you will need a custom mod.

BlackHoster 07-25-2010 05:21 PM

thank you very much really appreciated :)

borbole 07-25-2010 07:30 PM

Quote:

Originally Posted by BlackHoster (Post 2074348)
thank you very much really appreciated :)

You are welcome. Glad to have been of help :)

high6 07-25-2010 11:40 PM

It also stores ips in the post table.

borbole 07-26-2010 10:32 AM

Quote:

Originally Posted by high6 (Post 2074488)
It also stores ips in the post table.

Yes, I had already included that above :)

carsafety 01-01-2020 08:43 PM

Quote:

Originally Posted by borbole (Post 2074343)
Go to phpmyadmin and run this queries at the SQL box.

Code:

UPDATE post SET ipaddress = '';

This will delete all the ip addresses from the posts

Old post, I apologize, but is there a simply query that could perform the removal of IP addresses only on posts made before a certain date, or those older than a certain number of days/months/years?


All times are GMT. The time now is 02: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.01525 seconds
  • Memory Usage 1,736KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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