Edit Block Controls Over Country, State, and City Fields
I would like to propose adding "edit block" controls for the Country, State, and City fields, allowing directory owners to choose which options best suit their environment.
Purpose of Edit Block Controls:
The goal of having control over these fields is to prevent users from adding their own versions of countries, states, or cities if a predefined list has already been provided. This helps maintain consistency and prevents database clutter.
Example of the Issue:
For instance, if I add all the states within the USA with their full names (e.g., "Ohio"), some users might still input the abbreviated form ("OH"). This results in duplicate entries for Ohio, with double the city names, which creates unnecessary mess in the database and search results.
Issue with SEO Agencies and Directory Software:
Another problem arises with SEO agencies using directory submission software to bypass the UI and add data directly to the database. I personally witnessed this when fixing my own database. The software often fills in the fields incorrectly, leading to hundreds of listings being posted with incorrect country-state-city associations.
For example, I found listings where a country name was incorrectly placed in the "State" field, creating invalid country-state combinations (e.g., a state field containing the name of a different country).
Suggested Solution:
To prevent these issues, I suggest adding controls that allow directory owners to block edits to the Country, State, and City fields from both the UI and the backend PHP code. This will help maintain a clean and structured database.
Benefits:
Cleaner Database: Keeps the data consistent and free from errors or duplicates.
Better Search Results: Structured and accurate data leads to more relevant search results.
Professional Appearance: New users setting up listings will see a more organized and trustworthy system, enhancing the directory’s credibility.
Log in to comment and vote
Comments2
Aaron B
Jul 31
Hi Fernando,
I have tested this new function in version 14.1, but I think there may be a misunderstanding regarding the intended functionality.
Instead of having a single checkbox to block all editing, I believe there should be three separate checkboxes:
Block Country editing
Block State editing
Block City editing
This would provide much better control and flexibility.
In my specific case, I need to lock the Country and State fields, while keeping the City field editable. Having separate controls would allow this type of configuration.
Thank you.
Kind regards,
Aaron
Fernando Nascimento
Jul 31
Thx for the follow up Aaron. We'll add this item back to the queue to review.