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

XF 1.4 Putting a Location on members

Discussion in 'XenForo Questions and Support' started by wickedstangs, Dec 11, 2014.

  1. wickedstangs

    wickedstangs Well-Known Member

    Since my site has Nationwide members, How would I be able to tell where that member is from / location? (STILL NOT SURE IF I AM EXPLAINING IT CORRECTLY) :)

    Was thinking about giving them a usergroup.. But, that would be to many...

    One of my members asked :
  2. Mike

    Mike XenForo Developer Staff Member

    There isn't really a way to do that out of the box. There is a location field, but it's generally free-form so it may not be accurate enough and it's not something we expose as searchable. There may be an add-on that helps but I'm not generally familiar with them.
    wickedstangs likes this.
  3. DragonFlames

    DragonFlames Active Member


    Style Properties > Message Elements > Show author location will put the member provided location info on display on messages on your system.

    On my system you can click the field and it takes you to a map displaying the location which is nice. I assume that was built in and I did not add it... no memory so not sure... :)

    So, that will display what there is and allow people to see the location of others. A Google search of your system might find things on display like this even if the internal search didn't find it for some reason.

    My last thought for you is that what we all really need is a system that takes all the locations and plots them on a World map, and perhaps offers to use IP addresses if that is preferred.

    Hope the thoughts help.

    wickedstangs likes this.
  4. DaveM

    DaveM Well-Known Member

    wickedstangs likes this.
  5. wickedstangs

    wickedstangs Well-Known Member

    I wonder if they can do state flags..
  6. wickedstangs

    wickedstangs Well-Known Member

    Thanks this looks to be like what I am looking for...
  7. DaveM

    DaveM Well-Known Member

    I don't think so as it is not designed to pick up that type of location but I am sure @Snog can explain it a bit better
  8. DaveM

    DaveM Well-Known Member

    This is very much static and will only update if the user does so.
  9. Tracy Perry

    Tracy Perry Well-Known Member

    As it is currently written it uses the country of the IP. It could be recoded to use the state - but what about other countries that do not have "states". I can see that becoming a coding nightmare. Also, the other problem if you depend on the IP of the user, it does not necessarily mean that is where they are actually at. At one point, all the tools out showed that when I was on DSL I was connecting from Spring, TX (which is 131 miles away).
  10. Biker

    Biker Well-Known Member

    IP addresses for mobile devices would be another wrinkle. The major cell providers have a large pool of addresses that are assigned nation wide.
  11. Snog

    Snog Well-Known Member

    These are the exact reasons the add-on doesn't include states/regions.

    I actually experimented with it a long time ago and the error rate was well over 60%. To me, that made it unusable.
    Daniel Hood likes this.
  12. Daniel Hood

    Daniel Hood Well-Known Member

  13. Snog

    Snog Well-Known Member

    It would require the user's approval, which in theory could render the entire process useless.

    Direct from that site..
    Plus, I don't think users would be comfortable being narrowed down to the exact city they live in. Especially in cities with a very low population.

Share This Page