Forum: Sweet Date Theme Integration

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Sweet Date Theme Integration premium extension please open a new premium support ticket.

[Resolved]More privacy, less address details

Forums Sweet Date Theme Integration More privacy, less address details

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #34683
    omtr
    Member

    Hi Geomywp,

    is there any way to let members only enter loose information for their location?
    For example, let them only use a medium scale for google maps and let them just enter a city, not the exact address? I think most members of my dating community prefer not to enter their street and house number.
    of course i can modify your plugin code and maybe delete most of the address input fields, but this would collide with the plugin update function.
    is there a better way to do this?

    thanks a lot for your help!
    timo from germany

    #34693

    Hi Timo,
    The easiest way to do so will be to hide the address fields that you do not need with CSS display:none.

    #34692
    omtr
    Member

    Hi Eyal,
    thanks for your reply. Your xProfiles Addon seems to do what i was looking for. We can use the multiple address field option and just leave street address, apartment and so forth unassigned.

    #34691
    cybercli
    Member

    I have tried to make default visibility of the address field to “only me” but it is still visible to public. Any suggestions?

    #34690
    cybercli
    Member

    Can you give an example of the css needed to hide the street address field and which file to modify? I need to restrict members location info to just zip, city and country.

    Thanks,
    David

    #34689

    HI David,
    Do you want to hide the Street field of the Location form that in the Location tab?

    #34688
    cybercli
    Member

    Eyal,

    I would like to prevent people from entering their street address during registration and editing profile, even though I have clear instructions in the placeholder text for the Location field. I do not wish to change anything on the Location Tab.

    Thanks,
    David

    #34687

    I don’t see a way of doing that for the main reason that there is no way to know what part of the string ( address ) is the street and if it exists at all.

    However, even thought you cannot control the input you can still control the output. Since GEO my WP database table hold the different address components you can output which ever fields you want. So no matter if the member enters his exact location with street and so on you can choose to display only city, zipcode, country and so on.

    So for example, instead of displaying the full address in the location tab above the map ( when viewing the profile of another member ) you can display only the fields that you want.

    You can do so using a filter that GEO my WP provided. The script below will modify the address of the location tab and will display only the city, zipcode and country. The only thing you need to do is copy paste the script into the functions.php file of your theme.

    you can change the address field using the address_field shotcode arg.

    I hope that could help.

    #34686
    cybercli
    Member

    That worked beautifully!
    Thank you.

    David

    #34685

    You are welcome!

    #34684
    cybercli
    Member
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.