June 17, 2014 at 11:49 am #30119
Hi there, I’m a developer looking to purchase xprofile fields add-on as well as premium settings.. The site I’m working on is using buddypress.. and each user can have up to 4 addresses.. like Home Address… Office 1 Address, Office 2 Address… Right now, I just have all the addresses in different xprofile fields.. can your plugin + any addon make all the addresses of each user searchable?
ThanksJune 17, 2014 at 11:50 am #30136
A little more detail: My search form is like this:
First Name text box: (I’ll use xprofile addon)
Last Name text box: (I’ll use xprofile addon)
Profession select box: (I’ll use xprofile addon)
So the first 3 fields should work fine with the addon. It’s just the address field.. Is there a way the location tab can hold more than 1 address?
I don’t absolutely have to have the address come from xprofile fields.. I just need 3 or 4 addresses geocoded and stored in your custom database, per user. But looking at the db, I think the member_id field in wppl_friends_locator is a primary key, or needs to be unique.. any ideas?June 17, 2014 at 1:16 pm #30135
Ok shoot – I see xprofiles addon only adds the ability to use xprofile fields for the address.. not first name, last name etc :/
I just purchased it – though I’m not sure if I can use it to find a clue as to how to use it to search with other xprofile fields. I really like how your plugin handles buddypress. I can’t find anything comparable, that allows other fields yet.June 17, 2014 at 3:14 pm #30134
Apologies for the delayed reply.
Unfortunately at the moment GEO my WP can only handle one address per BuddyPress member. IT has been requested in the past and I would like to have this feature possible but it won’t be very simple. I am still looking for way to do that.
As you said the member_id is a primary key in database which won’t make it possible to hold more than a single address. Even if changing it I will need to change many things in the way the plugin work.
What I think you could do ( and that is one of the ideas I had for this feature ) is maybe use post types to hold the additional locations per member. You could create a custom post type called “Locations” for example. Probably using a front-end post plugin you can let members add additional locations. The main location you could still use the “Location” tab.
Then creating a search form for the locations post type will allow the search for members location. You could modify the search results template file to display different information about the member using the author ID of each post.
This is just an Idea that was never tested but I think you could make it work.June 17, 2014 at 3:16 pm #30133
“Ok shoot – I see xprofiles addon only adds the ability to use xprofile fields for the address.. not first name, last name etc :/”
Why would you need the plugin to use other fields than the address fields?June 17, 2014 at 5:22 pm #30132
Hi there, thanks so much for the reply – I like the post types idea.. I’m going to give that a try.
One more question – Will the additional addresses from the custom post types be searchable in the same search form as for the regular address.
So if I say search for all users within 15 miles of zip code 12345 – will it bring back results from the initial address and the additional addresses?
Thanks again for all your help!June 17, 2014 at 10:30 pm #30131This reply has been marked as private.June 17, 2014 at 10:33 pm #30130
I set it as private because of the url – if you’d like me to share any code with you, I don’t mind. The way that I did it was not very elegant though.June 17, 2014 at 10:58 pm #30129
Love what you have done with Xprofile fields. I have been wanting to add that as a feature for a while now but I keep delaying it as it is a bit complex. Adding that to the plugin means that I also need to build a UI in the back-end for the admin to choose the field type per profile Field.
However, i’d love it if you shared your code with me or with others as well. If you don’t mind you are more than welcome to email it to email@example.com.
As for the post type request I will need to take a look at that a little later today when I will be on my computer.
Probably using some filters to JOIN the database tables of post types and buddyPress members will make it possible. I will see and get back to you later.June 18, 2014 at 12:45 pm #30128
Hi Eyal, thanks 🙂 I’ve emailed you. Also, as soon as I have a moment, I’ll write a detailed reply to this post, and also mention it on the thread in the wordpress support forum, about the changes I made… for anyone else looking to try this.
Thanks 🙂August 25, 2014 at 2:36 pm #30127solhuebnerMember
Hi, can you guide me where the code has been posted?
I also really need that feature.
My plan is to use most of your plugins but this is quite a show stopper for me at the moment as I also need a private and office address…
Kind regardsAugust 27, 2014 at 4:57 pm #30126ronMember
I’m looking for something similar, but instead on buddypress we want it on the post to be able to assign multiple address in just one post so that post can be located in diff. address..
already found this post, but no solution..
if anybody has a solution how to add multiple address in one post my client is willing to pay for it..
i hope someone has this..
ThanksAugust 31, 2014 at 12:25 am #30125
Multiple locations for posts and Buddypress members is, I believe, the most requested/needed feature for GEO my WP. For this reason it is next on my to do list. I have been working on the next version of GEO my WP for the last few months and once I am done with it I will start working on the multiple locations feature.
The coming version of GEO my WP is a major update with many new features and improvements and I am trying to make sure to release it as bugs free as it can be.
I hope to come up with a good solution for the multiple locations feature and start working on it ASAP.August 31, 2014 at 8:21 am #30124solhuebnerMember
thank you for keeping us updated!
I can not await seeing your next version of this great plugin 🙂
Kind regardsDecember 12, 2014 at 4:43 pm #30123guerilladesignsMember
Do you have a timeline together for the Multiple location concept for BuddyPress?
You must be logged in to reply to this topic.