1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-on IP'S

Discussion in 'Resource and Add-on Requests' started by Yashjeet, Mar 16, 2013.

  1. Yashjeet

    Yashjeet Active Member

    I don't like the way when people register in 2 alt accounts. When I ban there IP it ban's mine. So is there a way that an addon can detect double ip's on being registered.
     
  2. Biker

    Biker Well-Known Member

    IP addresses are "unique". Unless the offending member is also using your connection, there should be no way that banning an IP address will also ban yours.
     
  3. tyteen4a03

    tyteen4a03 Well-Known Member

    If you are using CloudFlare, insert this code into your config.php (this is the only cause of the problem I can think of):

    Code:
    // CF
    if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
        $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
    }
    
     
  4. Kent

    Kent Active Member

    That isn't secure.
    http://xenforo.com/community/thread...e-remote_addr-of-a-visitor.46082/#post-495876

    If you are using CloudFlare, see the link above.

    If you live somewhere with a low net range or where IPs are shared or highly dynamic (eg. Singapore) then there is really not much you can do about this but ban the offenders' accounts and try to find their new accounts each time they register. Enabling administrator approval is very helpful, but sadly you won't catch everyone, and it can be quite difficult to manage on a large site.
    Try this addon which uses a cookie: http://xenforo.com/community/threads/multiple-account-detection.6373/
     
  5. tyteen4a03

    tyteen4a03 Well-Known Member

    Unfortunately I'm on a shared hosting and mod_cloudflare is not available. I'll modify the code according to your suggestion though.
     

Share This Page