Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Turn off IP-Logging

AtzeKatzeAtzeKatze New
edited August 2012 in Vanilla 2.0 - 2.8

Hello Vanillas,

I'm very new at vanilla-forum but it's a very great script. Thanks for this.
My question is: How can I turn off the IP-Logging in the entire script and database? We want the best privacy for our members (you can only access with an invitations, so we haven't any problems with bots).

Thank you

Best regards,
AtzeKatze

Best Answer

  • Options
    peregrineperegrine MVP
    Answer ✓

    I wouldn't recommend it.

    So, you are not worried about the server logs and the routers on the way or the firewalls that are tracking your address, but you are worried about the vanilla database :)

    Ip address is stored in the user table, ban table, and log table at the very least.

    If you really wanted to - you could modify the core

    vanilla/library/core/class.request.php
    
    and change 
    
      public function IpAddress() {
          return $this->GetValue('REMOTE_ADDR');
       }
    
    to
     public function IpAddress() {
           return '192.168.0.1';
       }
    

    192.168.0.1 is a private network address and would be a good filler
    127.0.0.1 or you could just assign it to localhost

    good luck.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Answers

  • Options
    peregrineperegrine MVP
    Answer ✓

    I wouldn't recommend it.

    So, you are not worried about the server logs and the routers on the way or the firewalls that are tracking your address, but you are worried about the vanilla database :)

    Ip address is stored in the user table, ban table, and log table at the very least.

    If you really wanted to - you could modify the core

    vanilla/library/core/class.request.php
    
    and change 
    
      public function IpAddress() {
          return $this->GetValue('REMOTE_ADDR');
       }
    
    to
     public function IpAddress() {
           return '192.168.0.1';
       }
    

    192.168.0.1 is a private network address and would be a good filler
    127.0.0.1 or you could just assign it to localhost

    good luck.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Thank you :) It's working!

    Server-Logs are disabled too and I hope this is enough.

  • Options
    PamelaPamela ✭✭
    edited May 2016

    Useful in our case, even if not recommended ;-) thanks @peregrine to share it

    No way to do it without edit this core' file? for example via a plugin

Sign In or Register to comment.