AyeCode / geodirectory

GeoDirectory is the leading Directory Plugin for WordPress. Compatible with Gutenberg and the most popular page builders such as Elementor, Oxygen, Beaver Builder and Divi. GeoDirectory is the only solution for WordPress that can scale to millions of listings and high traffic.
https://wpgeodirectory.com/
Other
41 stars 21 forks source link

Private advertiser option (custom field checkbox) #885

Closed pol76 closed 3 years ago

pol76 commented 5 years ago

Hi,

please add this option that was available in PHPmydirectory.

A checkbox custom fields "Is private advertiser" if checked, hide the physical address on listings and don't show marker in maps.

Visible here: https://www.buyusedguns.com.au/

Thank you!

alexrollin commented 5 years ago

To keep in mind, if possible, 'obscured address' to indicate an 'area' (not trying to 'fix' area search, just maps) https://github.com/AyeCode/geodirectory/issues/891

pol76 commented 3 years ago

@kiran @stiofan, this should be a really easy one to implement? Can we plan for it next?

kprajapatii commented 3 years ago

We can hide listing showing on map if ticked private via field, but for address need some more details. We shows address data like country, region, city, street in different ways like post meta, post badge with own widget etc. So to hide address only limited to full listing address or it applies to street, city, region and country as well?

@pol76

alexrollin commented 3 years ago

Thinking out loud here

Should the field be called "Private Location" - instead of "Private Listing"?

Members have also asked for something that will resemble allowing a user to change the status of a listing, like making it draft.

Wondering if that might be a 'Private Listing" where it doesn't event show in Loop/GD Listings.

Stiofan commented 3 years ago

I would think only the street and GPS info must be hidden.
For the map, what if we just center it on the city GPS info and add a big blue circle around that?

Or maybe we add a new select option in address called "location privacy" with options like

@alexrollin in regards to your comments:

  1. I'm on with that wording, makes more sense.
  2. Do you mean like a "mark as sold" thing?
  3. I think for removing from the loop that's a different thing and should only be under admin control like maybe a CPT setting such as "Show to only logged in" or "Show to only X_user_roll"
alexrollin commented 3 years ago

This is my take on private listings - https://github.com/AyeCode/geodirectory/issues/1787

alexrollin commented 3 years ago

Field Label: Location Visibility (Private Location, Location Privacy) Field Type: Select Field Description: Adjust the location visibility for your listing. Options:

pol76 commented 3 years ago

@stiofan, @kiran I provided the link to a website showing exactly what was requested. (no longer visible because they converted to GD already)

If the option to make the address private is ticked, the listing is not showing in maps and the address is obfuscated (no matter what it is used to output it)

We MUST stop turning simple things into complex things that we end up not developing (because we never come to an agreement) and add the simple requested option instead and quickly.

We always have the option to add more sophistication later.

Stiofan commented 3 years ago

moved to https://github.com/AyeCode/geodirectory/issues/1842