*

kenoffice

  • **
  • 21 posts
[BUG] CITY cannot be choosen on user profile page.
« on: September 30, 2021, 10:10:07 AM »
Osclass 4.4.0, Gamma theme 1.5.0
On user account, when he complete his profile, there is something wrong. He can only choose the region but not the city/town. Even that he can specify city area, street, zip code, unfortunately the field for city is not displayed ! (on add lisiting page is ok, there when he choose region have an second column to choose city, I mean first time the user choose the region and after that have the possibility to choose city/town). In order not to make an mistake I have checked the demo of gamma theme too and there the situation is the same like in my installation.
Please tell me if there is an mistake on theme and if not, how we can make things to run normally (I mean the user to have the possibility to specify his region & city/town) on profile setup page ?
Attached there is pic#1: on add listing page, where can be seen that user have the possibility to choose region first and secondly the city; pic#2: on user profile page where can be seen that only region is available for user to specify. Screen captures are taken from demo page of theme.
There is no perfect classifieds script. I dream to make it.

*

MB Themes

Re: [BUG] CITY cannot be choosen on user profile page.
« Reply #1 on: October 03, 2021, 01:18:03 PM »
@kenoffice
In user account section, location box provides list of matching countries, regions and cities.
Enter location name into input and you will see all matching results.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kenoffice

  • **
  • 21 posts
Re: [BUG] CITY cannot be choosen on user profile page.
« Reply #2 on: October 04, 2021, 05:40:58 PM »
Ok, thank you. That I have missed and I think for users is an good ideea to put an tooltip/info box to inform them that: "By typing first letters of an city/town/village you will find it in droplist bellow; if using the mouse/finger you can only choose the region". In picture attached you can see the text, which I have added to my theme in user-profile.php

BUT what we will do when they are many towns/villages with the same name ? Please take a look at attached screen capture... there are more than 20 villages/towns with same name "Satu Nou". I can tell that situation is the same with names like "Munteni", "Valeni" and so on... If there will be an option to display also the region will be much better for the user.

The way how region/city is displayed to user when he add/modify an listing is much better. But here, in user account, will be nice to be the same, or atleast when extracting from database the list of cities and fill the ajax select box, to write the region in paranthesis after city name.

Just an suggestion  ;)
If you think is useful u can take into account for next updates; if not, anyway, I will try to modify the theme in such way to accomplish this.
There is no perfect classifieds script. I dream to make it.

*

kenoffice

  • **
  • 21 posts
Re: [BUG] CITY cannot be choosen on user profile page.
« Reply #3 on: October 04, 2021, 10:46:05 PM »
BTW: I have checked, AFTER I pressed submit to my previous post; there is some good thing, but only by half; in desktop/laptop mode, if the user keep mouse over an option will see displayed the name of the region, in tooltip. In my opinion, forcing the user to keep the mouse over every city/village listed, in order to see the tooltip with region name can be frustrating (atleast when he receive 10-15 cities with same name in dropdown list). On mobile phones there is no tooltip so user is lost, he need to choose from 10 cities with same name, without knowing from which region is that city :( I am thinking to export region name near to city/town/village name in dropdown list, this way will be much, much prettier and nice user experience - no more need of tooltip and moreover will be displayed on mobiles too.

Like:
Village (Region)

I have found footer.php, around line 300 the line called by ajax and which populate the dropdown list when user search for an city/village, and I modified:

FROM (original):
result += '<div class="option ' + data[key].type + selectedClass + '" data-country="' + country_code + '" data-region="' + region_id + '" data-city="' + city_id + '" data-code="' + data[key].type + id + '" id="' + id + '" title="' + nameTop + '"><strong>' + data[key].name + '</strong></div>';
TO:
result += '<div class="option ' + data[key].type + selectedClass + '" data-country="' + country_code + '" data-region="' + region_id + '" data-city="' + city_id + '" data-code="' + data[key].type + id + '" id="' + id + '" title="' + nameTop + '"><strong>' + data[key].name + ' (' + nameTop + ')' + '</strong></div>';

Now it looks like in picture attached, I hope can help others who face same issue (atleast users from my country)
There is no perfect classifieds script. I dream to make it.

*

MB Themes

Re: [BUG] CITY cannot be choosen on user profile page.
« Reply #4 on: October 05, 2021, 09:35:06 AM »
@kenoffice
Believe me or not, any, any solution created for location, you would still find amount of people complaining on such solution ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: [BUG] CITY cannot be choosen on user profile page.
« Reply #5 on: October 05, 2021, 07:02:38 PM »
I want that!
who helps me?

*

MB Themes

Re: [BUG] CITY cannot be choosen on user profile page.
« Reply #6 on: October 05, 2021, 09:53:17 PM »
 ::) :o
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots