XF 1.5 show user's location?

davs

Member
I am looking for a way to show user's location (which they input at registration) under their name and level...like right on here
ex.
davs
New Member
Toronto, ON
 
I have the same question as davs but I don't understand the directions in the link.

For instance, what is an "identifier?"

And, "if the field is required, a value will have to be entered/selected when a user registers or attempts to edit the appropriate section of their account."

Since I've set the location as required upon registration, what does it mean that "a value will have to be entered/selected?"

I'm sure I'd have other questions, but maybe if I can at least get passed the first two the rest will become clearer to me.
 
This was actually more simple than I thought.

To show the location under the avatar:

1. set up a custom field (i.e. "Location") in user/User Customization
2. In style properties/message elements, check "Show custom user fields" and "Show author location."
 
Uh oh. I was happy to see the location show up under member's avatars, but now when new members register there are two fields for "location." Where do I remove one of them?
 
Last edited:
Uh oh. I was happy to see the location show up under member's avatars, but now when new members register there are two fields for "location." Where do I remove one of them?
Since you allowed "required" for location during sign up (options - user registration), then do you not need to make a custom user field at all? Just set the "Show author location" tick box in style properties - message elements and then you have location on signup and it shows under username. no?

My prob was I didnt want it mandatory so I left it out and made a notice in hopes they would add it after.
 
Since you allowed "required" for location during sign up (options - user registration), then do you not need to make a custom user field at all? Just set the "Show author location" tick box in style properties - message elements and then you have location on signup and it shows under username. no?

My prob was I didnt want it mandatory so I left it out and made a notice in hopes they would add it after.

YES! THAT'S IT!

I was up last night trying to figure it out (these little things can drive you nuts lol) and it finally dawned on me that it doesn't need and shouldn't have a "custom user field," since that creates a duplicate field after I require "location" upon sign up.

Only one step was needed, and you just confirmed it: "Just set the "Show author location" tick box in style properties - message elements"

Another day, another problem solved.

Thank you davs, we make a good team :)
 
Last edited:
Ya!

I usually need and appreciate detailed instructions as there are so many options.

I wanted location too but weighed the differences for as easy a sign-up as possible. Most active users input location after my notice to them. What is your forum address, can I see?
 
Ya!

I usually need and appreciate detailed instructions as there are so many options.

Me too.

I wanted location too but weighed the differences for as easy a sign-up as possible. Most active users input location after my notice to them. What is your forum address, can I see?

My site is not ready for public viewing, but I'll msg you the link so that you can see why location is essential.
 
Top Bottom