All posts by sanljiljan

Google Maps Platfom images-01

IMPORTANT: Google Maps Changes!

Short info for you if you wish to use google maps:

In admin->settings->system settings (If you using WordPress then Admin->Listings->Settings) you need to enter your google maps api key and enable billing on Google Maps. If you will not do that then google maps and will stop working on June 11th and your website may become unusable (UPDATE: Google started with billing on 18.07.2018).

Now google created nice page to generate your owm maps api key: https://developers.google.com/maps/documentation/javascript/get-api-key

Old guide how to enter and get your own api key: http://iwinter.com.hr/support/?p=9658

For now Google will provide free 200 USD/months what should be enough for all our clients.

you need to enable this libraries for all features:

Screenshot_1

Short info for you if you want to use completely free (for now) openstreetmaps:

We working on implementation, in new script versions you will be able to find: admin->settings->system settings->Open street map checkbox like on screen:

Screenshot_1

Or in WordPress themes/plugins in Admin->Listings->Settings

Other details:

Today May 2, Google release troublesome news about Google Maps, please read this complete news because your website may stop working.

Beginning June 11th, Google launching new pricing plan what will impact all clients and cause google maps not working issue!

News: https://mapsplatform.googleblog.com/2018/05/introducing-google-maps-platform.html

Pricing: https://cloud.google.com/maps-platform/pricing/sheet/

What this means for us?

Until now we providing our api key by default on installation, but because many of website now using our api key we are not able to pay this by new google pricing so api key related will be disabled by google and you will need to enter your own api key.

We plan to implement alternative free maps support, still deciding about solution, probably will be openstreetmaps or similar. Problem is that we don’t have enough time to implement this on all our script and themes so your own api key is only solution for now.

 

 

How add or save listing property works?

This is only for very advanced developers who want to change some core features! Not for regular users!
If you need paid customization services please send request here:
You should understand codeigniter MVC:  https://codeigniter.com/userguide2/overview/mvc.html

Also check some articles in knowledge base like: http://iwinter.com.hr/support/?p=1288

So usually estate_m.php (method save) and controller estate.php method edit

Basic field details are defined in:

Screenshot_2

affected fields here:

Screenshot_3

Saving process:

Screenshot_1

 

 

Screenshot_1

Google Map Infowindow issue in May 2018

On 17.05.2018 Google released new experimental maps api again. without any notice and many websites have troubles after that update again.

Now you should change same as below, but with v=3.3

Google released new experimental maps api on 13.2.2018. without any notice and many websites have troubles after that update.

https://developers.google.com/maps/documentation/javascript/releases

Continue reading

SEO slugs in classified script

Extra SEO module  can replace:
http://website.com/property/31/en/property_title with:

http://website.com/my-custom-slug.htm

This module is very server configuration
sensitive so no guarantee that will work on all servers.
But it is tested on https://www.a2hosting.com/refer/59624 and there works fine.

Guide to configure:

In application\config\cms_config.php add this lines:
$config['slug_enabled'] = TRUE;
$config['alt_enabled'] = TRUE;

Regarding nice SEO slugs:
and in slug.php you should change:
$script_folder = '/property-point/';
to your folder or use  '/' if your website was in root folder

additionaly, use htaccess_examples/slug.htaccess, move to www directory and rename to .htaccess

and in .htaccess you should change:
RewriteBase /property-point
to your folder name or leave only '/' if your website was in root folder.
mod_rewrite should be enabled without limitations on server for this...

In application\config\config.php you should have defined:
$config['index_page'] = 'index.php';

 

MySQLi version mismatch

Example issue:

Message: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50550 Library:100029

Sounds like server issue. PHP and MySQL versions not compatible.

Try this solution: https://stackoverflow.com/questions/10759334/headers-and-client-library-minor-version-mismatch

If this is localhost try with:

For localhost, you can for example (Windows guide):
Install portable XAMPP Version 5.6.3
Create folder in (depends where you install xampp): C:\xampp\htdocs\mywebsite

Date Format / time zone

To change timezone:

Screenshot_1

list of supported: http://php.net/manual/en/timezones.php

Example for using custom date format on property.php template file:

<?php if(!empty($estate_data_option_37)): ?>
<p class="bottom-border">
<strong>Date:</strong>
<?php $date_variable = $estate_data_option_37; ?>
<?php echo date('j F Y', strtotime($date_variable)); ?>
</p>
<?php endif;?>

PHP documentation for date function: http://php.net/manual/en/function.date.php

37 is example field ID #, can be found in Admin->{listings}->fields