Author Topic: When posting a new ad on Veronika  (Read 26588 times)

Abdisalam

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • iibgee.com: iibi, iibso badeecado & adeegyo | Somalia Classifieds
When posting a new ad on Veronika
« on: March 06, 2018, 07:58:59 AM »
I noticed that when people are posting a new ad on Veronica, when they type a country, region or city name, the system searches and they have to choose the right location; however, if they mistype it, nothing will show up. Some countries, regions or cities have many different ways of spelling. the system only shows the way the location name is in Veronika locations. Is it possible that the ad publishing form to stop searching from the Veronika location names, and accept the way the user types place names?



Marked as best answer by admin on March 11, 2018, 01:55:26 AM

Osclass Developer

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: When posting a new ad on Veronika
« Reply #1 on: March 06, 2018, 08:20:08 AM »
@Abdisalam

as per your query please use drop down option in veronika theme then your user will select particular country, region, city .

Quote
<input type="text" name="term" id="term" class="term" placeholder="<?php _e('Country, Region or City', 'veronika'); ?>" value="<?php echo veronika_get_term(veronika_get_session('term'), $prepare['i_country'], $prepare['i_region'], $prepare['i_city']); ?>" autocomplete="off"/>

in original theme Developer has use above code . but as per your query please use below code in item-post.php

For Region :
Quote
<?php ItemForm::region_select(osc_get_regions(), osc_user()) ; ?>

For City :
Quote
<?php ItemForm::city_select(osc_get_cities(osc_user_region()), osc_user()) ; ?>

For City Area :
Quote
<?php ItemForm::city_area_text($prepare); ?>

So please use these code then your user will be select city/regions/city area as per pre defined city/region name by Osclass .

I hope this post will be usefull for you.

Osclass Support Forums - Rackons.in

Re: When posting a new ad on Veronika
« Reply #1 on: March 06, 2018, 08:20:08 AM »

Abdisalam

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • iibgee.com: iibi, iibso badeecado &amp; adeegyo | Somalia Classifieds
Re: When posting a new ad on Veronika
« Reply #2 on: March 06, 2018, 02:12:43 PM »
Thank you so much, that was very helpful.

Osclass Support Forums - Rackons.in

Re: When posting a new ad on Veronika
« Reply #2 on: March 06, 2018, 02:12:43 PM »