Delete IP address log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sweetpotato
    Senior Member
    • Apr 2010
    • 145
    • 4.2.X

    [Forum] Delete IP address log

    I want to protect my forum members private information and have set the forum did not log IP address but there are still IP address loged in the database. How can I delete the loged IP address?
    Thanks,
    http://www.cyberim.com/cyberim.png
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    This cannot be undone so if you really want to do this, run these queries (assuming no table prefix):

    1. To remove IPs from the User registration:

    UPDATE user SET ipaddress='';

    2. To remove all IPs from posts:

    UPDATE post SET ipaddress='';

    Note: Those are single quotes, not a double-quote.

    Also vB will continue to log IPs on registration. Changing this requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • sweetpotato
      Senior Member
      • Apr 2010
      • 145
      • 4.2.X

      #3
      Thank you Sir,

      That all the thing I need!
      http://www.cyberim.com/cyberim.png

      Comment

      • Neil
        Member
        • Nov 2002
        • 82
        • 3.8.11

        #4
        Steve, could you please write a query to delete posts and registration IPs of one specific user?

        Comment

        • Hawk2
          Senior Member
          • Apr 2008
          • 862
          • 4.1.x

          #5
          Originally posted by Fenriz
          Steve, could you please write a query to delete posts and registration IPs of one specific user?
          you can delete the users posts from the admin panel

          Comment

          • Neil
            Member
            • Nov 2002
            • 82
            • 3.8.11

            #6
            I mean to delete "posts IPs", not just "post"..

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24358
              • 5.7.X

              #7
              UPDATE post SET ipaddress='' WHERE userid = x;
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...