Skip to:
Content
Pages
Categories
Search
Top
Bottom

custom xprofile field for users? How?

  • @jeduhu

    Participant

    To use The BuddyPress profile or members list maps you must have first set up a new custom xprofile field to ask users for a location.

    So I’m trying install maps. I went to the user > profile field > add new

    and I typed in Location. I don’t know what to do to make the user put in address and/or cross streets. Suggestions?

    Save.

    But after this step. I’m completely confused on what to look for. The plugin I am trying to use is google maps and or upm.

Viewing 8 replies - 1 through 8 (of 8 total)
  • @jeduhu

    Participant

    So first I tried pasting this ‘Short code” into the user profile > profile fields > locations and pasted into a text box.

    Fail. I’ll keep posting everything I tried. Till someone sees the error. I can’t find much documentation on how to do all of this so it’s trial and error.

    http://www.extrasnetwork.com/members/lahomedecor

    press profile.

    @jeduhu

    Participant

    This tutorial video helped in understanding short code:

    http://wp.tutsplus.com/tutorials/theme-development/wordpress-shortcodes-the-right-way/

    @jeduhu

    Participant

    I realized my php knowledge was lacking. I signed up with Lynda.com and did a 7 hour tutorial on how to customize via php. Unfortunately there is no tutorial on buddy press but I’m hoping the knowledge gained is transferable. I’ll keep updating till this problem is solved or I solve it. So if anyone needs this information it will be documented.

    @jeduhu

    Participant

    I forgot to mention, I also am doing a newer tutorial allowing Dreamweaver to be the customizing client for wordpress so I can build my buddypress ala dreamweaver. I’ll post my experience.

    @hnla

    Participant

    I don’t really understand what the issue is you are having. Having added an extended profile field for ‘location’ ( incidentily it’s coded so you can use whatever label you choose) your user then needs to add a valid address that google will be able to return a map on, how you get your users to do this is a matter you will need to think about. If a user does not enter an address then quite simply no map will display.

     

    Not sure why you are playing around with the shortcode provided ( you certainly do not paste a shortcode into a profile field box) this is provided, as is the function call, as a convenience, the shortcode allows you to embed a map in a page feeding  a location manually, the function is similar but allows you directly place the map where you want in say a template. These two functions do require some knowledge to use but do not really come into play if you simply want to render user profile maps in accounts or on members listing pages.

    I did provide fairly detailed set of examples and guide to using the plugin on the settings page

    @jeduhu

    Participant

    Hugo, thanks, that’s good info. Where I was having trouble was I had installed the plugin and added a user. Tested it by them adding a location i.e. home address, in the location field but nothing happened. I had thought there was some special code to embed it, hence why I was looking at short-codes.

    As to the address, Nearest cross streets would suffice rather than home address. My users only need their proximity. Having finished the worpress tutorials I learned some tricks and understand .php files etc. a bit better. Still need to figure this map thing out. 😉

    Your reply helped a lot!

    @jeduhu

    Participant

    “the plugin” = Google Maps, Google Maps all in One, BP Profile User Map

    @hnla

    Participant

    I certainly wouldn’t be vouching for successful map display if you are using three different plugins attempting to render maps – if that is what you mean by the above post –  I Wouldn’t  and didn’t test multiple plugins dealing with maps so clashes may be a real possibility.

     

    With maps you need to feed something to google geoloaction that it can make sense of,  I show some examples of simple addresses that ought to return a result.

     

    Bear in mind with my offering it is very much up to the user to set the address or state parts of an address, if you want to be specific give the user an example of the address format they should use via the xprofile field description.

     

    My offering   – in terms of geolocating – is very simplistic it was never intended to be clever, although in time revisions may be added to improve this aspect, but it’s a fair bit of work to do.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘custom xprofile field for users? How?’ is closed to new replies.
Skip to toolbar