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

Users Online IP lookup

Discussion in 'XenForo Questions and Support' started by Jonathan Carl, Feb 9, 2011.

  1. Jonathan Carl

    Jonathan Carl Active Member

    I am trying to find out where the website is stored to look up IP's when they are clicked. I am attempting to change it to anther site.
     
  2. SchmitzIT

    SchmitzIT Well-Known Member

    Check library/XenForo/Model/IP.php. There's a function called _getHost in it. It shouldn't be too hard to override that (I'd advise you not to hack the existing xF code).
     
  3. Kier

    Kier XenForo Developer Staff Member

    The current site is coded into the templates. I will look at switching it over to use a configurable option.
     
    dieketzer likes this.
  4. Kier

    Kier XenForo Developer Staff Member

    Done.

    Screen shot 2011-02-09 at 13.03.09.png
     
    soloarquitectura and Cooper like this.
  5. Jonathan Carl

    Jonathan Carl Active Member

    Wow, i really should have attempted to look before i posted this. I assumed it was going to be written in a PHP file...
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    It was until Kier added it as an option which will be available in the next release.
     
  7. Jonathan Carl

    Jonathan Carl Active Member

    Oops, sorry i am seeing things. Been up 26 hours, thanks for the help
     

Share This Page