This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

slicer

  • ****
  • 204 posts
Create-Edit items with Radius Search Plugin Stela
« on: January 18, 2018, 01:31:55 AM »
Hey guys, I found something that might be broken somehow.

Tested Stela 1.06 clean installation:
When you create or Edit an Ad with Stela+Radius Search Plugin the Location Field that automatically catch Country, City, Region and Address is bypassing some stuff when storring info.

Ex: after creating a new item and selecting your address on the map it brings the right address but after saving it only shows: Country/Adress portion of the item bypassing: Region/City and that leads to an empty location, so if you browse categories it it won't show up "location" on item list. the issue is also affecting DEMO site, you can see my screen here.



Also for what purpose is Radius Field in cat/search, because I set 1/KM  20/KM or any number but doesn't change or do anything on ads, they still show full world map.

Thanks, for your amazing support.


*

MB Themes

Re: Create-Edit items with Radius Search Plugin Stela
« Reply #1 on: January 18, 2018, 08:36:54 AM »
@slicer
You must investigate:
- when you selected location, was region & city shown correctly in location box? (you can check source code as well, inputs with name sRegion, sCity)
- does this city/region exists in your database?
 ::)
« Last Edit: January 18, 2018, 10:06:56 AM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Create-Edit items with Radius Search Plugin Stela
« Reply #2 on: January 18, 2018, 08:58:54 PM »
@slicer
You must investigate:
- when you selected location, was region & city shown correctly in location box? (you can check source code as well, inputs with name sRegion, sCity)
- does this city/region exists in your database?
 ::)

Yes Region and City are selected correctly in the location box
I found this on item-post.php:
Code: [Select]
<input type="hidden" name="countryId" class="sCountry" value="<?php echo $prepare['i_country']; ?>"/>
              <input type="hidden" name="regionId" class="sRegion" value="<?php echo $prepare['i_region']; ?>"/>
I found City and Region on DB but not sure if those are related, my skills are limited.


I found that issue while playing with ads, I fugured that Region/City didnt't show up on item's page and Category/Search as well, btw that screen is from your DEMO site, you can see your user's ads are not showing location as well.

Osclasspoint item's page example:



I tested on clean installation with Bender+Radius Search and it worked fine

Trying to reproduce the same with Stela even editing an existing ad caused Region and City to dissapear.


Another thing I'd like a dropdown box for Country/region/ City Instead of a field can you please my dear?

*

MB Themes

Re: Create-Edit items with Radius Search Plugin Stela
« Reply #3 on: January 18, 2018, 09:07:55 PM »
@slicer
If region or city does not exist in database (you have not it in oc-admin > settings > location), osclass will not pair it with anything... No match found == nothing saved.
Stela theme does not have dropdowns for location.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Create-Edit items with Radius Search Plugin Stela
« Reply #4 on: January 18, 2018, 09:51:54 PM »
@slicer
If region or city does not exist in database (you have not it in oc-admin > settings > location), osclass will not pair it with anything... No match found == nothing saved.
Stela theme does not have dropdowns for location.

Ohh I got what you mean,  ;D and YES I got different countries installed before trying, example: United States then creating an Ad using any city like Houston etc.., and remember the same test worked activating Bender+Radius Search

*

slicer

  • ****
  • 204 posts
Re: Create-Edit items with Radius Search Plugin Stela
« Reply #5 on: January 19, 2018, 03:32:03 PM »
I told you, you can check your own demo, and figure for your self whats going on.

For your reference, after disabling Radius Search Plugin, Stela saves and update location correctly, but once it is active stop saving region and city

*

MB Themes

Re: Create-Edit items with Radius Search Plugin Stela
« Reply #6 on: January 19, 2018, 03:36:46 PM »
Ok will check that
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Create-Edit items with Radius Search Plugin Stela
« Reply #7 on: January 19, 2018, 03:43:06 PM »
Ok I found issue, will update it in few days
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Create-Edit items with Radius Search Plugin Stela
« Reply #8 on: January 19, 2018, 04:44:44 PM »
Ok I found issue, will update it in few days

YAAAY ^_^ I love you man you  @#$@#$ rock! 8)

Marked as best answer by slicer on January 23, 2018, 03:42:30 PM
*

MB Themes

Re: Create-Edit items with Radius Search Plugin Stela
« Reply #9 on: January 22, 2018, 11:25:36 AM »
@slicer
please update theme & plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Create-Edit items with Radius Search Plugin Stela
« Reply #10 on: January 22, 2018, 03:40:50 PM »
Man I downloaded your latest Radius Plugin and it works perfect thanks so much for your support we love you for real!

*

MB Themes

Re: Create-Edit items with Radius Search Plugin Stela
« Reply #11 on: January 22, 2018, 03:42:50 PM »
@slicer
Welcome, but do not forget to update stela theme as well ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Create-Edit items with Radius Search Plugin Stela
« Reply #12 on: January 22, 2018, 03:50:44 PM »
@slicer
Welcome, but do not forget to update stela theme as well ;)

YESS OMW  ;D ;D ;D