*

Vlad7

  • ****
  • 244 posts
Native location names not showing
« on: May 17, 2022, 08:23:16 AM »
hello, unfortunately the topic does not display native location names

*

Lopetoms

  • *****
  • 253 posts
  • HOla como estan
Re: Native location names not showing
« Reply #1 on: May 17, 2022, 12:28:45 PM »
It doesn't work for me either and I have the Streetmap plugin installed and configured with the IP https://prnt.sc/mU3gedoZkaY3
hostoki.com

*

MB Themes

Re: Native location names not showing
« Reply #2 on: May 17, 2022, 03:10:23 PM »
@Vlad7
Where? Your screenshot shows native names.

@Lopetoms
There is limit like 100-200 km from your position. Osclass must have coordinates in t_city table. Debug mode should be disabled for correct functionality.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Lopetoms

  • *****
  • 253 posts
  • HOla como estan
Re: Native location names not showing
« Reply #3 on: May 17, 2022, 05:35:21 PM »
@Vlad7
Where? Your screenshot shows native names.

@Lopetoms
There is limit like 100-200 km from your position. Osclass must have coordinates in t_city table. Debug mode should be disabled for correct functionality.
how do i disable it?because your demo works and the demo is in another location
hostoki.com

*

Vlad7

  • ****
  • 244 posts
Re: Native location names not showing
« Reply #4 on: May 17, 2022, 05:36:11 PM »
@Vlad7
Where? Your screenshot shows native names.

@Lopetoms
There is limit like 100-200 km from your position. Osclass must have coordinates in t_city table. Debug mode should be disabled for correct functionality.


No, it displays non-native location names. The site is in Ukrainian, and the locations are displayed in Russian!

*

MB Themes

Re: Native location names not showing
« Reply #5 on: May 18, 2022, 08:18:21 AM »
@Vlad7
Could not reproduce issue, locations are properly shown using native name.
Only when I was able to reproduce is, when location went to recent sooner than native name was defined. Then native name was not in cookies and could not be shown.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vlad7

  • ****
  • 244 posts
Re: Native location names not showing
« Reply #6 on: June 25, 2022, 10:53:42 AM »
Perhaps I did not correctly describe the essence of the problem. Native location names are not showing up only in the "Recent ads near you" section.

You can check this if you delete cookies
« Last Edit: June 25, 2022, 11:01:41 AM by Vlad7 »

*

MB Themes

Re: Native location names not showing
« Reply #7 on: June 30, 2022, 10:09:07 AM »
@Vlad7
Got it.
In functions.php search for:
Code: [Select]
$location_cookie['s_name']
Replace it with:
Code: [Select]
osc_location_native_name_selector($location_cookie, 's_name')
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vlad7

  • ****
  • 244 posts
Re: Native location names not showing
« Reply #8 on: July 01, 2022, 05:42:16 PM »
Thank you. in the main.php file similarly change

*

MB Themes

Re: Native location names not showing
« Reply #9 on: July 06, 2022, 09:38:45 AM »
Thank you. in the main.php file similarly change

Thanks ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots