Forum Replies Created
-
AuthorPosts
-
vcpros
MemberOkay thanks. Yeah I did it with jQuery, just wanted to check if there was a more native way. Thank you.
vcpros
MemberHi Eyal, that worked perfectly. As to why I wasn’t using it, I simply didn’t know about it; I am familiar with myslqi_query so that’s what I went with. Thank you so much for the help, $wpdb is something to study for the future.
vcpros
MemberDoes lat/lang column have to be float(10,6)? Can I change it to something like decimal, double, or varchar without breaking the plugin? Meaning does any functionality depending on those columns being floats?
vcpros
MemberIt works! You’re beautiful, thank you very much, I really appreciate it.
vcpros
MemberHi Eyal, just following up, wanted to elaborate a little more. Essentially I want to use some jquery (in my /child-theme/js/ folder) to have the address input auto-populate with the current users address so they don’t have to enter it themselves.
That being said, my train of thought is that if I get the users location into a variable I just just call that variable using jquery.
vcpros
MemberRather, what would be the PHP line/variable that saves the users location after they have set it? Or how can I save all that info into a variable I can use?
vcpros
MemberHi Eyal, is there a way to have the users address pre-filled in the address input? If not via the plugin, maybe you know of a snippet that can do it?
vcpros
MemberSo I don’t see an xprofile Fields tab; do I need the xprofile fields addon ($30) to see that?
My members page does have a location tab, I was just curious how, as an admin, I would do it on the backend.
vcpros
MemberSo right now I don’t have the xprofile addon, and I am trying to add an address to a user/profile. I went to Users > All Users > User profile and I don’t see a tab/field to add/update an address. Am I misunderstanding how to access a users geo my wp profile?
Secondary, as with the comment above, is there a default way (or way in code) to have the search based off the current users geo my wp address instead of having to enter an address?
vcpros
MemberThanks. I am using Sweet Date.
So if I used the geo my wp search form, can I still pick xprofile fields in my search form (such as the ones in the screenshot) as well as a radius option to return member profiles? I don’t want to have to enter an address or see a map.
vcpros
MemberThanks Eyal, I am checking it out now.
Regarding the Xprofile plugin, is it possible to only search by radius (radius from the current user)? Here is my search form; I’m trying to make that last tab (distance) be my radius dropdown. All those other dropdowns are xprofile fields I have manually selected as filters.
Or do I always have to enter an address in order to return search results?
-
AuthorPosts